start the input and output device like this
m_output= m_audioOutput->start();
m_input = m_audioInput->start();
connect(m_input, SIGNAL(readyRead()), SLOT(readMore()));
m_output= m_audioOutput->start();
m_input = m_audioInput->start();
connect(m_input, SIGNAL(readyRead()), SLOT(readMore()));
To copy to clipboard, switch view to plain text mode
and write the input sample to output in readMore()
m_output->write(outdata, len);
m_output->write(outdata, len);
To copy to clipboard, switch view to plain text mode
Check this article in code project that record from microphone and play back to speaker simultaneously
http://www.codeproject.com/Articles/...essing-Utility
Bookmarks