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:
@@ -245,7 +245,6 @@ static void mvp_dropBufferedAudio(void *data)
|
|||||||
ioctl(md->fd, MVP_SET_AUD_RESET, 0x11);
|
ioctl(md->fd, MVP_SET_AUD_RESET, 0x11);
|
||||||
close(md->fd);
|
close(md->fd);
|
||||||
md->fd = -1;
|
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;
|
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)
|
bool audio_output_is_pending(const struct audio_output *ao)
|
||||||
{
|
{
|
||||||
return ao->command != AO_COMMAND_NONE;
|
return ao->command != AO_COMMAND_NONE;
|
||||||
|
@@ -133,8 +133,6 @@ struct audio_output;
|
|||||||
|
|
||||||
const char *audio_output_get_name(const struct audio_output *ao);
|
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.
|
* Returns true if there is a command pending.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user