audio_core/cubeb_sink: Resolve variable shadowing warnings in SamplesInQueue

The name of the parameter was shadowing the member variable of the same
name. Instead, alter the name of the parameter to prevent said
shadowing.
This commit is contained in:
Lioncash 2019-02-25 09:28:48 -05:00
parent a12f4efa2f
commit 7cdeec20ec
1 changed files with 2 additions and 2 deletions

View File

@ -75,11 +75,11 @@ public:
queue.Push(samples); queue.Push(samples);
} }
std::size_t SamplesInQueue(u32 num_channels) const override { std::size_t SamplesInQueue(u32 channel_count) const override {
if (!ctx) if (!ctx)
return 0; return 0;
return queue.Size() / num_channels; return queue.Size() / channel_count;
} }
void Flush() override { void Flush() override {