enalovej wrote:The result is nice, clean sine waves without any of the pops and clicks that seem to creep in when I use MODE_STREAM.
Did your reply get lost in the quote? If you were trying to hint that my 'pops and clicks' were coming from malformed samples, I can assure you I can get a very good sounding stream with MODE_STREAM most of the time, but any delays to AudioTrack.write() cause pops, which isn't entirely within my control. Increasing my buffer sizes is an option, but this will result in latency between user actions and the audio stream, which I'd like to minimize.
MODE_STATIC is definitely the way to go here if I can get around this kill issue.