Rockbox mail archive
Subject: Re: sdl_audio_callback: No Data.
Re: sdl_audio_callback: No Data.
FWIW, you get this same condition when the buffer plays until it's
empty, e.g. when no more songs are in the playlist and the last samples
are played. It does sound a lot like a buffer underrun to me.
David Johnston wrote:
> sdl_audio_callback: No Data.
> Can anyone tell me what causes this error? I'm trying to make some
> tweaks to the pitch screen based on a conversation I was involved in a
> few days ago in IRC. When I enabled semitone pitch adjustment and
> timestretching at the same time and adjusted up a half step, my h120
> simulator spat out that error and skipped to the next song. Not being
> well versed in the workings of the timestretching or sound output code
> I'm not sure what's going on. It seems like a buffer underrun of some
> sort, but I don't know why a half-step change in pitch would do that.
> The problem doesn't occur when adjusting speed, or when adjusting
> pitch by percentage. It only occurs when adjusting pitch by semitone
> from an unprocessed position (speed == pitch). It's as if starting up
> the timestretching with such a large change just shocks the player
> into not doing anything and just skipping to the next song.
Received on 2009-06-17
Page was last modified "Jan 10 2012" The Rockbox Crew