diff options
Diffstat (limited to 'apps/plugins/zxbox')
-rw-r--r-- | apps/plugins/zxbox/spsound.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/plugins/zxbox/spsound.c b/apps/plugins/zxbox/spsound.c index 8b3aa3d84f..9d3eefa87f 100644 --- a/apps/plugins/zxbox/spsound.c +++ b/apps/plugins/zxbox/spsound.c | |||
@@ -189,12 +189,11 @@ void autoclose_sound(void) | |||
189 | } | 189 | } |
190 | #endif | 190 | #endif |
191 | } | 191 | } |
192 | static void get_more(unsigned char** start, size_t* size) | 192 | static void get_more(const void** start, size_t* size) |
193 | { | 193 | { |
194 | doneplay = 1; | 194 | doneplay = 1; |
195 | rb->pcm_play_stop(); | 195 | (void)start; |
196 | (void)*start; | 196 | (void)size; |
197 | (void)*size; | ||
198 | } | 197 | } |
199 | 198 | ||
200 | /* sp_sound_buf is Unsigned 8 bit, Rate 8000 Hz, Mono */ | 199 | /* sp_sound_buf is Unsigned 8 bit, Rate 8000 Hz, Mono */ |
@@ -219,7 +218,7 @@ static void write_buf(void){ | |||
219 | = my_buf[j+10] = my_buf[j+11] \ | 218 | = my_buf[j+10] = my_buf[j+11] \ |
220 | = (((byte)sp_sound_buf[i])<<8) >> settings.volume; | 219 | = (((byte)sp_sound_buf[i])<<8) >> settings.volume; |
221 | 220 | ||
222 | rb->pcm_play_data(&get_more,(unsigned char*)(my_buf),TMNUM*4*3*2); | 221 | rb->pcm_play_data(&get_more,NULL,(unsigned char*)(my_buf),TMNUM*4*3*2); |
223 | 222 | ||
224 | #if 0 | 223 | #if 0 |
225 | /* can use to save and later analyze what we produce */ | 224 | /* can use to save and later analyze what we produce */ |