]> git.alsa-project.org Git - alsa-utils.git/commitdiff
fixed the format of 16bit-au file.
authorTakashi Iwai <tiwai@suse.de>
Tue, 7 May 2002 12:20:19 +0000 (12:20 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 May 2002 12:20:19 +0000 (12:20 +0000)
aplay/aplay.c

index 5748547d05fea14b2817c64adee229a2678a4e49..a910a468e6adf1e2aac3951b9ff934264f4b0f22 100644 (file)
@@ -702,7 +702,7 @@ static int test_au(int fd, void *buffer)
                hwparams.format = SND_PCM_FORMAT_U8;
                break;
        case AU_FMT_LIN16:
-               hwparams.format = SND_PCM_FORMAT_U16_LE;
+               hwparams.format = SND_PCM_FORMAT_S16_BE;
                break;
        default:
                return -1;