diff options
Diffstat (limited to 'apps/codec_thread.c')
-rw-r--r-- | apps/codec_thread.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/codec_thread.c b/apps/codec_thread.c index 9b17d7cf42..65a7ebc7d5 100644 --- a/apps/codec_thread.c +++ b/apps/codec_thread.c | |||
@@ -337,12 +337,6 @@ static void codec_advance_buffer_callback(size_t amount) | |||
337 | codec_set_offset_callback(ci.curpos); | 337 | codec_set_offset_callback(ci.curpos); |
338 | } | 338 | } |
339 | 339 | ||
340 | static void codec_advance_buffer_loc_callback(void *ptr) | ||
341 | { | ||
342 | size_t amount = buf_get_offset(get_audio_hid(), ptr); | ||
343 | codec_advance_buffer_callback(amount); | ||
344 | } | ||
345 | |||
346 | static bool codec_seek_buffer_callback(size_t newpos) | 340 | static bool codec_seek_buffer_callback(size_t newpos) |
347 | { | 341 | { |
348 | logf("codec_seek_buffer_callback"); | 342 | logf("codec_seek_buffer_callback"); |
@@ -443,7 +437,6 @@ void codec_init_codec_api(void) | |||
443 | ci.read_filebuf = codec_filebuf_callback; | 437 | ci.read_filebuf = codec_filebuf_callback; |
444 | ci.request_buffer = codec_request_buffer_callback; | 438 | ci.request_buffer = codec_request_buffer_callback; |
445 | ci.advance_buffer = codec_advance_buffer_callback; | 439 | ci.advance_buffer = codec_advance_buffer_callback; |
446 | ci.advance_buffer_loc = codec_advance_buffer_loc_callback; | ||
447 | ci.seek_buffer = codec_seek_buffer_callback; | 440 | ci.seek_buffer = codec_seek_buffer_callback; |
448 | ci.seek_complete = codec_seek_complete_callback; | 441 | ci.seek_complete = codec_seek_complete_callback; |
449 | ci.request_next_track = codec_request_next_track_callback; | 442 | ci.request_next_track = codec_request_next_track_callback; |