kopia lustrzana https://gitlab.com/eliggett/wfview
Compile issue
rodzic
5fb9588c4a
commit
fe0fc0a5bb
|
@ -162,7 +162,7 @@ void cwSidetone::stop()
|
||||||
qint64 cwSidetone::readData(char *data, qint64 len)
|
qint64 cwSidetone::readData(char *data, qint64 len)
|
||||||
{
|
{
|
||||||
QMutexLocker locker(&mutex);
|
QMutexLocker locker(&mutex);
|
||||||
const qint64 total = qMin((buffer.size()), len);
|
const int total = qMin(((int)buffer.size()), (int)len);
|
||||||
memcpy(data, buffer.constData(), total);
|
memcpy(data, buffer.constData(), total);
|
||||||
buffer.remove(0,total);
|
buffer.remove(0,total);
|
||||||
if (buffer.size() == 0) {
|
if (buffer.size() == 0) {
|
||||||
|
|
Ładowanie…
Reference in New Issue