Skip to content

Commit 6f16c8e

Browse files
committed
Use 0.f instead of 0 in std::fill call
1 parent 4723bdb commit 6f16c8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/audio/AudioPortAudio.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ int AudioPortAudio::processCallback(const void*, void* output, unsigned long fra
194194
{
195195
if (device->m_outBufPos == 0 && device->getNextBuffer(device->m_outBuf.data()) == 0)
196196
{
197-
std::fill(outputBuffer + frame * device->channels(), outputBuffer + frameCount * device->channels(), 0);
197+
std::fill(outputBuffer + frame * device->channels(), outputBuffer + frameCount * device->channels(), 0.f);
198198
return paComplete;
199199
}
200200

0 commit comments

Comments
 (0)