mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Ref T730, style
This commit is contained in:
committed by
Mat Sutcliffe
parent
6071e77b7f
commit
2fed1e7e99
@@ -17,12 +17,12 @@ namespace BlackSound
|
||||
{
|
||||
if (count > m_tempBufferSize)
|
||||
{
|
||||
qDebug() << "Count too large for temp buffer";
|
||||
qDebug() << "Count too large for temp buffer" << count;
|
||||
return 0;
|
||||
}
|
||||
qint64 availableSamples = m_resourceSound.audioData().size() - m_position;
|
||||
|
||||
qint64 samplesToCopy = qMin(availableSamples, count);
|
||||
const qint64 samplesToCopy = qMin(availableSamples, count);
|
||||
samples.clear();
|
||||
samples.fill(0, samplesToCopy);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user