mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
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
This commit is contained in:
parent
9ca72dce0b
commit
f5d47a293a
23 changed files with 680 additions and 40 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue