At Sat, 01 Nov 2008 11:08:38 +1300, Eliot Blennerhassett wrote:
Thanks Takashi,
The multi streams (not multi channels) aren't supported yet for Realtek codec support codes. So it won't work as is. It's on my TODO list.
I'm certainly prepared to help with coding or testing (as a personal project - no coding style arguments in this case ;)
OK, I'll ask you testing if I change the code for this purpose.
A basic framework was already prepared. spec->stream_analog_alt_playback can store the stream setup. But it's not used yet in the codec setup code.
Is there much missing before it can be used?
The PCM (hd-audio) callbacks have to be created. To co-exist with the multi-channel setup, we'd need a sort of dynamic channel assignment, and this also requires some mutex. It wouldn't be that hard, though.
BTW do you have any idea about all the vendor-defined NIDs that aren't described in the datasheet? 0x[04,05,09,0a,0b,0c,0d,11,17,1b,1f,20,21,22]
Most of them are for compatibility with other Realtek codecs, I guess, so that the standard pins and audio widgets are assigned to the same numbers.
thanks,
Takashi