Re: Hi friends

Ralph Giles <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.vorbis.general
Message-ID <[email protected]>
On Tue, Sep 8, 2009 at 12:12 AM,
krishnakumar<[email protected]> wrote:

> I want to do encoding concurrently while recording.
> Help me how to pass the memory input to the Vorbis encoding engine.

Take a look at encoder_example.c included with the libvorbis source.
You want to replace the code that reads the audio buffer from a file
with code to copy it from your capture buffer. You will probably want
to maintain a ring buffer for this to allow for some separation
between the capture and encoding threads.

HTH,
 -r
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.