output_api: removed audio_output_closed()
The function is only used by the MVP output plugin, and this one call is wrong.
This commit is contained in:
parent
eeec32feaa
commit
a2e0b71aad
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue