0
0

Hi, i’ve the problem that i’ve lot’s of playback errors when using the FMOD_Stream… functions when playing from a CD.. I’ve written a small program that is based on the ‘cdda’ sample. When playing with the original ‘cdda’ program the same happens. BUT when playing with g.e. ‘Musicmatch Jukebox’ everything is perfect. It seems to me that Musicmatch has some kind of error correction.
Question: Does FMOD have any error correction when playing from CD?
If so, how can i activate? If not, does anybody know a good way to to this?

Thank’s in advance. Lothar

  • You must to post comments
0
0

There are different modes for cdda, e.g. Burstmode / Sectorsync.
A good CD drives works with any perfect

I don’t know which way fmod works, i just know it’s not quite as fast as cdda extracting programs (e.g. playback stutters on my dvd drive which supports 8x cdda extraction)

  • You must to post comments
0
0

FMOD does jitter correction by default but, unfortunately, different drives can behave very differently. What OS and machine specs are you running? What CD drive do you have? In the FMOD media player, can you hit the “Options” button and then the “Device info…” button and tell me what it reports?

Cheers,

  • You must to post comments
0
0

Andrew, here’s the requested information
Machine: Dell Inspiron 8500 with 2,4 GHZ, 1GB Mem
OS: Windows XP with SP1 and some security patches
Device-Info: NTSCSI, _NEC DVD+RW ND-5100A 10AC

Thanks for your effort.

  • You must to post comments
0
0

Thanks for the info. Can you do me a favour and grab this program :

http://52.88.2.202/files/cddatest.zip

It just tries to do some tests using CDDA. Could you run it and send me the fmodcdda.log file that it creates? It might give me an idea why CDDA is stuttering on your machine.

Cheers,

  • You must to post comments
0
0

Hi Andrew,

thank’s a lot for your effort. Here’s the produced fmodcdda.log file.
As we all know, when sitting by the doctor, your headache has gone
away, which means that the short sample played without any stuttering.
Hope this helps.

Kind regards
Lothar.

=======================================
FMOD Version: 3.72
OS Version: 5.1 Build 2600 Service Pack 1
Finding devices:
C:\ = DRIVE_FIXED
D:\ = DRIVE_CDROM
E:\ = DRIVE_NO_ROOT_DIR
F:\ = DRIVE_NO_ROOT_DIR
G:\ = DRIVE_NO_ROOT_DIR
H:\ = DRIVE_NO_ROOT_DIR
I:\ = DRIVE_NO_ROOT_DIR
J:\ = DRIVE_NO_ROOT_DIR
K:\ = DRIVE_NO_ROOT_DIR
L:\ = DRIVE_NO_ROOT_DIR
M:\ = DRIVE_NO_ROOT_DIR
N:\ = DRIVE_NO_ROOT_DIR
O:\ = DRIVE_NO_ROOT_DIR
P:\ = DRIVE_NO_ROOT_DIR
Q:\ = DRIVE_NO_ROOT_DIR
R:\ = DRIVE_NO_ROOT_DIR
S:\ = DRIVE_NO_ROOT_DIR
T:\ = DRIVE_NO_ROOT_DIR
U:\ = DRIVE_NO_ROOT_DIR
V:\ = DRIVE_NO_ROOT_DIR
W:\ = DRIVE_NO_ROOT_DIR
X:\ = DRIVE_NO_ROOT_DIR
Y:\ = DRIVE_REMOTE
Z:\ = DRIVE_NO_ROOT_DIR
Using NTSCSI
01:00:00 = DTYPE_CDROM0
= d:
Opened d:*?!
5
5
1
8
Track 1. 0x00000000 3:44 (0)
Track 2. 0x000041e1 3:45 (0)
Track 3. 0x000083dd 3:25 (0)
Track 4. 0x0000bffe 4:3 (0)
Track 5. 0x0001074a 4:34 (0)
Track 6. 0x000157d6 5:2 (0)
Track 7. 0x0001b058 4:29 (0)
Track 8. 0x0001ff4a 3:27 (0)
Track 9. 0x00023bf1 4:16 (0)
Track 10. 0x000286fb 5:22 (0)
Track 11. 0x0002e556 4:33 (0)
Track 12. 0x00033595 3:49 (0)
Track 13. 0x000378d1 9:54 (0)
Track 170. 0x0004d129 7:10 (0)
FSOUND_CDDASTREAM_Open ok

====================================================

FMOD CD Device Info

FMOD Version: 3.72

Using: NTSCSI

OS Version: 5.1 Build 2600 Service Pack 1

====================================================

INQUIRY data

Vendor ID: _NEC

Product ID: DVD+RW ND-5100A

Product revision: 10AC

Device type: CD-ROM device

Device qualifier: Connected

Device type modifier: 0

Removable medium: YES

ANSI version: 0

ECMA version: 0

ISO version: 0

Response data format: SCSI-2

TERMINATE I/O PROCESS support: NO

Async event notify support: NO

Additional length: 91

Soft reset: NO

Command queue support: NO

Linked command support: NO

