[Openal-devel] Simplest way to play a frame previously captured.
j at junglecat.org
Thu Jun 30 16:29:48 PDT 2011
Hi all. I've got the following code below but I'm very new to audio programming. What is the simplest way to playback the frames that I saved from the default input device? I've seen several demos on the internet such as an echo client but they create the audio themselves instead of reading from an input queue.
p.s. I know that using std::string is a bad idea, this is just a prototype.
while (m_direction == direction_out)
* Get the next frame.
const std::string & frame = input_frames_.front();
// playback the frame
More information about the Openal-devel