From 8741281d0bf4d05da7707340c96289b3b6112529 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 19 Sep 2004 23:40:00 +0000 Subject: update for polypaudio 0.5 git-svn-id: file:///home/lennart/svn/public/libao-pulse/trunk@13 a8d83910-18e2-0310-866c-8ed7f9518005 --- src/ao_polyp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ao_polyp.c b/src/ao_polyp.c index 23e7844..8214662 100644 --- a/src/ao_polyp.c +++ b/src/ao_polyp.c @@ -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, NULL))) + if (!(s = pa_simple_new(NULL, fn ? t : "libao", PA_STREAM_PLAYBACK, NULL, fn ? t2 : "libao test", &ss, NULL, PA_VOLUME_NORM, 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, NULL))) + 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))) return 0; device->driver_byte_format = AO_FMT_NATIVE; -- cgit