]> git.alsa-project.org Git - alsa-utils.git/commitdiff
Fix 32kHz sample rates
authorMarkus Bollinger <bollinger@digigram.com>
Tue, 8 Mar 2005 16:14:29 +0000 (16:14 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 Mar 2005 16:14:29 +0000 (16:14 +0000)
Fixed typos in check of sample rates.  Now 32k is handled correctly.

Signed-off-by: Markus Bollinger <bollinger@digigram.com>
iecset/iecset.c

index ee13f0fc5902538a5b89d037b58d5fa23b0b7e86..ef5eafe5fd83674c64bd61152d6d01a8541b7aab 100644 (file)
@@ -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;
                        }