Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
79163765
Commit
79163765
authored
Apr 07, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make aout "intf-change" a void variable
parent
f14ca312
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
9 additions
and
10 deletions
+9
-10
modules/audio_output/alsa.c
modules/audio_output/alsa.c
+1
-1
modules/audio_output/directx.c
modules/audio_output/directx.c
+1
-1
modules/audio_output/oss.c
modules/audio_output/oss.c
+1
-1
modules/audio_output/portaudio.c
modules/audio_output/portaudio.c
+1
-1
modules/audio_output/sdl.c
modules/audio_output/sdl.c
+1
-1
modules/audio_output/waveout.c
modules/audio_output/waveout.c
+1
-1
src/audio_output/common.c
src/audio_output/common.c
+1
-2
src/audio_output/intf.c
src/audio_output/intf.c
+1
-1
src/audio_output/output.c
src/audio_output/output.c
+1
-1
No files found.
modules/audio_output/alsa.c
View file @
79163765
...
...
@@ -302,7 +302,7 @@ static int Probe( aout_instance_t * p_aout,
/* Add final settings to the variable */
var_AddCallback
(
p_aout
,
"audio-device"
,
aout_ChannelsRestart
,
NULL
);
var_
SetBool
(
p_aout
,
"intf-change"
,
true
);
var_
TriggerCallback
(
p_aout
,
"intf-change"
);
return
VLC_SUCCESS
;
}
...
...
modules/audio_output/directx.c
View file @
79163765
...
...
@@ -565,7 +565,7 @@ static void Probe( aout_instance_t * p_aout )
}
var_AddCallback
(
p_aout
,
"audio-device"
,
aout_ChannelsRestart
,
NULL
);
var_
SetBool
(
p_aout
,
"intf-change"
,
true
);
var_
TriggerCallback
(
p_aout
,
"intf-change"
);
}
/*****************************************************************************
...
...
modules/audio_output/oss.c
View file @
79163765
...
...
@@ -352,7 +352,7 @@ static int Open( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
var_
SetBool
(
p_aout
,
"intf-change"
,
true
);
var_
TriggerCallback
(
p_aout
,
"intf-change"
);
/* Reset the DSP device */
if
(
ioctl
(
p_sys
->
i_fd
,
SNDCTL_DSP_RESET
,
NULL
)
<
0
)
...
...
modules/audio_output/portaudio.c
View file @
79163765
...
...
@@ -434,7 +434,7 @@ static int PAOpenDevice( aout_instance_t *p_aout )
}
var_AddCallback
(
p_aout
,
"audio-device"
,
aout_ChannelsRestart
,
NULL
);
var_
SetBool
(
p_aout
,
"intf-change"
,
true
);
var_
TriggerCallback
(
p_aout
,
"intf-change"
);
}
/* Audio format is paFloat32 (always supported by portaudio v19) */
...
...
modules/audio_output/sdl.c
View file @
79163765
...
...
@@ -210,7 +210,7 @@ static int Open ( vlc_object_t *p_this )
var_AddCallback
(
p_aout
,
"audio-device"
,
aout_ChannelsRestart
,
NULL
);
}
var_
SetBool
(
p_aout
,
"intf-change"
,
true
);
var_
TriggerCallback
(
p_aout
,
"intf-change"
);
p_aout
->
output
.
output
.
i_rate
=
obtained
.
freq
;
p_aout
->
output
.
i_nb_samples
=
obtained
.
samples
;
...
...
modules/audio_output/waveout.c
View file @
79163765
...
...
@@ -473,7 +473,7 @@ static void Probe( aout_instance_t * p_aout )
}
var_AddCallback
(
p_aout
,
"audio-device"
,
aout_ChannelsRestart
,
NULL
);
var_
SetBool
(
p_aout
,
"intf-change"
,
true
);
var_
TriggerCallback
(
p_aout
,
"intf-change"
);
}
/*****************************************************************************
...
...
src/audio_output/common.c
View file @
79163765
...
...
@@ -98,8 +98,7 @@ aout_instance_t * __aout_New( vlc_object_t * p_parent )
p_aout
->
output
.
b_error
=
1
;
p_aout
->
output
.
b_starving
=
1
;
var_Create
(
p_aout
,
"intf-change"
,
VLC_VAR_BOOL
);
var_SetBool
(
p_aout
,
"intf-change"
,
true
);
var_Create
(
p_aout
,
"intf-change"
,
VLC_VAR_VOID
);
vlc_object_set_destructor
(
p_aout
,
aout_Destructor
);
...
...
src/audio_output/intf.c
View file @
79163765
...
...
@@ -95,7 +95,7 @@ static int commitVolume (vlc_object_t *obj, aout_instance_t *aout,
aout_unlock_mixer
(
aout
);
if
(
ret
==
0
)
var_
SetBool
(
aout
,
"intf-change"
,
true
);
var_
TriggerCallback
(
aout
,
"intf-change"
);
aout_unlock_volume
(
aout
);
vlc_object_release
(
aout
);
}
...
...
src/audio_output/output.c
View file @
79163765
...
...
@@ -154,7 +154,7 @@ int aout_OutputNew( aout_instance_t * p_aout,
var_AddCallback
(
p_aout
,
"audio-channels"
,
aout_ChannelsRestart
,
NULL
);
}
var_
SetBool
(
p_aout
,
"intf-change"
,
true
);
var_
TriggerCallback
(
p_aout
,
"intf-change"
);
aout_FormatPrepare
(
&
p_aout
->
output
.
output
);
...
...
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