1
0
Fork 0
forked from len0rd/rockbox

sdl: silence audio driver debug output

Change-Id: I7aae3419f56f9cf952d9383f2a6cf9e9950e9a6d
This commit is contained in:
Franklin Wei 2019-07-07 22:01:36 -04:00
parent 71922db6cf
commit c2411f785c

View file

@ -82,7 +82,7 @@ static void get_more(const void **start, size_t *size)
if(this->hidden->status[idx] == 1) if(this->hidden->status[idx] == 1)
{ {
/* Play this one. */ /* Play this one. */
LOGF("Playing buffer %d", idx); //LOGF("Playing buffer %d", idx);
*start = this->hidden->rb_buf[idx]; *start = this->hidden->rb_buf[idx];
*size = this->hidden->mixlen; *size = this->hidden->mixlen;
@ -163,7 +163,7 @@ static void ROCKBOXAUD_PlayAudio(_THIS)
memcpy(dst + size, src + size, this->hidden->mixlen - size); memcpy(dst + size, src + size, this->hidden->mixlen - size);
LOGF("filled buffer %d (status %d %d %d)", idx, this->hidden->status[0], this->hidden->status[1], this->hidden->status[2]); //LOGF("filled buffer %d (status %d %d %d)", idx, this->hidden->status[0], this->hidden->status[1], this->hidden->status[2]);
} }
static SDL_AudioDevice *ROCKBOXAUD_CreateDevice(int devindex) static SDL_AudioDevice *ROCKBOXAUD_CreateDevice(int devindex)