Re: [PATCH V2 2/3] add set_tdm_slot in tdm dai to define the relationship between audio channel and tdm slot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 13, 2009 at 12:25:11PM +0800, Barry Song wrote:

> For ad1938, the audio channel n just uses slot n, but for ad1836, it's
> different, channel 0 uses slot 0, channel 1 uses slot 4, channels 2 uses
> slot1, ... So add set_tdm_slot entry and use the mask field to define
> the relationship between audio channel and slot number.

I think what you're trying to describe here is that the device is
expecting to see all the left channels on the bus followed by all the
right channels?  This is the normal case for I2S TDM so no unusual
configuration is required in order to implement it.

I really don't think we should have Blackfin implementing a different
API here - it makes the TDM slot API much harder to use.  Instead we
should have a consistent API between all devices.  This may mean that we
need to extend the APIs here.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux