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
a7ed7915
Commit
a7ed7915
authored
Jun 19, 2011
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modplug: use var_Inherit when applicable.
parent
5fe74b9b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
modules/demux/mod.c
modules/demux/mod.c
+10
-10
No files found.
modules/demux/mod.c
View file @
a7ed7915
...
@@ -207,23 +207,23 @@ static int Open( vlc_object_t *p_this )
...
@@ -207,23 +207,23 @@ static int Open( vlc_object_t *p_this )
settings
.
mFrequency
=
44100
;
settings
.
mFrequency
=
44100
;
settings
.
mResamplingMode
=
MODPLUG_RESAMPLE_FIR
;
settings
.
mResamplingMode
=
MODPLUG_RESAMPLE_FIR
;
if
(
var_
CreateGe
tBool
(
p_demux
,
"mod-noisereduction"
)
)
if
(
var_
Inheri
tBool
(
p_demux
,
"mod-noisereduction"
)
)
settings
.
mFlags
|=
MODPLUG_ENABLE_NOISE_REDUCTION
;
settings
.
mFlags
|=
MODPLUG_ENABLE_NOISE_REDUCTION
;
if
(
var_
CreateGe
tBool
(
p_demux
,
"mod-reverb"
)
)
if
(
var_
Inheri
tBool
(
p_demux
,
"mod-reverb"
)
)
settings
.
mFlags
|=
MODPLUG_ENABLE_REVERB
;
settings
.
mFlags
|=
MODPLUG_ENABLE_REVERB
;
settings
.
mReverbDepth
=
var_
CreateGe
tInteger
(
p_demux
,
"mod-reverb-level"
);
settings
.
mReverbDepth
=
var_
Inheri
tInteger
(
p_demux
,
"mod-reverb-level"
);
settings
.
mReverbDelay
=
var_
CreateGe
tInteger
(
p_demux
,
"mod-reverb-delay"
);
settings
.
mReverbDelay
=
var_
Inheri
tInteger
(
p_demux
,
"mod-reverb-delay"
);
if
(
var_
CreateGe
tBool
(
p_demux
,
"mod-megabass"
)
)
if
(
var_
Inheri
tBool
(
p_demux
,
"mod-megabass"
)
)
settings
.
mFlags
|=
MODPLUG_ENABLE_MEGABASS
;
settings
.
mFlags
|=
MODPLUG_ENABLE_MEGABASS
;
settings
.
mBassAmount
=
var_
CreateGe
tInteger
(
p_demux
,
"mod-megabass-level"
);
settings
.
mBassAmount
=
var_
Inheri
tInteger
(
p_demux
,
"mod-megabass-level"
);
settings
.
mBassRange
=
var_
CreateGe
tInteger
(
p_demux
,
"mod-megabass-range"
);
settings
.
mBassRange
=
var_
Inheri
tInteger
(
p_demux
,
"mod-megabass-range"
);
if
(
var_
CreateGe
tBool
(
p_demux
,
"mod-surround"
)
)
if
(
var_
Inheri
tBool
(
p_demux
,
"mod-surround"
)
)
settings
.
mFlags
|=
MODPLUG_ENABLE_SURROUND
;
settings
.
mFlags
|=
MODPLUG_ENABLE_SURROUND
;
settings
.
mSurroundDepth
=
var_
CreateGe
tInteger
(
p_demux
,
"mod-surround-level"
);
settings
.
mSurroundDepth
=
var_
Inheri
tInteger
(
p_demux
,
"mod-surround-level"
);
settings
.
mSurroundDelay
=
var_
CreateGe
tInteger
(
p_demux
,
"mod-surround-delay"
);
settings
.
mSurroundDelay
=
var_
Inheri
tInteger
(
p_demux
,
"mod-surround-delay"
);
ModPlug_SetSettings
(
&
settings
);
ModPlug_SetSettings
(
&
settings
);
...
...
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