Skip to contentSkip to conversation

DMAsound 2.4.0-tx => 2.2.17 back-port.

RFC Iain Sandoe 3 participants 3 messages Aug 24, 2000

lore
Share & tools
lore
#0 lore raw

Hi Henry,

Quoted 5 lines

However, on the Pismo it looks like that in additional to the LE modes not being set, as previously discussed, the 8bit mode and rate parms are also not getting set in the Screamer. The RAW_AFMT_S8_S_44K sample sounds like Alvin and the Chipmonks and the lower rate samples are just high-speed jibberish. Here's the stest ouput for a couple:

The rate, mode and so is all done in software by the dmasound driver. The only hardware assists are: different sample rates (where supported) and LE/BE swapping.

Oops, my stest instructions were not good enough - you need to tell stest what the format of the file is: **It does not look at *any* header information**

./stest with no params will give you all the options.

Quoted 1 line

[henry@osprey stest]$ ./stest -f AFMT_S16_LE_S_44K.wav

./stest -b16 -s -B -r 44100 -f AFMT_S16_LE_S_44K.wav

(IIRC) would be right here...

and so on...

Sorry, I'll update the web page to point this out.

ciao,
Iain

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 16 lines · Iain Sandoe

Hi Henry,

Quoted 5 lines

However, on the Pismo it looks like that in additional to the LE modes not being set, as previously discussed, the 8bit mode and rate parms are also not getting set in the Screamer. The RAW_AFMT_S8_S_44K sample sounds like Alvin and the Chipmonks and the lower rate samples are just high-speed jibberish. Here's the stest ouput for a couple:

The rate, mode and so is all done in software by the dmasound driver. The only hardware assists are: different sample rates (where supported) and LE/BE swapping.

Oops, my stest instructions were not good enough - you need to tell stest what the format of the file is: **It does not look at *any* header information**

Quoted 6 lines

./stest with no params will give you all the options.

Quoted 1 line

[henry@osprey stest]$ ./stest -f AFMT_S16_LE_S_44K.wav

./stest -b16 -s -B -r 44100 -f AFMT_S16_LE_S_44K.wav

^ shouldn't that be -L?

Quoted 10 lines

(IIRC) would be right here...

and so on...

Sorry, I'll update the web page to point this out.

ciao,
Iain

Opps, yes that fixes the problem, except for the LE case. BTW, I couldn't find the awacs stuff in my last darwin xnu download, has it moved out of the xnu projects, or did I just get lost?

Thanks,
Henry

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 4 lines

Opps, yes that fixes the problem, except for the LE case. BTW, I couldn't find the awacs stuff in my last darwin xnu download, has it moved out of the xnu projects, or did I just get lost?

It's now a loadable kernel module, you can find it in the IO branch of the CVS instead of System

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/