Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
dbee2f19
Commit
dbee2f19
authored
Jul 10, 2012
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output_init: put the "convert" filter at the end of the list
No, really! This fixes a regression of commit
74617389
, which changed the order of filter plugins.
parent
6dd70926
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
NEWS
NEWS
+2
-0
output_init.c
src/output_init.c
+7
-7
No files found.
NEWS
View file @
dbee2f19
ver 0.17.1 (2012/??/??)
* protocol:
- require appropriate permissions for searchadd{,pl}
* output:
- fix noisy playback with conversion and software volume
ver 0.17 (2012/06/27)
* protocol:
...
...
src/output_init.c
View file @
dbee2f19
...
...
@@ -213,13 +213,6 @@ ao_base_init(struct audio_output *ao,
ao
->
replay_gain_filter
=
NULL
;
ao
->
other_replay_gain_filter
=
NULL
;
/* the "convert" filter must be the last one in the chain */
ao
->
convert_filter
=
filter_new
(
&
convert_filter_plugin
,
NULL
,
NULL
);
assert
(
ao
->
convert_filter
!=
NULL
);
filter_chain_append
(
ao
->
filter
,
ao
->
convert_filter
);
/* done */
return
true
;
...
...
@@ -280,6 +273,13 @@ audio_output_setup(struct audio_output *ao, const struct config_param *param,
return
false
;
}
/* the "convert" filter must be the last one in the chain */
ao
->
convert_filter
=
filter_new
(
&
convert_filter_plugin
,
NULL
,
NULL
);
assert
(
ao
->
convert_filter
!=
NULL
);
filter_chain_append
(
ao
->
filter
,
ao
->
convert_filter
);
return
true
;
}
...
...
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