2
$\begingroup$

I am trying to make a method in my simple application which is like SetSilence(); Now If I have audio (mono) PCM 16 bit Signed - should I fill all data with 0 values? And for PCM 16 Unsigned with 32768 values?

$\endgroup$
  • $\begingroup$ Aren't there libraries that do this sort of thing for you? $\endgroup$ – endolith Jul 20 '12 at 16:21
  • $\begingroup$ If I can do something at my own, I'm doing it. I like to know what is inside. $\endgroup$ – apocalypse Jul 25 '12 at 11:42
8
$\begingroup$

Yes, this is correct. Other values would cause a DC offset.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.