Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
07990fcd
Commit
07990fcd
authored
May 20, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix assertions. (dts-dynrng and spdif are boolean parameters)
This close #3646
parent
cc4995b9
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
modules/audio_filter/converter/dtstofloat32.c
modules/audio_filter/converter/dtstofloat32.c
+1
-1
modules/audio_output/alsa.c
modules/audio_output/alsa.c
+1
-1
modules/audio_output/auhal.c
modules/audio_output/auhal.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
+2
-2
modules/audio_output/waveout.c
modules/audio_output/waveout.c
+1
-1
No files found.
modules/audio_filter/converter/dtstofloat32.c
View file @
07990fcd
...
...
@@ -96,7 +96,7 @@ vlc_module_end ()
static
int
Open
(
vlc_object_t
*
p_this
,
filter_sys_t
*
p_sys
,
audio_format_t
input
,
audio_format_t
output
)
{
p_sys
->
b_dynrng
=
var_Inherit
Integer
(
p_this
,
"dts-dynrng"
);
p_sys
->
b_dynrng
=
var_Inherit
Bool
(
p_this
,
"dts-dynrng"
);
p_sys
->
b_dontwarn
=
0
;
/* We'll do our own downmixing, thanks. */
...
...
modules/audio_output/alsa.c
View file @
07990fcd
...
...
@@ -253,7 +253,7 @@ static void Probe( aout_instance_t * p_aout,
text
.
psz_string
=
(
char
*
)
N_
(
"A/52 over S/PDIF"
);
var_Change
(
p_aout
,
"audio-device"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
if
(
var_Inherit
Integer
(
p_aout
,
"spdif"
)
)
if
(
var_Inherit
Bool
(
p_aout
,
"spdif"
)
)
var_Set
(
p_aout
,
"audio-device"
,
val
);
snd_pcm_close
(
p_sys
->
p_snd_pcm
);
...
...
modules/audio_output/auhal.c
View file @
07990fcd
...
...
@@ -1041,7 +1041,7 @@ static void Probe( aout_instance_t * p_aout )
var_Change
(
p_aout
,
"audio-device"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
free
(
text
.
psz_string
);
if
(
p_sys
->
i_default_dev
==
p_devices
[
i
]
&&
var_Inherit
Integer
(
p_aout
,
"spdif"
)
)
&&
var_Inherit
Bool
(
p_aout
,
"spdif"
)
)
{
/* We selected to prefer SPDIF output if available
* then this "dummy" entry should be selected */
...
...
modules/audio_output/directx.c
View file @
07990fcd
...
...
@@ -553,7 +553,7 @@ static void Probe( aout_instance_t * p_aout )
text
.
psz_string
=
_
(
"A/52 over S/PDIF"
);
var_Change
(
p_aout
,
"audio-device"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
if
(
var_Inherit
Integer
(
p_aout
,
"spdif"
)
)
if
(
var_Inherit
Bool
(
p_aout
,
"spdif"
)
)
var_Set
(
p_aout
,
"audio-device"
,
val
);
}
}
...
...
modules/audio_output/oss.c
View file @
07990fcd
...
...
@@ -246,10 +246,10 @@ static void Probe( aout_instance_t * p_aout )
text
.
psz_string
=
_
(
"A/52 over S/PDIF"
);
var_Change
(
p_aout
,
"audio-device"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
if
(
var_Inherit
Integer
(
p_aout
,
"spdif"
)
)
if
(
var_Inherit
Bool
(
p_aout
,
"spdif"
)
)
var_Set
(
p_aout
,
"audio-device"
,
val
);
}
else
if
(
var_Inherit
Integer
(
p_aout
,
"spdif"
)
)
else
if
(
var_Inherit
Bool
(
p_aout
,
"spdif"
)
)
{
msg_Warn
(
p_aout
,
"S/PDIF not supported by card"
);
}
...
...
modules/audio_output/waveout.c
View file @
07990fcd
...
...
@@ -462,7 +462,7 @@ static void Probe( aout_instance_t * p_aout )
text
.
psz_string
=
(
char
*
)
_
(
"A/52 over S/PDIF"
);
var_Change
(
p_aout
,
"audio-device"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
if
(
var_Inherit
Integer
(
p_aout
,
"spdif"
)
)
if
(
var_Inherit
Bool
(
p_aout
,
"spdif"
)
)
var_Set
(
p_aout
,
"audio-device"
,
val
);
}
}
...
...
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