mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:45:41 +01: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
1 changed files with 2 additions and 2 deletions
|
@ -187,7 +187,7 @@ static int update_iec958_status(snd_aes_iec958_t *iec958, int *parms)
|
||||||
case 48000:
|
case 48000:
|
||||||
iec958->status[0] |= IEC958_AES0_PRO_FS_48000;
|
iec958->status[0] |= IEC958_AES0_PRO_FS_48000;
|
||||||
break;
|
break;
|
||||||
case 3200:
|
case 32000:
|
||||||
iec958->status[0] |= IEC958_AES0_PRO_FS_32000;
|
iec958->status[0] |= IEC958_AES0_PRO_FS_32000;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -200,7 +200,7 @@ static int update_iec958_status(snd_aes_iec958_t *iec958, int *parms)
|
||||||
case 48000:
|
case 48000:
|
||||||
iec958->status[3] |= IEC958_AES3_CON_FS_48000;
|
iec958->status[3] |= IEC958_AES3_CON_FS_48000;
|
||||||
break;
|
break;
|
||||||
case 3200:
|
case 32000:
|
||||||
iec958->status[3] |= IEC958_AES3_CON_FS_32000;
|
iec958->status[3] |= IEC958_AES3_CON_FS_32000;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue