diff options
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index a059a8d035..0ce214cbde 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -667,7 +667,7 @@ int plugin_load(const char* plugin, void* parameter) | |||
667 | 667 | ||
668 | /* Returns a pointer to the portion of the plugin buffer that is not already | 668 | /* Returns a pointer to the portion of the plugin buffer that is not already |
669 | being used. If no plugin is loaded, returns the entire plugin buffer */ | 669 | being used. If no plugin is loaded, returns the entire plugin buffer */ |
670 | void* plugin_get_buffer(int* buffer_size) | 670 | void* plugin_get_buffer(size_t *buffer_size) |
671 | { | 671 | { |
672 | int buffer_pos; | 672 | int buffer_pos; |
673 | 673 | ||
@@ -692,10 +692,10 @@ void* plugin_get_buffer(int* buffer_size) | |||
692 | Playback gets stopped, to avoid conflicts. | 692 | Playback gets stopped, to avoid conflicts. |
693 | Talk buffer is stolen as well. | 693 | Talk buffer is stolen as well. |
694 | */ | 694 | */ |
695 | void* plugin_get_audio_buffer(int* buffer_size) | 695 | void* plugin_get_audio_buffer(size_t *buffer_size) |
696 | { | 696 | { |
697 | #if CONFIG_CODEC == SWCODEC | 697 | #if CONFIG_CODEC == SWCODEC |
698 | return audio_get_buffer(true, (size_t *)buffer_size); | 698 | return audio_get_buffer(true, buffer_size); |
699 | #else | 699 | #else |
700 | audio_stop(); | 700 | audio_stop(); |
701 | talk_buffer_steal(); /* we use the mp3 buffer, need to tell */ | 701 | talk_buffer_steal(); /* we use the mp3 buffer, need to tell */ |