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
612def5c
Commit
612def5c
authored
Aug 07, 2017
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output/Internal: rename CloseFilter() to CloseSoftwareMixer()
parent
704825be
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
Internal.cxx
src/output/Internal.cxx
+2
-2
Internal.hxx
src/output/Internal.hxx
+1
-1
Thread.cxx
src/output/Thread.cxx
+1
-1
No files found.
src/output/Internal.cxx
View file @
612def5c
...
...
@@ -99,7 +99,7 @@ AudioOutput::CloseOutput(bool drain) noexcept
}
void
AudioOutput
::
Close
Filt
er
()
noexcept
AudioOutput
::
Close
SoftwareMix
er
()
noexcept
{
if
(
mixer
!=
nullptr
&&
mixer
->
IsPlugin
(
software_mixer_plugin
))
software_mixer_set_filter
(
*
mixer
,
nullptr
);
...
...
@@ -109,7 +109,7 @@ void
AudioOutput
::
Close
(
bool
drain
)
noexcept
{
CloseOutput
(
drain
);
Close
Filt
er
();
Close
SoftwareMix
er
();
FormatDebug
(
output_domain
,
"closed plugin=%s name=
\"
%s
\"
"
,
plugin
.
name
,
name
);
...
...
src/output/Internal.hxx
View file @
612def5c
...
...
@@ -163,7 +163,7 @@ public:
/**
* Mutex must not be locked.
*/
void
Close
Filt
er
()
noexcept
;
void
Close
SoftwareMix
er
()
noexcept
;
void
BeginPause
()
noexcept
;
bool
IteratePause
()
noexcept
;
...
...
src/output/Thread.cxx
View file @
612def5c
...
...
@@ -73,7 +73,7 @@ AudioOutputControl::InternalOpen2(const AudioFormat in_audio_format)
output
->
OpenOutputAndConvert
(
output
->
filter_audio_format
);
}
catch
(...)
{
const
ScopeUnlock
unlock
(
mutex
);
output
->
Close
Filt
er
();
output
->
Close
SoftwareMix
er
();
throw
;
}
...
...
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