diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-09-15 19:16:57 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-09-15 19:16:57 +0000 |
commit | f5d47a293aa32a8273ef02c597cb263527726465 (patch) | |
tree | 82e34cdafba576e1e28a643df3e814de611ccaf4 /polyp/polyplib-simple.c | |
parent | 9ca72dce0bda4e279ff82a01847ee09a72434b33 (diff) |
work around C99/GCC incompatibility
native protocol:
add "local" field to pa_context
add volume paramter to pa_stream_connect_playback
add support for renaming streams/clients
support lazy samples
add functions to kill clients/source inputs/sink outputs
add functions for loading/unloading modules
add autoload management API
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@204 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-simple.c')
-rw-r--r-- | polyp/polyplib-simple.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/polyp/polyplib-simple.c b/polyp/polyplib-simple.c index 36e6e757..5cf52d06 100644 --- a/polyp/polyplib-simple.c +++ b/polyp/polyplib-simple.c @@ -110,6 +110,7 @@ struct pa_simple* pa_simple_new( const char *stream_name, const struct pa_sample_spec *ss, const struct pa_buffer_attr *attr, + pa_volume_t volume, int *perror) { struct pa_simple *p; @@ -142,7 +143,7 @@ struct pa_simple* pa_simple_new( goto fail; if (dir == PA_STREAM_PLAYBACK) - pa_stream_connect_playback(p->stream, dev, attr); + pa_stream_connect_playback(p->stream, dev, attr, volume); else pa_stream_connect_record(p->stream, dev, attr); |