mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
fix uploading of samples into PA. Problem discovered by Colin Guthrie
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2074 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
3e4f820f22
commit
9d2255d4e5
1 changed files with 1 additions and 1 deletions
|
|
@ -586,7 +586,7 @@ void pa_create_stream_callback(pa_pdispatch *pd, uint32_t command, PA_GCC_UNUSED
|
|||
}
|
||||
}
|
||||
|
||||
if (s->context->version >= 12) {
|
||||
if (s->context->version >= 12 && s->direction != PA_STREAM_UPLOAD) {
|
||||
pa_sample_spec ss;
|
||||
pa_channel_map cm;
|
||||
const char *dn = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue