From 143676f7b6fd9e728fa75178fb7c3993ebfd4ff2 Mon Sep 17 00:00:00 2001 From: Markus Bollinger Date: Tue, 8 Mar 2005 16:14:29 +0000 Subject: [PATCH] Fix 32kHz sample rates Fixed typos in check of sample rates. Now 32k is handled correctly. Signed-off-by: Markus Bollinger --- iecset/iecset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iecset/iecset.c b/iecset/iecset.c index ee13f0f..ef5eafe 100644 --- a/iecset/iecset.c +++ b/iecset/iecset.c @@ -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; }