summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-07-11 23:21:32 +0000
committerLennart Poettering <lennart@poettering.net>2004-07-11 23:21:32 +0000
commitd4e0d51c157dea740d35089f077451b6ec7b11a5 (patch)
treea2f5db27d4b460c511bffeeedd05708b0b6e6354 /src/main.c
parent216591d95e00a0cb771088dad9a752efead55e10 (diff)
make module-oss-* use modargs
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@63 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index e2d86b48..8ba554c8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -42,7 +42,7 @@ int main(int argc, char *argv[]) {
c = pa_core_new(pa_mainloop_get_api(mainloop));
assert(c);
- pa_module_load(c, "module-oss-mmap", "/dev/dsp");
+ pa_module_load(c, "module-oss-mmap", "device=/dev/dsp playback=1 record=1");
/* pa_module_load(c, "module-oss-mmap", "/dev/dsp1");*/
/* pa_module_load(c, "module-pipe-sink", NULL);*/
pa_module_load(c, "module-simple-protocol-tcp", NULL);