0
0

I have put some trace statements to watch the values passed to our file callbacks as mp3 files are played. Using the same input data, the values passed are somewhat different between NT and CE, though you can see that it eventually “figures out” the same file offsets. Under NT, it looks like codeca.acm is being loaded, suggesting that acm is being used for the decoding.

Is it possible, with some initilization, to make NT behave identically to CE? Or failing this, to have NT use the same internal decoder for mp3 as opposed to acm? This would help us track down some audio differences we are seeing between the two systems.

For reference, traces for both on some sample data is below.

Ken

CE version:

FS_OpenCallback name=101a94e8 return=101a94e8
FS_SeekCallback handle=101a94e8 pos=0 mode=0 return=0
FS_ReadCallback handle=101a94e8, size=12 return=12
FS_SeekCallback handle=101a94e8 pos=12 mode=0 return=0
FS_ReadCallback handle=101a94e8, size=8 return=8
FS_ReadCallback handle=101a94e8, size=30 return=30
FS_SeekCallback handle=101a94e8 pos=50 mode=0 return=0
FS_ReadCallback handle=101a94e8, size=8 return=8
FS_ReadCallback handle=101a94e8, size=4 return=4
FS_SeekCallback handle=101a94e8 pos=62 mode=0 return=0
FS_ReadCallback handle=101a94e8, size=8 return=8
FS_TellCallback handle=101a94e8 return = 70
FS_SeekCallback handle=101a94e8 pos=10504 mode=1 return=0
FS_SeekCallback handle=101a94e8 pos=0 mode=0 return=0
FS_ReadCallback handle=101a94e8, size=4 return=4
FS_SeekCallback handle=101a94e8 pos=0 mode=0 return=0
FS_ReadCallback handle=101a94e8, size=12 return=12
FS_SeekCallback handle=101a94e8 pos=12 mode=0 return=0
FS_ReadCallback handle=101a94e8, size=8 return=8
FS_SeekCallback handle=101a94e8 pos=30 mode=1 return=0
FS_SeekCallback handle=101a94e8 pos=50 mode=0 return=0
FS_ReadCallback handle=101a94e8, size=8 return=8
FS_ReadCallback handle=101a94e8, size=4 return=4
FS_SeekCallback handle=101a94e8 pos=62 mode=0 return=0
FS_ReadCallback handle=101a94e8, size=8 return=8
FS_TellCallback handle=101a94e8 return = 70
FS_SeekCallback handle=101a94e8 pos=10504 mode=1 return=0
FS_SeekCallback handle=101a94e8 pos=70 mode=0 return=0
FS_ReadCallback handle=101a94e8, size=4 return=4
FS_SeekCallback handle=101a94e8 pos=100 mode=1 return=0
FS_ReadCallback handle=101a94e8, size=4 return=4
FS_SeekCallback handle=101a94e8 pos=70 mode=0 return=0
FS_ReadCallback handle=101a94e8, size=104 return=104
FS_SeekCallback handle=101a94e8 pos=140 mode=0 return=0
FS_ReadCallback handle=101a94e8, size=25000 return=10434
playing channel 12288
FS_ReadCallback handle=101a94e8, size=24896 return=0
FSEndCallback stream=23dca8 buff=0, len=0, param=101a9464 return = 0
DoFSEndCallback()

NT version:

FS_OpenCallback name=12b190 return=12b190
FS_SeekCallback handle=12b190 pos=0 mode=2 return=0
FS_TellCallback handle=12b190 return = 10574
FS_SeekCallback handle=12b190 pos=0 mode=0 return=0
FS_SeekCallback handle=12b190 pos=0 mode=1 return=0
FS_ReadCallback handle=12b190, size=8500 return=8500
FS_SeekCallback handle=12b190 pos=0 mode=0 return=0
FS_ReadCallback handle=12b190, size=12 return=12
FS_SeekCallback handle=12b190 pos=12 mode=0 return=0
FS_ReadCallback handle=12b190, size=8 return=8
FS_ReadCallback handle=12b190, size=30 return=30
FS_SeekCallback handle=12b190 pos=50 mode=0 return=0
FS_ReadCallback handle=12b190, size=8 return=8
FS_ReadCallback handle=12b190, size=4 return=4
FS_SeekCallback handle=12b190 pos=62 mode=0 return=0
FS_ReadCallback handle=12b190, size=8 return=8
FS_TellCallback handle=12b190 return = 70
FS_SeekCallback handle=12b190 pos=10504 mode=1 return=0
Loaded ‘C:WINNT5system32l3codeca.acm’, no matching symbolic information found.
FS_SeekCallback handle=12b190 pos=140 mode=0 return=0
FS_TellCallback handle=12b190 return = 140
FS_ReadCallback handle=12b190, size=2048 return=2048
playing channel 8192
FS_TellCallback handle=12b190 return = 2188
FS_ReadCallback handle=12b190, size=2048 return=2048
FS_TellCallback handle=12b190 return = 4236
FS_ReadCallback handle=12b190, size=2048 return=2048
FS_TellCallback handle=12b190 return = 6284
FS_ReadCallback handle=12b190, size=2048 return=2048
FS_TellCallback handle=12b190 return = 8332
FS_ReadCallback handle=12b190, size=2048 return=2048
FS_TellCallback handle=12b190 return = 10380
FS_TellCallback handle=12b190 return = 10380
FS_ReadCallback handle=12b190, size=194 return=194
FS_TellCallback handle=12b190 return = 10574
FS_TellCallback handle=12b190 return = 10574
FS_ReadCallback handle=12b190, size=0 return=0
FSEndCallback stream=9fd2a8 buff=0, len=0, param=12b120 return = 0
DoFSEndCallback()

  • You must to post comments
0
0

If it is not using acm, why is ‘C:WINNT5system32l3codeca.acm’ being loaded? See the NT log above.

We have a sample that plays with a lot of distortion under CE, but not NT. We have pretty much eliminated our audio driver as suspect, but wanted to use the same decoder to be sure. We’ll send you the sample to play with later today or tomorrow.

Ken

  • You must to post comments
0
0

Sorry, missed the “unless it is a .wav file” clause. It is. Its a mp3 encoded .wav file.

Ken

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.