25 Nov
2009
25 Nov
'09
12:21 p.m.
On Tue, Nov 24, 2009 at 10:37:41AM -0600, Miguel Aguilar wrote:
- How is the proper way to register both codecs in the same kernel?
At the minute you can't really. However, if the CODEC for the voice interface is mostly empty (which I seem to recall was the case?) then you can skip registering the CODEC and only register the DAI.
- If I have registered in the same kernel, How I can choose the codec
that will be used in the alsamixer menu?
The application layer will do this based on which DAI it chooses to play audio down - each will appear separately to them, as you're doing below.
The DMA logic works fine as you see in the examples above. However, only the AIC works recording/playback, the voice codec doesn't work. If I switch the default codec to Voice Codec it works.
Initially I'd suggest testing with hw rather than plughw to make sure the test is isolated to the drivers.