Synchronous transfer support: NO

16bit data transfer support: NO

32bit data transfer support: NO

Relative addressing support: NO

====================================================

Feature list

FEATURE: Profile list

Code: 0x0000

Current: YES

Persistent: YES

Version: 0

Profile 0x001b : Unknown

Profile 0x001a : Unknown

Profile 0x0010 : Read-only DVD

Profile 0x000a : Re-writable CD

Profile 0x0009 : Write-once CD

Profile 0x0008 : Read-only CD (CURRENT)

FEATURE: Core

Code: 0x0001

Current: YES

Persistent: YES

Version: 0

Physical interface standard: ATAPI

FEATURE: Morphing

Code: 0x0002

Current: YES

Persistent: YES

Version: 0

Async: NO

FEATURE: Removable medium

Code: 0x0003

Current: YES

Persistent: YES

Version: 0

Lock: YES

Prevent jumper: NO

Eject: YES

Loading mechanism: Tray

FEATURE: Random readable

Code: 0x0010

Current: YES

Persistent: NO

Version: 0

Logical block size: 2048

Blocking: 1

Page present: YES

FEATURE: Multi read

Code: 0x001d

Current: YES

Persistent: NO

Version: 0

FEATURE: CD read

Code: 0x001e

Current: YES

Persistent: NO

Version: 1

CD-Text support: YES

C2 Error Pointer support: YES

FEATURE: DVD read

Code: 0x001f

Current: NO

Persistent: NO

Version: 0

FEATURE: Random writable

Code: 0x0020

Current: NO

Persistent: NO

Version: 1

Last LBA address: 0

Logical block size: 2048

Blocking: 0

Page present: YES

FEATURE: Incremental streaming writable

Code: 0x0021

Current: NO

Persistent: NO

Version: 1

Data type supported: 0x3f09

FEATURE: Formattable

Code: 0x0023

Current: NO

Persistent: NO

Version: 0

FEATURE: Restricted overwrite

Code: 0x0026

Current: NO

Persistent: NO

Version: 0

FEATURE: CD Track at Once

Code: 0x002d

Current: NO

Persistent: NO

Version: 2

R-W subcode: YES

CD RW: YES

Test write: YES

Data type supported: 0x0000

FEATURE: CD mastering

Code: 0x002e

Current: NO

Persistent: NO

Version: 1

R-W subcode: YES

CD RW: YES

Test write: YES

RAW: YES

RAW Multisession: YES

Session at Once: YES

Max cuesheet length: 3056

FEATURE: Power management

Code: 0x0100

Current: YES

Persistent: YES

Version: 0

FEATURE: CD audio external play

Code: 0x0103

Current: YES

Persistent: NO

Version: 0

Seperate volume per channel: YES

Seperate channel mute: YES

SCAN support: YES

Volume levels: 256

Volume levels: 0

Volume levels: 0

Volume levels: 0

Volume levels: 0

Volume levels: 0

Volume levels: 0

Volume levels: 0

Volume levels: 0

FEATURE: Timeout

Code: 0x0105

Current: YES

Persistent: YES

Version: 0

FEATURE: DVD-CSS

Code: 0x0106

Current: NO

Persistent: NO

Version: 0

CSS version: 1

FEATURE: Realtime streaming

Code: 0x0107

Current: YES

Persistent: NO

Version: 3

FEATURE: Logical unit serial number

Code: 0x0108

Current: YES

Persistent: YES

Version: 0

Serial number: 38T1309C111

FEATURE: Disc control blocks

Code: 0x010a

Current: NO

Persistent: NO

Version: 0

DCB entry: 0x46444300

DCB entry: 0x57444300

DCB entry: 0x53444300

DCB entry: 0x544f4300

DCB entry: 0x00000000

DCB entry: 0x00000000

DCB entry: 0x00000000

DCB entry: 0x00000000

DCB entry: 0x00000000

DCB entry: 0x00000000

DCB entry: 0x00000000

DCB entry: 0x00000000

DCB entry: 0x00000000

DCB entry: 0x00000000

DCB entry: 0x00000000

DCB entry: 0x00000000

====================================================

Mode pages

MODE PAGE: CD capabilities and mechanism status page (0x2a)

CD-ROM read: YES

CD-RW read: YES

Method 2 support: YES

DVD-ROM read: YES

DVD-R read: YES

DVD-RAM read: NO

CD-ROM write: YES

CD-RW write: YES

Test write: YES

DVD-R write: NO

DVD-RAM write: NO

Audio play: YES

Composite: NO

Digital port 1: NO

Digital port 2: NO

Mode 2 form 1: YES

Mode 2 form 2: YES

Multi session: YES

Buffer-underrun free recording: YES

CDDA support: YES

CDDA accurate: YES

Read R-W subchannel: YES

R-W deinterleaved/corrected: NO

C2 Error Pointers: YES

ISRC: YES

UPC: YES

Read barcode: NO

Lock support: YES

Lock state: NO

Prevent Jumper: NO

Eject: YES

Loading mechanism: Tray

