diff options
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 412d86b4c9..7a9875ac2c 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -238,7 +238,7 @@ static const struct plugin_api rockbox_api = { | |||
238 | get_time, | 238 | get_time, |
239 | set_time, | 239 | set_time, |
240 | plugin_get_buffer, | 240 | plugin_get_buffer, |
241 | plugin_get_mp3_buffer, | 241 | plugin_get_audio_buffer, |
242 | #ifndef SIMULATOR | 242 | #ifndef SIMULATOR |
243 | plugin_register_timer, | 243 | plugin_register_timer, |
244 | plugin_unregister_timer, | 244 | plugin_unregister_timer, |
@@ -407,12 +407,12 @@ void* plugin_get_buffer(int* buffer_size) | |||
407 | 407 | ||
408 | /* Returns a pointer to the mp3 buffer. | 408 | /* Returns a pointer to the mp3 buffer. |
409 | Playback gets stopped, to avoid conflicts. */ | 409 | Playback gets stopped, to avoid conflicts. */ |
410 | void* plugin_get_mp3_buffer(int* buffer_size) | 410 | void* plugin_get_audio_buffer(int* buffer_size) |
411 | { | 411 | { |
412 | audio_stop(); | 412 | audio_stop(); |
413 | talk_buffer_steal(); /* we use the mp3 buffer, need to tell */ | 413 | talk_buffer_steal(); /* we use the mp3 buffer, need to tell */ |
414 | *buffer_size = mp3end - mp3buf; | 414 | *buffer_size = audiobufend - audiobuf; |
415 | return mp3buf; | 415 | return audiobuf; |
416 | } | 416 | } |
417 | 417 | ||
418 | #ifndef SIMULATOR | 418 | #ifndef SIMULATOR |