summaryrefslogtreecommitdiff
path: root/src/audiocacheeventhandler.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2024-03-25 14:42:10 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2024-03-25 15:35:50 +0100
commit2b86429f762d8d977ceb4d610189e7c01fc52ee8 (patch)
treeebf166bd5d6b346e2fbf7ecda5200d33d02ba5c8 /src/audiocacheeventhandler.cc
parent417b100482d141e8fb19b8b8867360c79ae11b98 (diff)
Linter fixes for audiocachefile.cc
Diffstat (limited to 'src/audiocacheeventhandler.cc')
-rw-r--r--src/audiocacheeventhandler.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audiocacheeventhandler.cc b/src/audiocacheeventhandler.cc
index a0327b5..e5c1bdc 100644
--- a/src/audiocacheeventhandler.cc
+++ b/src/audiocacheeventhandler.cc
@@ -115,7 +115,7 @@ void AudioCacheEventHandler::unlock()
}
void AudioCacheEventHandler::pushLoadNextEvent(AudioCacheFile* afile,
- size_t channel,
+ size_t channel_index,
size_t pos, sample_t* buffer,
volatile bool* ready)
{
@@ -124,8 +124,8 @@ void AudioCacheEventHandler::pushLoadNextEvent(AudioCacheFile* afile,
cache_event.pos = pos;
cache_event.afile = afile;
- CacheChannel c;
- c.channel = channel;
+ CacheChannel c{};
+ c.channel_index = channel_index;
c.samples = buffer;
*ready = false;