[pulseaudio-discuss] [PATCH 1/6] tests: Default to sample format s16ne as stated in resampler-test usage text

Peter Meerwald pmeerw at pmeerw.net
Fri Jan 4 14:05:55 PST 2013


From: Peter Meerwald <p.meerwald at bct-electronic.com>

Signed-off-by: Peter Meerwald <p.meerwald at bct-electronic.com>
---
 src/tests/resampler-test.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tests/resampler-test.c b/src/tests/resampler-test.c
index e07a3d6..2ca8894 100644
--- a/src/tests/resampler-test.c
+++ b/src/tests/resampler-test.c
@@ -335,7 +335,7 @@ int main(int argc, char *argv[]) {
 
     a.channels = b.channels = 1;
     a.rate = b.rate = 44100;
-    a.format = b.format = PA_SAMPLE_S16LE;
+    a.format = b.format = PA_SAMPLE_S16NE;
 
     method = PA_RESAMPLER_AUTO;
     seconds = 60;
-- 
1.7.9.5



More information about the pulseaudio-discuss mailing list