30 Nov
2015
30 Nov
'15
5:30 p.m.
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?