···173173 pcmbuf_read = pcmbuf_written;
174174}
175175176176+static const struct mixer_play_cbs mixer_cbs = {
177177+ .get_more = get_more,
178178+};
179179+176180/** Public interface **/
177181178182/* Return a buffer pointer if at least size bytes are available and if so,
···236240237241 /* Restart if playing state was current */
238242 if (status == CHANNEL_PLAYING)
239239- rb->mixer_channel_play_data(MPEG_PCM_CHANNEL,
240240- get_more, NULL, 0);
243243+ rb->mixer_channel_play_data(MPEG_PCM_CHANNEL, &mixer_cbs, NULL, 0);
241244}
242245243246/* Seek the reference clock to the specified time - next audio data ready to
···318321 if (play)
319322 {
320323 rb->mixer_channel_set_amplitude(MPEG_PCM_CHANNEL, MIX_AMP_UNITY);
321321- rb->mixer_channel_play_data(MPEG_PCM_CHANNEL,
322322- get_more, NULL, 0);
324324+ rb->mixer_channel_play_data(MPEG_PCM_CHANNEL, &mixer_cbs, NULL, 0);
323325 }
324326 }
325327}
···212212 = my_buf[j+10] = my_buf[j+11] \
213213 = (((byte)sp_sound_buf[i])<<8) >> settings.volume;
214214215215- rb->mixer_channel_play_data(PCM_MIXER_CHAN_PLAYBACK, get_more, (unsigned char*)(my_buf),TMNUM*4*3*2);
215215+ static const struct mixer_play_cbs cbs = {
216216+ .get_more = get_more,
217217+ };
218218+ rb->mixer_channel_play_data(PCM_MIXER_CHAN_PLAYBACK, &cbs, (unsigned char*)(my_buf),TMNUM*4*3*2);
216219217220#if 0
218221 /* can use to save and later analyze what we produce */