Lines Matching refs:channel
13 /* The data storage for channel sources is optimized
37 int GetOutputChannelType(int channel);
38 void SetOutputChannelGain(int channel,
40 float GetOutputChannelGain(int channel);
42 // The sources for each channel
43 void AddOutputChannelSource(int channel,
45 void RemoveOutputChannelSource(int channel,
47 void SetOutputChannelSourceGain(int channel,
50 float GetOutputChannelSourceGain(int channel,
52 bool HasOutputChannelSource(int channel,
60 // For iteration of a channel's sources
61 int GetOutputChannelSourceCount(int channel);
62 void GetOutputChannelSourceInfoAt(int channel,
78 // channel type, but the count should be the same
109 MixerOutput::GetOutputChannelGain(int channel)
111 if (channel < 0 || channel >= fOutputChannelCount)
113 return fOutputChannelInfo[channel].channel_gain;
118 MixerOutput::GetOutputChannelSourceCount(int channel)
120 ASSERT(channel >= 0 && channel < fOutputChannelCount);
121 return fOutputChannelInfo[channel].source_count;
125 inline void MixerOutput::GetOutputChannelSourceInfoAt(int channel,
130 ASSERT(channel >= 0 && channel < fOutputChannelCount);
131 ASSERT(source_index >= 0 && source_index < fOutputChannelInfo[channel].source_count);
132 *source_type = fOutputChannelInfo[channel].source_type[source_index];
133 *source_gain = fOutputChannelInfo[channel].source_gain[source_index];