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
20ee3d9d
Commit
20ee3d9d
authored
Mar 06, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA: do not turn off softvol
Some people actually use it.
parent
d17ed613
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
modules/audio_output/alsa.c
modules/audio_output/alsa.c
+1
-3
No files found.
modules/audio_output/alsa.c
View file @
20ee3d9d
...
@@ -322,9 +322,7 @@ static int Open (vlc_object_t *obj)
...
@@ -322,9 +322,7 @@ static int Open (vlc_object_t *obj)
/* Open the device */
/* Open the device */
snd_pcm_t
*
pcm
;
snd_pcm_t
*
pcm
;
/* VLC always has a resampler. No need for ALSA's. */
/* VLC always has a resampler. No need for ALSA's. */
const
int
mode
=
SND_PCM_NO_AUTO_RESAMPLE
const
int
mode
=
SND_PCM_NO_AUTO_RESAMPLE
;
/* VLC is currently unable to leverage ALSA softvol. No need for it. */
|
SND_PCM_NO_SOFTVOL
;
int
val
=
snd_pcm_open
(
&
pcm
,
device
,
SND_PCM_STREAM_PLAYBACK
,
mode
);
int
val
=
snd_pcm_open
(
&
pcm
,
device
,
SND_PCM_STREAM_PLAYBACK
,
mode
);
#if (SND_LIB_VERSION <= 0x010015)
#if (SND_LIB_VERSION <= 0x010015)
...
...
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