sndfile: fix build on BE archs
authorLennart Poettering <lennart@poettering.net>
Tue, 23 Jun 2009 16:54:17 +0000 (18:54 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 23 Jun 2009 16:54:17 +0000 (18:54 +0200)
src/pulsecore/sndfile-util.c

index 032aefc..4f7f8bd 100644 (file)
@@ -113,7 +113,7 @@ int pa_sndfile_write_sample_spec(SF_INFO *sfi, pa_sample_spec *ss) {
             break;
 
         case PA_SAMPLE_S32LE:
-        case PA_SAMPLE_S32RE:
+        case PA_SAMPLE_S32BE:
             ss->format = PA_SAMPLE_S32NE;
             sfi->format |= SF_FORMAT_PCM_32;
             break;