mirror of
https://gitee.com/openharmony/third_party_alsa-utils
synced 2024-11-27 09:01:36 +00:00
Fix 32kHz sample rates
Fixed typos in check of sample rates. Now 32k is handled correctly. Signed-off-by: Markus Bollinger <bollinger@digigram.com>
This commit is contained in:
parent
0cfa228fdd
commit
143676f7b6
@ -187,7 +187,7 @@ static int update_iec958_status(snd_aes_iec958_t *iec958, int *parms)
|
||||
case 48000:
|
||||
iec958->status[0] |= IEC958_AES0_PRO_FS_48000;
|
||||
break;
|
||||
case 3200:
|
||||
case 32000:
|
||||
iec958->status[0] |= IEC958_AES0_PRO_FS_32000;
|
||||
break;
|
||||
}
|
||||
@ -200,7 +200,7 @@ static int update_iec958_status(snd_aes_iec958_t *iec958, int *parms)
|
||||
case 48000:
|
||||
iec958->status[3] |= IEC958_AES3_CON_FS_48000;
|
||||
break;
|
||||
case 3200:
|
||||
case 32000:
|
||||
iec958->status[3] |= IEC958_AES3_CON_FS_32000;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user