Hi,

I use AudioTrack for several projects and haven't had a problem.

However, as I was learning to use it, I had lots of small issues
related to:

1. Not filling the buffer correctly as you think - double check your
code. Even if you are missing one PCM sample you will get a click.

2. If using a streaming buffer AudioTrack, you have to keep the buffer
full. If you have any gaps you will get clicks.

I'd say the problem is in your code somewhere. You probably have some
off by one error or negative/positive error or missing a couple of
samples, or such.

Also never hurts to load your PCM data into Audacity to double check
how it sounds.

-niko

On Dec 15, 7:37 am, Business Talk <roman.businesst...@gmail.com>
wrote:
> I am getting this clicking sound when playing static pcm data. Anybody
> out there is having the same problem? This is not the data issue. I am
> sure of it.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to