forked from len0rd/rockbox
Cleanup r26253 red and yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26254 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d56999890f
commit
1f5b9434da
3 changed files with 4 additions and 4 deletions
|
|
@ -32,7 +32,7 @@
|
|||
/* These are global to save some latency when pcm_play_dma_get_peak_buffer is
|
||||
* called.
|
||||
*/
|
||||
static unsigned char *start;
|
||||
static void *start;
|
||||
static size_t size;
|
||||
|
||||
void pcm_postinit(void)
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@ static void sdl_audio_callback(struct pcm_udata *udata, Uint8 *stream, int len)
|
|||
|
||||
/* Audio card wants more? Get some more then. */
|
||||
while (len > 0) {
|
||||
pcm_play_get_more_callback(&pcm_data, &pcm_data_size);
|
||||
pcm_play_get_more_callback((void **)&pcm_data, &pcm_data_size);
|
||||
start:
|
||||
if (pcm_data_size != 0) {
|
||||
udata->num_in = pcm_data_size / pcm_sample_bytes;
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ static inline void set_dma(const void *addr, size_t size)
|
|||
|
||||
static inline void play_dma_callback(void)
|
||||
{
|
||||
unsigned char *start;
|
||||
void *start;
|
||||
size_t size;
|
||||
|
||||
pcm_play_get_more_callback(&start, &size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue