Hi, it's me again. At Wed, 08 Jan 2003 14:00:03 +0100, I wrote: > > > And guess what, bingo, I got PCM sound ! But an horrible sound, very > > distorted, so something is still working badly. This > > was just after removing the 0.5 driver and installing the modified 0.9 one. > > After rebooting the machine with the 0.9 running, no more sound! > > ok, it explains the hardware init problem. > i'll check the difference between 0.5 and 0.9.
please try the attached patch. it will add the SB mixers (all new ones starting "SB xxx" except for tone controls) and initializes the SB-mixer reg bit (as default). the first step is to check whether and which SB mixer has influence to what output/input. there are also CMI8330-native controls, namely the controls without "SB" prefix. whether these controls affect the playback. the SB mixers can be disabled (removed) by commenting out ENABLE_SB_MIXER definition in the source. the next step is to switch playback and capture by commenting out the definition PLAYBACK_ON_SB at the beginning of the code. then the playback will be done through AD1848 and capture will be on SB16. check again which mixer elements work for what. ciao, Takashi
cmi8330-test.dif
Description: Binary data