Re: [PATCH] ASoC: Automatically set TDM if needed on pxa-ssp and allow frame width override when using TDM.

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

 



Em Qua, 2009-06-10 às 14:05 +0200, pHilipp Zabel escreveu:
> Hmm right, the real frame width is DataSize * slots. So maybe
>        /* set data size */
>        data_size = frame_width/slots;
>        if (data_size > 16)
>                sscr0 |= SSCR0_EDSS | SSCR0_DataSize(data_size - 16);
>        else
>                sscr0 |= SSCR0_DataSize(data_size);
> would be more appropriate. Or have that parameter be sample_width
> instead, as Mark initially proposed.

Ack.

Naming it frame_width was not a good idea. Im using frame_width for the
distance between each SFRM assertion when not networked and for the
duration of each slot when networked. I will name it slot_width instead.

-- 
Daniel Ribeiro

Attachment: signature.asc
Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem assinada digitalmente

_______________________________________________
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