02-21-2013 10:02 AM
This was only after I bumped it to the maximum priority, of 63. I had it at 52 for awhile and it wasn't long before I heard one of the glitches.
Please do not do this! Setting the priority this high can potentially starve out interrupt handlers. In the words of the audio lead: "bad things will happen"
That being said.. please send me your bar file with prio set to like ~20, Peter. I will run it by the audio guys today if possible.
03-09-2013 01:39 PM
I'm very interested in a solution on this thread as I too am experiencing similar issues with an app that generates dynamic sin waves. When the device goes into sleep mode, I get all sorts of audio choppiness.
The problem happens with SDL or libasound.
03-09-2013 02:12 PM
03-09-2013 02:21 PM
03-09-2013 04:14 PM
@peter9477 - thanks for that great info!
I'm just testing with the dev alpha still. Haven't given it up yet . I'll get someone with a real z10 to try it out with the latest OS update to see what happens.
The problem doesn't happen only in sleep mode - it happens whenever I minimize the app (although not necessarily when the app is minimized) or bring it back to full screen. The problem is definitely exagerated when in sleep mode though but isn't consistent at all.
I've changed to use a fast sin approximation and decreased the sample rate to 11khz and it's still there. I've done as much optimization as I possibly can (or at least to my knowledge) so perhaps my next step is getting it tested on an actual z10 with the latest update.
I'm going to take a look at pidin when I get a chance.
Again, thanks for the info.
03-09-2013 04:21 PM