summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-05-17 18:52:34 +0000
committerLennart Poettering <lennart@poettering.net>2006-05-17 18:52:34 +0000
commitee35a063b2c10564d43a611fcf6ada398851b1d6 (patch)
tree49d12f88616283127ec5b596bd2cd97ff0ca1b34 /src/tests
parent5f6d8c9c8b0f113dee34d3f3c17464a9c696a49b (diff)
add new channel map argument to pa_simple_new()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@911 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/pacat-simple.c2
-rw-r--r--src/tests/parec-simple.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/pacat-simple.c b/src/tests/pacat-simple.c
index 6a75c790..544c31e3 100644
--- a/src/tests/pacat-simple.c
+++ b/src/tests/pacat-simple.c
@@ -66,7 +66,7 @@ int main(PA_GCC_UNUSED int argc, char*argv[]) {
}
/* Create a new playback stream */
- if (!(s = pa_simple_new(NULL, argv[0], PA_STREAM_PLAYBACK, NULL, "playback", &ss, NULL, &error))) {
+ if (!(s = pa_simple_new(NULL, argv[0], PA_STREAM_PLAYBACK, NULL, "playback", &ss, NULL, NULL, &error))) {
fprintf(stderr, __FILE__": pa_simple_new() failed: %s\n", pa_strerror(error));
goto finish;
}
diff --git a/src/tests/parec-simple.c b/src/tests/parec-simple.c
index fc2314ac..4463d549 100644
--- a/src/tests/parec-simple.c
+++ b/src/tests/parec-simple.c
@@ -67,7 +67,7 @@ int main(PA_GCC_UNUSED int argc, char*argv[]) {
int error;
/* Create the recording stream */
- if (!(s = pa_simple_new(NULL, argv[0], PA_STREAM_RECORD, NULL, "record", &ss, NULL, &error))) {
+ if (!(s = pa_simple_new(NULL, argv[0], PA_STREAM_RECORD, NULL, "record", &ss, NULL, NULL, &error))) {
fprintf(stderr, __FILE__": pa_simple_new() failed: %s\n", pa_strerror(error));
goto finish;
}