[Speex-dev] frame of silence
David Hogan
david.hogan at freshtel.net
Wed Feb 14 12:37:25 PST 2007
Forgive me if I misunderstood your question, but can't you just
overwrite the decoded audio buffer (either before encoding or after
decoding, depending on what you are trying to do) with zeros?
Cheers,
David Hogan
________________________________
From: speex-dev-bounces at xiph.org
[mailto:speex-dev-bounces at xiph.org] On Behalf Of Chris Cowden
Sent: Thursday, 15 February 2007 3:43 AM
To: speex-dev at xiph.org
Subject: [Speex-dev] frame of silence
Hi, I'm new to this list. I'm using Speex as the base codec in a
voice chat application (with DirectSound as the audio playback/capture
interface).
To help me debug some of my network-related issues, I would
really like to insert frames of "silence" into speech. Is there a
convenient function call or API call that takes in a buffer that is the
size of a frame and writes a frame of "silence" to it?
I'm not sure if I'm wording the question well, so any feedback
would be greatly appreciated!
Btw, I am really enjoying using this codec and look forward to
getting this working! Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070215/412e12a8/attachment.htm
More information about the Speex-dev
mailing list