mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b=987976 rename ComputeFinalOuputChannelCount ComputedNumberOfChannels to match spec r=padenot
to remove any implication that the function might be for calculating the number of output channels for an AudioNode. --HG-- extra : transplant_source : %D9%12%BB%23n%92%EB%F7%1Df%11%3F%04%B4z%606%ADT%3A
This commit is contained in:
parent
0500cf197d
commit
4b2a8a221e
@ -239,7 +239,7 @@ AudioNodeStream::SetChannelMixingParametersImpl(uint32_t aNumberOfChannels,
|
||||
}
|
||||
|
||||
uint32_t
|
||||
AudioNodeStream::ComputeFinalOuputChannelCount(uint32_t aInputChannelCount)
|
||||
AudioNodeStream::ComputedNumberOfChannels(uint32_t aInputChannelCount)
|
||||
{
|
||||
switch (mChannelCountMode) {
|
||||
case ChannelCountMode::Explicit:
|
||||
@ -298,7 +298,7 @@ AudioNodeStream::ObtainInputBlock(AudioChunk& aTmpChunk, uint32_t aPortIndex)
|
||||
GetAudioChannelsSuperset(outputChannelCount, chunk->mChannelData.Length());
|
||||
}
|
||||
|
||||
outputChannelCount = ComputeFinalOuputChannelCount(outputChannelCount);
|
||||
outputChannelCount = ComputedNumberOfChannels(outputChannelCount);
|
||||
|
||||
uint32_t inputChunkCount = inputChunks.Length();
|
||||
if (inputChunkCount == 0 ||
|
||||
|
@ -165,7 +165,7 @@ protected:
|
||||
nsTArray<const void*>& aOutputChannels,
|
||||
nsTArray<float>& aDownmixBuffer);
|
||||
|
||||
uint32_t ComputeFinalOuputChannelCount(uint32_t aInputChannelCount);
|
||||
uint32_t ComputedNumberOfChannels(uint32_t aInputChannelCount);
|
||||
void ObtainInputBlock(AudioChunk& aTmpChunk, uint32_t aPortIndex);
|
||||
|
||||
// The engine that will generate output for this node.
|
||||
|
Loading…
Reference in New Issue
Block a user