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
a2e0b71a
Commit
a2e0b71a
authored
Jan 30, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output_api: removed audio_output_closed()
The function is only used by the MVP output plugin, and this one call is wrong.
parent
eeec32fe
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
10 deletions
+0
-10
mvp_plugin.c
src/output/mvp_plugin.c
+0
-1
output_api.c
src/output_api.c
+0
-7
output_api.h
src/output_api.h
+0
-2
No files found.
src/output/mvp_plugin.c
View file @
a2e0b71a
...
...
@@ -245,7 +245,6 @@ static void mvp_dropBufferedAudio(void *data)
ioctl
(
md
->
fd
,
MVP_SET_AUD_RESET
,
0x11
);
close
(
md
->
fd
);
md
->
fd
=
-
1
;
audio_output_closed
(
md
->
audio_output
);
}
}
...
...
src/output_api.c
View file @
a2e0b71a
...
...
@@ -26,13 +26,6 @@ const char *audio_output_get_name(const struct audio_output *ao)
return
ao
->
name
;
}
void
audio_output_closed
(
struct
audio_output
*
ao
)
{
assert
(
ao
->
open
);
ao
->
open
=
false
;
}
bool
audio_output_is_pending
(
const
struct
audio_output
*
ao
)
{
return
ao
->
command
!=
AO_COMMAND_NONE
;
...
...
src/output_api.h
View file @
a2e0b71a
...
...
@@ -133,8 +133,6 @@ struct audio_output;
const
char
*
audio_output_get_name
(
const
struct
audio_output
*
ao
);
void
audio_output_closed
(
struct
audio_output
*
ao
);
/**
* Returns true if there is a command pending.
*/
...
...
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