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:
Max Kellermann 2009-01-30 19:47:59 +01:00
parent eeec32feaa
commit a2e0b71aad
3 changed files with 0 additions and 10 deletions

View File

@ -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);
}
}

View File

@ -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;

View File

@ -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.
*/