[alsa-devel] [PATCH] asoc: add dummy codec

Gabriel M. Beddingfield gabrbedd at gmail.com
Fri Apr 12 04:50:18 CEST 2013


On 04/11/2013 08:48 AM, Gabriel M. Beddingfield wrote:
>> The attached patch adds a playback stream for the dummy
>> codec. Would it be possible to apply this?
>
> No... not like that.

I was wrong.  Sorry.

That patch is on the right track.  As Lars said, it needs a Capture DAI, 
too.  Might also consider adding more audio formats.

> Instead, wouldn't it be better to extend it by defining some platform data?
 > Maybe something like:

I still think that making this extensible is a good idea (platform 
data), but fall back on a very permissive default DAI (like in your patch).

-gabriel



More information about the Alsa-devel mailing list