summaryrefslogtreecommitdiff
path: root/apps/playback.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playback.c')
-rw-r--r--apps/playback.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 1a638eb7c8..d2d9bb6a34 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -136,7 +136,6 @@ enum {
Q_AUDIO_POSTINIT,
Q_AUDIO_FILL_BUFFER,
Q_AUDIO_FINISH_LOAD,
- Q_AUDIO_RESTORE_BUFFER,
Q_CODEC_REQUEST_COMPLETE,
Q_CODEC_REQUEST_FAILED,
@@ -491,12 +490,6 @@ int audio_buffer_state(void)
return buffer_state;
}
-void audio_buffer_reset(void)
-{
- LOGFQUEUE("audio_queue >| Q_AUDIO_RESTORE_BUFFER");
- queue_send(&audio_queue, Q_AUDIO_RESTORE_BUFFER, 0);
-}
-
#ifdef HAVE_RECORDING
unsigned char *audio_get_recording_buffer(size_t *buffer_size)
{
@@ -2396,12 +2389,6 @@ static void audio_thread(void)
audio_finish_load_track();
break;
- case Q_AUDIO_RESTORE_BUFFER:
- LOGFQUEUE("audio < Q_AUDIO_RESTORE_BUFFER");
- if (buffer_state != AUDIOBUF_STATE_INITIALIZED)
- audio_reset_buffer();
- break;
-
case Q_AUDIO_PLAY:
LOGFQUEUE("audio < Q_AUDIO_PLAY");
if (playing && ev.data <= 0)