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
e9a8f1e1
Commit
e9a8f1e1
authored
Dec 30, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
headphone: kill config_Get
parent
26e19c58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/audio_filter/channel_mixer/headphone.c
modules/audio_filter/channel_mixer/headphone.c
+2
-2
No files found.
modules/audio_filter/channel_mixer/headphone.c
View file @
e9a8f1e1
...
@@ -189,7 +189,7 @@ static int Init( vlc_object_t *p_this, struct filter_sys_t * p_data
...
@@ -189,7 +189,7 @@ static int Init( vlc_object_t *p_this, struct filter_sys_t * p_data
,
unsigned
int
i_nb_channels
,
uint32_t
i_physical_channels
,
unsigned
int
i_nb_channels
,
uint32_t
i_physical_channels
,
unsigned
int
i_rate
)
,
unsigned
int
i_rate
)
{
{
double
d_x
=
config_GetInt
(
p_this
,
"headphone-dim"
);
double
d_x
=
var_InheritInteger
(
p_this
,
"headphone-dim"
);
double
d_z
=
d_x
;
double
d_z
=
d_x
;
double
d_z_rear
=
-
d_x
/
3
;
double
d_z_rear
=
-
d_x
/
3
;
double
d_min
=
0
;
double
d_min
=
0
;
...
@@ -197,7 +197,7 @@ static int Init( vlc_object_t *p_this, struct filter_sys_t * p_data
...
@@ -197,7 +197,7 @@ static int Init( vlc_object_t *p_this, struct filter_sys_t * p_data
int
i_source_channel_offset
;
int
i_source_channel_offset
;
unsigned
int
i
;
unsigned
int
i
;
if
(
config_GetInt
(
p_this
,
"headphone-compensate"
)
)
if
(
var_InheritInteger
(
p_this
,
"headphone-compensate"
)
)
{
{
/* minimal distance to any speaker */
/* minimal distance to any speaker */
if
(
i_physical_channels
&
AOUT_CHAN_REARCENTER
)
if
(
i_physical_channels
&
AOUT_CHAN_REARCENTER
)
...
...
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