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
1e85ac0b
Commit
1e85ac0b
authored
Aug 29, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lower priority of headphone channel_mixer
parent
8a225a65
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
modules/audio_filter/channel_mixer/headphone.c
modules/audio_filter/channel_mixer/headphone.c
+3
-6
No files found.
modules/audio_filter/channel_mixer/headphone.c
View file @
1e85ac0b
...
...
@@ -96,7 +96,7 @@ vlc_module_begin();
/* Audio filter 2 */
add_submodule
();
set_description
(
_
(
"Headphone virtual spatialization effect"
)
);
set_capability
(
"audio filter2"
,
10
0
);
set_capability
(
"audio filter2"
,
0
);
set_callbacks
(
OpenFilter
,
CloseFilter
);
vlc_module_end
();
...
...
@@ -652,7 +652,6 @@ static int OpenFilter( vlc_object_t *p_this )
static
void
CloseFilter
(
vlc_object_t
*
p_this
)
{
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
if
(
p_filter
->
p_sys
!=
NULL
)
{
...
...
@@ -667,8 +666,6 @@ static void CloseFilter( vlc_object_t *p_this )
free
(
p_filter
->
p_sys
);
p_filter
->
p_sys
=
NULL
;
}
if
(
p_sys
)
free
(
p_sys
);
}
static
block_t
*
Convert
(
filter_t
*
p_filter
,
block_t
*
p_block
)
...
...
@@ -685,8 +682,8 @@ static block_t *Convert( filter_t *p_filter, block_t *p_block )
}
i_out_size
=
p_block
->
i_samples
*
p_filter
->
fmt_out
.
audio
.
i_bitspersample
*
p_filter
->
fmt_out
.
audio
.
i_channels
/
8
;
p_filter
->
fmt_out
.
audio
.
i_bitspersample
/
8
*
aout_FormatNbChannels
(
&
(
p_filter
->
fmt_out
.
audio
)
)
;
p_out
=
p_filter
->
pf_audio_buffer_new
(
p_filter
,
i_out_size
);
if
(
!
p_out
)
...
...
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