Seperate volume per channel: YES

Seperate channel mute: YES

Disc present reporting: NO

Software slot selection: NO

Side change capable: NO

R-W in leadin: YES

Max read speed: 4234

Number of volume levels: 256

Buffer size: 2048

Current read speed: 706

BCK: 0

RCK: 0

LSBF: 0

Word length: 0

Max write speed: 2822

Current write speed: 2822

Copy management revision: 0x0001

MODE PAGE: Read/write error recovery page (0x01)

Error recovery param: 0x80

DCR:  0

DTE:  0

PER:  0

RC:   0

TB:   0

ARRE: 0

AWRE: 1

Read retry count: 15

Write retry count: 0

Recovery time limit: 0

MODE PAGE: CD parameters page (0x0d)

Inactivity multiplier: 9

MSF S per M: 60

MSF F per S: 75

MODE PAGE: CD audio control page (0x0e)

Stop on track crossing: NO

Immediate: YES

CDDA output port 0 channels: 0x01

CDDA output port 0 volume: 0xff

CDDA output port 1 channels: 0x02

CDDA output port 1 volume: 0xff

CDDA output port 2 channels: 0x00

CDDA output port 2 volume: 0x00

CDDA output port 3 channels: 0x00

CDDA output port 3 volume: 0x00

MODE PAGE: Power condition page (0x1a)

Standby: YES

Idle: YES

Idle timer: 200

Standby timer: 320

MODE PAGE: Timeout and protect page (0x1d)

SW write protect: NO

Disp: NO

Timeout enable: NO

Group 1 min timeout: 60

Group 2 min timeout: 60

Stream buffer size set to 2000ms
Testing with jitter correction ON
Opened d:
4
18
1
8
Track 1. 0x00000000 3:44 (0)
Track 2. 0x000041e1 3:45 (0)
Track 3. 0x000083dd 3:25 (0)
Track 4. 0x0000bffe 4:3 (0)
Track 5. 0x0001074a 4:34 (0)
Track 6. 0x000157d6 5:2 (0)
Track 7. 0x0001b058 4:29 (0)
Track 8. 0x0001ff4a 3:27 (0)
Track 9. 0x00023bf1 4:16 (0)
Track 10. 0x000286fb 5:22 (0)
Track 11. 0x0002e556 4:33 (0)
Track 12. 0x00033595 3:49 (0)
Track 13. 0x000378d1 9:54 (0)
Track 170. 0x0004d129 7:10 (0)
1
88
2
2
2
3
2
2
3
3
3
3
3
3
3
3
3
3
3
2
2
2
2
2
2
2
2
2
2
2
2
2
3
2
2
3
3
3
3
3
2
3
3
3
3
2
FSOUND_CDDASTREAM_Open ok
0
26
25
194
172
172
171
171
161
271
172
171
171
171
171
162
172
172
172
172
171
172
162
171
171
172
172
172
157
138
171
172
172
139
171
184
172
172
172
172
172
172
189
172
172
172
205
140
172
186
205
172
172
171
186
159
160
172
172
172
172
139
195
172
139
172
172
139
172
162
172
172
172
172
172
172
1
Testing with jitter correction OFF
Opened d:*j
4
5
0
8
Track 1. 0x00000000 3:44 (0)
Track 2. 0x000041e1 3:45 (0)
Track 3. 0x000083dd 3:25 (0)
Track 4. 0x0000bffe 4:3 (0)
Track 5. 0x0001074a 4:34 (0)
Track 6. 0x000157d6 5:2 (0)
Track 7. 0x0001b058 4:29 (0)
Track 8. 0x0001ff4a 3:27 (0)
Track 9. 0x00023bf1 4:16 (0)
Track 10. 0x000286fb 5:22 (0)
Track 11. 0x0002e556 4:33 (0)
Track 12. 0x00033595 3:49 (0)
Track 13. 0x000378d1 9:54 (0)
Track 170. 0x0004d129 7:10 (0)
1
FSOUND_CDDASTREAM_Open ok
0
208
87
86
86
86
86
74
86
87
86
86
86
23
23
23
23
23
25
26
26
26
26
25
25
25
26
25
25
25
25
25
25
26
26
26
25
25
25
26
26
25
25
25
26
25
88
92
25
25
25
25
25
26
25
25
26
26
26
26
25
25
25
26
26
0

  • You must to post comments
0
0

Cool, thanks for that. Here’s two suggestions for getting CDDA to run better :

  1. Increase the stream buffer size to 1000 or more using FSOUND_Stream_SetBufferSize.

  2. Turn jitter correction off. This can make a [b:1owirpnu]big[/b:1owirpnu] difference and a lot of drives don’t need it.

Cheers,

  • You must to post comments
0
0

Andrew, thank’s a lot for your work.
Increasing the buffer size to 1000 has solved this problem.
I’ve used the default settings as described in the API-Documentation.
Maybe it makes sense to increase that value by default. (At least less support work you).

Kind regards.

  • You must to post comments
Showing 7 results
Your Answer

Please first to submit.