Re: [PATCH 2/2] ASoC: sti: correction for HBRA support

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

 



On Tue, Nov 24, 2015 at 02:16:36PM +0100, Moise Gergaud wrote:
> Detect HBRA based on rate and channels used in the pcm session
> In case of HBRA:
>   - CH_STS repeat is disabled
>   - channel status sampling freq is not set if already set (because it can
>     be a multiple of the runtime rate)

You might want to expand HBRA...

>  		switch (runtime->rate) {
>  		case 22050:
> -			player->stream_settings.iec958.status[3] =
> -						IEC958_AES3_CON_FS_22050;
> +			*aes3 |= IEC958_AES3_CON_FS_22050;
>  			break;

This feels like someting we could have as a generic function for other
drivers to use - can you add a core function and then call it from your
driver please?

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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