AudioInput->start(InputBuffer);
QByteArray & QBuffer::buffer()Returns a reference to the QBuffer's internal buffer. You can use it to modify the QByteArray behind the QBuffer's back.
C++ (Qt)QBuffer buf;ai->start(&buf);// Вырезаю 1 секунду из буфераQByteArray data = buf.buffer();data.clear();
qDebug() << InputBuffer->size();InputBuffer->buffer()->remove(0, 15360);qDebug() << InputBuffer->size();