Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
2ff21391
Commit
2ff21391
authored
Sep 04, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PulseAudio: disable fix-rate when negotiating pass-through (refs #9309)
API design bug in PulseAudio...
parent
7771a49e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
modules/audio_output/pulse.c
modules/audio_output/pulse.c
+12
-6
No files found.
modules/audio_output/pulse.c
View file @
2ff21391
...
@@ -794,7 +794,7 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
...
@@ -794,7 +794,7 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
}
}
/* Stream parameters */
/* Stream parameters */
const
pa_stream_flags_t
flags
=
sys
->
flags_force
pa_stream_flags_t
flags
=
sys
->
flags_force
|
PA_STREAM_START_CORKED
|
PA_STREAM_START_CORKED
|
PA_STREAM_INTERPOLATE_TIMING
|
PA_STREAM_INTERPOLATE_TIMING
|
PA_STREAM_NOT_MONOTONIC
|
PA_STREAM_NOT_MONOTONIC
...
@@ -831,6 +831,12 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
...
@@ -831,6 +831,12 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
pa_format_info_set_channels
(
formatv
[
formatc
],
ss
.
channels
);
pa_format_info_set_channels
(
formatv
[
formatc
],
ss
.
channels
);
pa_format_info_set_channel_map
(
formatv
[
formatc
],
&
map
);
pa_format_info_set_channel_map
(
formatv
[
formatc
],
&
map
);
formatc
++
;
formatc
++
;
/* FIX flags are only permitted for PCM, and there is no way to pass
* different flags for different formats... */
flags
&=
~
(
PA_STREAM_FIX_FORMAT
|
PA_STREAM_FIX_RATE
|
PA_STREAM_FIX_CHANNELS
);
}
}
/* Fallback to PCM */
/* Fallback to PCM */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment