diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-05-08 15:48:36 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-05-08 15:48:36 +0000 |
commit | ba1b3757573cf2da72c4b0350db461cfb4825802 (patch) | |
tree | 76aa9aab066b8aea78571e88dfd2906f058f0954 /src/ao_polyp.c | |
parent | c0922cf08c8372cf21643be44d892fd0f1ab6893 (diff) |
fix for polypaudio 0.8
git-svn-id: file:///home/lennart/svn/public/libao-pulse/trunk@19 a8d83910-18e2-0310-866c-8ed7f9518005
Diffstat (limited to 'src/ao_polyp.c')
-rw-r--r-- | src/ao_polyp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ao_polyp.c b/src/ao_polyp.c index 8214662..ba4fb08 100644 --- a/src/ao_polyp.c +++ b/src/ao_polyp.c @@ -28,7 +28,7 @@ #include <signal.h> #include <limits.h> -#include <polyp/polyplib-simple.h> +#include <polyp/simple.h> #include <ao/ao.h> #include <ao/plugin.h> @@ -92,7 +92,7 @@ int ao_plugin_test(void) { snprintf(t2, sizeof(t2), "libao[%s] test", fn); } - if (!(s = pa_simple_new(NULL, fn ? t : "libao", PA_STREAM_PLAYBACK, NULL, fn ? t2 : "libao test", &ss, NULL, PA_VOLUME_NORM, NULL))) + if (!(s = pa_simple_new(NULL, fn ? t : "libao", PA_STREAM_PLAYBACK, NULL, fn ? t2 : "libao test", &ss, NULL, NULL))) return 0; pa_simple_free(s); @@ -167,7 +167,7 @@ int ao_plugin_open(ao_device *device, ao_sample_format *format) { snprintf(t2, sizeof(t2), "libao[%s] playback stream", fn); } - if (!(internal->simple = pa_simple_new(internal->server, fn ? t : "libao", PA_STREAM_PLAYBACK, internal->sink, fn ? t2 : "libao playback stream", &ss, NULL, PA_VOLUME_NORM, NULL))) + if (!(internal->simple = pa_simple_new(internal->server, fn ? t : "libao", PA_STREAM_PLAYBACK, internal->sink, fn ? t2 : "libao playback stream", &ss, NULL, NULL))) return 0; device->driver_byte_format = AO_FMT_NATIVE; |