[alsa-devel] [PATCH 2/2] ASoC: sti: correction for HBRA support
Mark Brown
broonie at kernel.org
Mon Nov 30 17:30:57 CET 2015
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20151130/53008e99/attachment.sig>
More information about the Alsa-devel
mailing list