Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
984fb14a
Commit
984fb14a
authored
Oct 16, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to not confuse between Dolby Surround (2.1) and Dolby Digital (5.1)
Ref #1417
parent
a29f9e88
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+3
-3
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+1
-1
modules/gui/qt4/ui/sprefs_audio.ui
modules/gui/qt4/ui/sprefs_audio.ui
+1
-1
src/audio_output/output.c
src/audio_output/output.c
+1
-1
src/input/decoder.c
src/input/decoder.c
+1
-1
src/libvlc-module.c
src/libvlc-module.c
+4
-4
No files found.
modules/gui/macosx/simple_prefs.m
View file @
984fb14a
...
...
@@ -217,7 +217,7 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
-
(
void
)
initStrings
{
/* audio */
[
o_audio_dolby_txt
setStringValue
:
_NS
(
"Force detection of Dolby
Surround
"
)];
[
o_audio_dolby_txt
setStringValue
:
_NS
(
"Force detection of Dolby
Digital
"
)];
[
o_audio_effects_box
setTitle
:
_NS
(
"Effects"
)];
[
o_audio_enable_ckb
setTitle
:
_NS
(
"Enable Audio"
)];
[
o_audio_general_box
setTitle
:
_NS
(
"General Audio"
)];
...
...
@@ -419,7 +419,7 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
[
o_audio_spdif_ckb
setState
:
config_GetInt
(
p_intf
,
"spdif"
)];
[
self
setupButton
:
o_audio_dolby_pop
forIntList
:
"force-dolby-
surround
"
];
[
self
setupButton
:
o_audio_dolby_pop
forIntList
:
"force-dolby-
digital
"
];
[
o_audio_lang_fld
setStringValue
:
[
NSString
stringWithUTF8String
:
config_GetPsz
(
p_intf
,
"audio-language"
)
?:
""
]];
...
...
@@ -748,7 +748,7 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
config_PutInt
(
p_intf
,
"volume"
,
[
o_audio_vol_sld
intValue
]
);
config_PutInt
(
p_intf
,
"spdif"
,
[
o_audio_spdif_ckb
state
]
);
SaveIntList
(
o_audio_dolby_pop
,
"force-dolby-
surround
"
);
SaveIntList
(
o_audio_dolby_pop
,
"force-dolby-
digital
"
);
config_PutPsz
(
p_intf
,
"audio-language"
,
[[
o_audio_lang_fld
stringValue
]
UTF8String
]
);
config_PutInt
(
p_intf
,
"headphone-dolby"
,
[
o_audio_headphone_ckb
state
]
);
...
...
modules/gui/qt4/components/simple_preferences.cpp
View file @
984fb14a
...
...
@@ -286,7 +286,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC
(
"spdif"
,
Bool
,
NULL
,
spdifBox
);
CONFIG_GENERIC
(
"qt-autosave-volume"
,
Bool
,
NULL
,
saveVolBox
);
CONFIG_GENERIC
(
"force-dolby-
surround
"
,
IntegerList
,
NULL
,
CONFIG_GENERIC
(
"force-dolby-
digital
"
,
IntegerList
,
NULL
,
detectionDolby
);
CONFIG_GENERIC
(
"headphone-dolby"
,
Bool
,
NULL
,
headphoneEffect
);
...
...
modules/gui/qt4/ui/sprefs_audio.ui
View file @
984fb14a
...
...
@@ -110,7 +110,7 @@
<item row="2" column="0" >
<widget class="QLabel" name="label_8" >
<property name="text" >
<string>_("Force detection of Dolby
Surround
")</string>
<string>_("Force detection of Dolby
Digital
")</string>
</property>
<property name="buddy" >
<cstring>detectionDolby</cstring>
...
...
src/audio_output/output.c
View file @
984fb14a
...
...
@@ -132,7 +132,7 @@ int aout_OutputNew( aout_instance_t * p_aout,
if
(
p_aout
->
output
.
output
.
i_original_channels
&
AOUT_CHAN_DOLBYSTEREO
)
{
val
.
i_int
=
AOUT_VAR_CHAN_DOLBYS
;
text
.
psz_string
=
_
(
"Dolby
Surround
"
);
text
.
psz_string
=
_
(
"Dolby
Digital
"
);
}
else
{
...
...
src/input/decoder.c
View file @
984fb14a
...
...
@@ -1895,7 +1895,7 @@ static aout_buffer_t *aout_new_buffer( decoder_t *p_dec, int i_samples )
if
(
p_owner
->
p_aout_input
==
NULL
)
{
const
int
i_force_dolby
=
config_GetInt
(
p_dec
,
"force-dolby-
surround
"
);
const
int
i_force_dolby
=
config_GetInt
(
p_dec
,
"force-dolby-
digital
"
);
audio_sample_format_t
format
;
aout_input_t
*
p_aout_input
;
aout_instance_t
*
p_aout
;
...
...
src/libvlc-module.c
View file @
984fb14a
...
...
@@ -283,11 +283,11 @@ static const char *const ppsz_snap_formats[] =
"S/PDIF can be used by default when " \
"your hardware supports it as well as the audio stream being played.")
#define FORCE_DOLBY_TEXT N_("Force detection of Dolby
Surround
")
#define FORCE_DOLBY_TEXT N_("Force detection of Dolby
Digital
")
#define FORCE_DOLBY_LONGTEXT N_( \
"Use this when you know your stream is (or is not) encoded with Dolby "\
"
Surround
but fails to be detected as such. Even if the stream is "\
"not actually encoded with Dolby
Surround
, turning on this option might "\
"
Digital
but fails to be detected as such. Even if the stream is "\
"not actually encoded with Dolby
Digital
, turning on this option might "\
"enhance your experience, especially when combined with the Headphone "\
"Channel Mixer." )
static
const
int
pi_force_dolby_values
[]
=
{
0
,
1
,
2
};
...
...
@@ -1462,7 +1462,7 @@ vlc_module_begin();
AOUT_RESAMP_LONGTEXT
,
true
);
#endif
add_bool
(
"spdif"
,
0
,
NULL
,
SPDIF_TEXT
,
SPDIF_LONGTEXT
,
false
);
add_integer
(
"force-dolby-
surround
"
,
0
,
NULL
,
FORCE_DOLBY_TEXT
,
add_integer
(
"force-dolby-
digital
"
,
0
,
NULL
,
FORCE_DOLBY_TEXT
,
FORCE_DOLBY_LONGTEXT
,
false
);
change_integer_list
(
pi_force_dolby_values
,
ppsz_force_dolby_descriptions
,
NULL
);
add_integer
(
"audio-desync"
,
0
,
NULL
,
DESYNC_TEXT
,
...
...
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