On 11/30/2015 05:30 PM, Mark Brown wrote:
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...
you mean in term of frequency?
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?
yes, I will add something like snd_pcm_update_iec958_consumer to update
fs and ws.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel