Home
last modified time | relevance | path

Searched refs:channelIndex (Results 1 – 25 of 449) sorted by relevance

12345678910>>...18

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/made/
H A Dscreen.cpp234 if (channelIndex < 1 || channelIndex >= 100) in deleteChannel()
242 if (channelIndex < 1 || channelIndex >= 100) in getChannelType()
248 if (channelIndex < 1 || channelIndex >= 100) in getChannelState()
254 if (channelIndex < 1 || channelIndex >= 100 || _channels[channelIndex - 1].type == 0) in setChannelState()
260 if (channelIndex < 1 || channelIndex >= 100 || _channels[channelIndex - 1].type == 0) in setChannelLocation()
268 if (channelIndex < 1 || channelIndex >= 100 || _channels[channelIndex - 1].type == 0) in setChannelContent()
275 if (channelIndex < 1 || channelIndex >= 100) in setChannelUseMask()
437 if (channelIndex < 1 || channelIndex >= 100) in placeSprite()
483 if (channelIndex < 1 || channelIndex >= 100) in placeAnim()
528 if (channelIndex < 1 || channelIndex >= 100 || _channels[channelIndex - 1].type == 0) in setAnimFrame()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/made/
H A Dscreen.cpp234 if (channelIndex < 1 || channelIndex >= 100) in deleteChannel()
242 if (channelIndex < 1 || channelIndex >= 100) in getChannelType()
248 if (channelIndex < 1 || channelIndex >= 100) in getChannelState()
254 if (channelIndex < 1 || channelIndex >= 100 || _channels[channelIndex - 1].type == 0) in setChannelState()
260 if (channelIndex < 1 || channelIndex >= 100 || _channels[channelIndex - 1].type == 0) in setChannelLocation()
268 if (channelIndex < 1 || channelIndex >= 100 || _channels[channelIndex - 1].type == 0) in setChannelContent()
275 if (channelIndex < 1 || channelIndex >= 100) in setChannelUseMask()
437 if (channelIndex < 1 || channelIndex >= 100) in placeSprite()
483 if (channelIndex < 1 || channelIndex >= 100) in placeAnim()
528 if (channelIndex < 1 || channelIndex >= 100 || _channels[channelIndex - 1].type == 0) in setAnimFrame()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/sci/sound/
H A Daudio32.cpp245 for (int16 channelIndex = 0; channelIndex < _numActiveChannels; ++channelIndex) { in getNumChannelsToMix() local
347 for (int16 channelIndex = 0; channelIndex < _numActiveChannels; ++channelIndex) { in readBuffer() local
355 stop(channelIndex--); in readBuffer()
362 --channelIndex; in readBuffer()
563 for (int16 channelIndex = 0; channelIndex < _numActiveChannels; ++channelIndex) { in freeUnusedChannels() local
746 stop(channelIndex); in stopRobotAudio()
1068 if (channelIndex < 0 || channelIndex >= _numActiveChannels) { in setLoop()
1096 if (channelIndex < 0 || channelIndex >= _numActiveChannels) { in getVolume()
1119 if (channelIndex < 0 || channelIndex >= _numActiveChannels) { in fadeChannel()
1151 stop(channelIndex); in processFade()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sci/sound/
H A Daudio32.cpp246 for (int16 channelIndex = 0; channelIndex < _numActiveChannels; ++channelIndex) { in getNumChannelsToMix() local
348 for (int16 channelIndex = 0; channelIndex < _numActiveChannels; ++channelIndex) { in readBuffer() local
356 stop(channelIndex--); in readBuffer()
363 --channelIndex; in readBuffer()
553 for (int16 channelIndex = 0; channelIndex < _numActiveChannels; ++channelIndex) { in freeUnusedChannels() local
736 stop(channelIndex); in stopRobotAudio()
1058 if (channelIndex < 0 || channelIndex >= _numActiveChannels) { in setLoop()
1086 if (channelIndex < 0 || channelIndex >= _numActiveChannels) { in getVolume()
1109 if (channelIndex < 0 || channelIndex >= _numActiveChannels) { in fadeChannel()
1141 stop(channelIndex); in processFade()
[all …]
H A Daudio32.h306 assert(channelIndex >= 0 && channelIndex < _numActiveChannels); in getChannel()
307 return _channels[channelIndex]; in getChannel()
315 assert(channelIndex >= 0 && channelIndex < _numActiveChannels); in getChannel()
316 return _channels[channelIndex]; in getChannel()
327 void freeChannel(const int16 channelIndex);
468 bool resume(const int16 channelIndex);
477 bool pause(const int16 channelIndex);
486 int16 stop(const int16 channelIndex);
520 getChannel(channelIndex).pan = pan; in setPan()
541 int16 getVolume(const int16 channelIndex) const;
[all …]
/dports/devel/raknet/raknet-3.9.2_10,1/Source/
H A DLogCommandParser.cpp34 unsigned channelIndex; in OnCommand() local
59 unsigned channelIndex; in OnCommand() local
98 unsigned channelIndex; in AddChannel() local
122 unsigned channelIndex; in WriteLog() local
124 if (channelIndex==(unsigned)-1) in WriteLog()
206 unsigned channelIndex; in Unsubscribe() local
212 return channelIndex; in Unsubscribe()
225 if (channelIndex==(unsigned)-1) in Subscribe()
226 return channelIndex; in Subscribe()
237 return channelIndex; in Subscribe()
[all …]
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/vst3sdk/public.sdk/source/vst/
H A Dvstaudioprocessoralgo.h86 for (int32 channelIndex = 0; channelIndex < audioBuffer.numChannels; ++channelIndex) in foreach32() local
88 if (!audioBuffer.channelBuffers32[channelIndex]) in foreach32()
99 for (int32 channelIndex = 0; channelIndex < audioBuffer.numChannels; ++channelIndex) in foreach64() local
114 for (int32 channelIndex = 0; channelIndex < numChannels; ++channelIndex) in foreach32() local
116 func (buffer1.channelBuffers32[channelIndex], buffer2.channelBuffers32[channelIndex], in foreach32()
117 channelIndex); in foreach32()
127 for (int32 channelIndex = 0; channelIndex < numChannels; ++channelIndex) in foreach64() local
129 func (buffer1.channelBuffers64[channelIndex], buffer2.channelBuffers64[channelIndex], in foreach64()
130 channelIndex); in foreach64()
214 for (int32 channelIndex = 0; channelIndex < audioBuffer.numChannels; ++channelIndex) variable
[all …]
/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/public.sdk/source/vst/
H A Dvstaudioprocessoralgo.h86 for (int32 channelIndex = 0; channelIndex < audioBuffer.numChannels; ++channelIndex) in foreach32() local
88 if (!audioBuffer.channelBuffers32[channelIndex]) in foreach32()
99 for (int32 channelIndex = 0; channelIndex < audioBuffer.numChannels; ++channelIndex) in foreach64() local
114 for (int32 channelIndex = 0; channelIndex < numChannels; ++channelIndex) in foreach32() local
116 func (buffer1.channelBuffers32[channelIndex], buffer2.channelBuffers32[channelIndex], in foreach32()
117 channelIndex); in foreach32()
127 for (int32 channelIndex = 0; channelIndex < numChannels; ++channelIndex) in foreach64() local
129 func (buffer1.channelBuffers64[channelIndex], buffer2.channelBuffers64[channelIndex], in foreach64()
130 channelIndex); in foreach64()
239 for (int32 channelIndex = 0; channelIndex < audioBuffer.numChannels; ++channelIndex) variable
[all …]
/dports/games/flightgear/flightgear-2020.3.11/3rdparty/iaxclient/lib/portaudio/test/
H A Dpatest_multi_sine.c70 int frameIndex, channelIndex; in patestCallback() local
80 for( channelIndex=0; channelIndex<data->numChannels; channelIndex++ ) in patestCallback()
83 *out++ = (float) sin(data->phases[channelIndex]); in patestCallback()
86 data->phases[channelIndex] += FREQ_INCR * (4 + channelIndex); in patestCallback()
87 … if( data->phases[channelIndex] >= (2.0 * M_PI) ) data->phases[channelIndex] -= (2.0 * M_PI); in patestCallback()
95 for( channelIndex=0; channelIndex<data->numChannels; channelIndex++ ) in patestCallback()
98 outputs[channelIndex][frameIndex] = (float) sin(data->phases[channelIndex]); in patestCallback()
101 data->phases[channelIndex] += FREQ_INCR * (4 + channelIndex); in patestCallback()
102 … if( data->phases[channelIndex] >= (2.0 * M_PI) ) data->phases[channelIndex] -= (2.0 * M_PI); in patestCallback()
H A Ddebug_multi_out.c68 int frameIndex, channelIndex; in patestCallback() local
75 for( channelIndex=0; channelIndex<data->numChannels; channelIndex++ ) in patestCallback()
78 *out++ = (float) sin(data->phases[channelIndex]); in patestCallback()
81 data->phases[channelIndex] += FREQ_INCR * (4 + channelIndex); in patestCallback()
82 … if( data->phases[channelIndex] >= (2.0 * M_PI) ) data->phases[channelIndex] -= (2.0 * M_PI); in patestCallback()
/dports/emulators/mess/mame-mame0226/3rdparty/portaudio/test/
H A Dpatest_multi_sine.c77 int frameIndex, channelIndex; in patestCallback() local
87 for( channelIndex=0; channelIndex<data->numChannels; channelIndex++ ) in patestCallback()
90 *out++ = (float) sin(data->phases[channelIndex]); in patestCallback()
93 data->phases[channelIndex] += FREQ_INCR * (4 + channelIndex); in patestCallback()
94 … if( data->phases[channelIndex] >= (2.0 * M_PI) ) data->phases[channelIndex] -= (2.0 * M_PI); in patestCallback()
102 for( channelIndex=0; channelIndex<data->numChannels; channelIndex++ ) in patestCallback()
105 outputs[channelIndex][frameIndex] = (float) sin(data->phases[channelIndex]); in patestCallback()
108 data->phases[channelIndex] += FREQ_INCR * (4 + channelIndex); in patestCallback()
109 … if( data->phases[channelIndex] >= (2.0 * M_PI) ) data->phases[channelIndex] -= (2.0 * M_PI); in patestCallback()
/dports/emulators/mame/mame-mame0226/3rdparty/portaudio/test/
H A Dpatest_multi_sine.c77 int frameIndex, channelIndex; in patestCallback() local
87 for( channelIndex=0; channelIndex<data->numChannels; channelIndex++ ) in patestCallback()
90 *out++ = (float) sin(data->phases[channelIndex]); in patestCallback()
93 data->phases[channelIndex] += FREQ_INCR * (4 + channelIndex); in patestCallback()
94 … if( data->phases[channelIndex] >= (2.0 * M_PI) ) data->phases[channelIndex] -= (2.0 * M_PI); in patestCallback()
102 for( channelIndex=0; channelIndex<data->numChannels; channelIndex++ ) in patestCallback()
105 outputs[channelIndex][frameIndex] = (float) sin(data->phases[channelIndex]); in patestCallback()
108 data->phases[channelIndex] += FREQ_INCR * (4 + channelIndex); in patestCallback()
109 … if( data->phases[channelIndex] >= (2.0 * M_PI) ) data->phases[channelIndex] -= (2.0 * M_PI); in patestCallback()
/dports/audio/portaudio/portaudio/test/
H A Dpatest_multi_sine.c77 int frameIndex, channelIndex; in patestCallback() local
87 for( channelIndex=0; channelIndex<data->numChannels; channelIndex++ ) in patestCallback()
90 *out++ = (float) sin(data->phases[channelIndex]); in patestCallback()
93 data->phases[channelIndex] += FREQ_INCR * (4 + channelIndex); in patestCallback()
94 … if( data->phases[channelIndex] >= (2.0 * M_PI) ) data->phases[channelIndex] -= (2.0 * M_PI); in patestCallback()
102 for( channelIndex=0; channelIndex<data->numChannels; channelIndex++ ) in patestCallback()
105 outputs[channelIndex][frameIndex] = (float) sin(data->phases[channelIndex]); in patestCallback()
108 data->phases[channelIndex] += FREQ_INCR * (4 + channelIndex); in patestCallback()
109 … if( data->phases[channelIndex] >= (2.0 * M_PI) ) data->phases[channelIndex] -= (2.0 * M_PI); in patestCallback()
/dports/audio/supercollider/SuperCollider-3.11.0-Source/external_libraries/portaudio_sc_org/test/
H A Dpatest_multi_sine.c77 int frameIndex, channelIndex; in patestCallback() local
87 for( channelIndex=0; channelIndex<data->numChannels; channelIndex++ ) in patestCallback()
90 *out++ = (float) sin(data->phases[channelIndex]); in patestCallback()
93 data->phases[channelIndex] += FREQ_INCR * (4 + channelIndex); in patestCallback()
94 … if( data->phases[channelIndex] >= (2.0 * M_PI) ) data->phases[channelIndex] -= (2.0 * M_PI); in patestCallback()
102 for( channelIndex=0; channelIndex<data->numChannels; channelIndex++ ) in patestCallback()
105 outputs[channelIndex][frameIndex] = (float) sin(data->phases[channelIndex]); in patestCallback()
108 data->phases[channelIndex] += FREQ_INCR * (4 + channelIndex); in patestCallback()
109 … if( data->phases[channelIndex] >= (2.0 * M_PI) ) data->phases[channelIndex] -= (2.0 * M_PI); in patestCallback()
/dports/graphics/krita/krita-4.4.8/plugins/filters/colors/
H A Dkis_color_to_alpha.cpp64 inline void inverseOver(const int numChannels, const int *channelIndex, in inverseOver() argument
69 const int idx = channelIndex[i]; in inverseOver()
77 void applyToIterator(const int numChannels, const int *channelIndex, in applyToIterator() argument
122 QVector<int> channelIndex; in processImpl() local
144 channelIndex.append(i); in processImpl()
149 applyToIterator<quint8, qint16>(channelIndex.size(), channelIndex.data(), in processImpl()
154 applyToIterator<quint16, qint32>(channelIndex.size(), channelIndex.data(), in processImpl()
159 applyToIterator<quint32, qint64>(channelIndex.size(), channelIndex.data(), in processImpl()
165 applyToIterator<float, float>(channelIndex.size(), channelIndex.data(), in processImpl()
170 applyToIterator<double, double>(channelIndex.size(), channelIndex.data(), in processImpl()
[all …]
/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/public.sdk/source/vst/testsuite/processing/
H A Dsilenceprocessing.cpp106 for (int32 channelIndex = 0;
107 channelIndex < processData.inputs[busIndex].numChannels; channelIndex++)
109 processData.inputs[busIndex].silenceFlags |= (uint64)1 << (uint64)channelIndex;
111 memset (processData.inputs[busIndex].channelBuffers32[channelIndex], 0,
114 memset (processData.inputs[busIndex].channelBuffers32[channelIndex], 0,
127 for (int32 channelIndex = 0;
128 channelIndex < processData.inputs[busIndex].numChannels; channelIndex++)
130 << (uint64)channelIndex;
146 for (int32 channelIndex = 0; channelIndex < processData.outputs[busIndex].numChannels;
147 channelIndex++)
[all …]
/dports/lang/squeak/Squeak-4.10.2.2614-src/Cross/plugins/SoundGenerationPlugin/
H A DsqOldSoundPrims.c34 int channelIndex; in primFMSoundmixSampleCountintostartingAtpan() local
67 channelIndex = 2 * i; in primFMSoundmixSampleCountintostartingAtpan()
78 channelIndex = (2 * i) - 1; in primFMSoundmixSampleCountintostartingAtpan()
114 int channelIndex; in primPluckedSoundmixSampleCountintostartingAtpan() local
145 channelIndex = 2 * i; in primPluckedSoundmixSampleCountintostartingAtpan()
156 channelIndex = (2 * i) - 1; in primPluckedSoundmixSampleCountintostartingAtpan()
182 int channelIndex; in primSampledSoundmixSampleCountintostartingAtpan() local
211 channelIndex = 2 * i; in primSampledSoundmixSampleCountintostartingAtpan()
222 channelIndex = (2 * i) - 1; in primSampledSoundmixSampleCountintostartingAtpan()
249 int channelIndex; in primWaveTableSoundmixSampleCountintostartingAtpan() local
[all …]
/dports/graphics/krita/krita-4.4.8/libs/pigment/
H A DKoColorSpaceAbstract.h84 return _CSTrait::channelValueText(pixel, channelIndex); in channelValueText()
88 return _CSTrait::normalisedChannelValueText(pixel, channelIndex); in normalisedChannelValueText()
99 quint8 scaleToU8(const quint8 * srcPixel, qint32 channelIndex) const override { in scaleToU8() argument
105 _CSTrait::singleChannelPixel(dstPixel, srcPixel, channelIndex); in singleChannelPixel()
217 for (uint channelIndex = 0; channelIndex < this->channelCount(); ++channelIndex) { in convertChannelToVisualRepresentation() local
218 KoChannelInfo *channel = this->channels().at(channelIndex); in convertChannelToVisualRepresentation()
223 …elIndex * _CSTrait::pixelSize) + (channelIndex * channelSize), src + (pixelIndex * _CSTrait::pixel… in convertChannelToVisualRepresentation()
232 for (uint channelIndex = 0; channelIndex < this->channelCount(); ++channelIndex) { in convertChannelToVisualRepresentation() local
233 KoChannelInfo *channel = this->channels().at(channelIndex); in convertChannelToVisualRepresentation()
235 if (selectedChannels.testBit(channelIndex)) { in convertChannelToVisualRepresentation()
[all …]
/dports/graphics/krita/krita-4.4.8/plugins/color/lcms2engine/colorspaces/lab_f32/
H A DLabF32ColorSpace.cpp120 quint8 LabF32ColorSpace::scaleToU8(const quint8 *srcPixel, qint32 channelIndex) const in scaleToU8()
124 switch (channelIndex) { in scaleToU8()
147 for (uint channelIndex = 0; channelIndex < this->channelCount(); ++channelIndex) { in convertChannelToVisualRepresentation() local
148 KoChannelInfo *channel = this->channels().at(channelIndex); in convertChannelToVisualRepresentation()
151 if (channelIndex == ColorSpaceTraits::L_pos) { in convertChannelToVisualRepresentation()
174 …lorSpaceTraits::pixelSize) + (channelIndex * channelSize), src + (pixelIndex * ColorSpaceTraits::p… in convertChannelToVisualRepresentation()
183 for (uint channelIndex = 0; channelIndex < this->channelCount(); ++channelIndex) { in convertChannelToVisualRepresentation() local
184 KoChannelInfo *channel = this->channels().at(channelIndex); in convertChannelToVisualRepresentation()
186 if (selectedChannels.testBit(channelIndex)) { in convertChannelToVisualRepresentation()
187 …lorSpaceTraits::pixelSize) + (channelIndex * channelSize), src + (pixelIndex * ColorSpaceTraits::p… in convertChannelToVisualRepresentation()
[all …]
/dports/x11-toolkits/qt5-virtualkeyboard/kde-qtvirtualkeyboard-5.15.2p4/src/plugins/lipi-toolkit/3rdparty/lipi-toolkit/src/util/lib/
H A DLTKInkUtils.cpp112 int traceIndex, channelIndex, pointIndex, featureIndex; in computeChannelStatistics() local
141 for(channelIndex =0; channelIndex<numChannels; ++channelIndex) in computeChannelStatistics()
156 for (channelIndex =0; channelIndex<numChannels; ++channelIndex) in computeChannelStatistics()
160 trace.getChannelValues(channelNames[channelIndex], currChannel); in computeChannelStatistics()
163 floatVector& currStats = channelStatistics.at(channelIndex); in computeChannelStatistics()
168 if(channelIndex==0) in computeChannelStatistics()
217 for (channelIndex= 0 ; channelIndex<numChannels; ++channelIndex) in computeChannelStatistics()
220 floatVector& currStats = channelStatistics.at(channelIndex); in computeChannelStatistics()
/dports/graphics/krita/krita-4.4.8/plugins/color/lcms2engine/colorspaces/lab_u8/
H A DLabU8ColorSpace.cpp141 quint8 LabU8ColorSpace::scaleToU8(const quint8 *srcPixel, qint32 channelIndex) const in scaleToU8()
145 switch (channelIndex) { in scaleToU8()
168 for (uint channelIndex = 0; channelIndex < this->channelCount(); ++channelIndex) { in convertChannelToVisualRepresentation() local
169 KoChannelInfo *channel = this->channels().at(channelIndex); in convertChannelToVisualRepresentation()
172 if (channelIndex == ColorSpaceTraits::L_pos) { in convertChannelToVisualRepresentation()
195 …lorSpaceTraits::pixelSize) + (channelIndex * channelSize), src + (pixelIndex * ColorSpaceTraits::p… in convertChannelToVisualRepresentation()
204 for (uint channelIndex = 0; channelIndex < this->channelCount(); ++channelIndex) { in convertChannelToVisualRepresentation() local
205 KoChannelInfo *channel = this->channels().at(channelIndex); in convertChannelToVisualRepresentation()
207 if (selectedChannels.testBit(channelIndex)) { in convertChannelToVisualRepresentation()
208 …lorSpaceTraits::pixelSize) + (channelIndex * channelSize), src + (pixelIndex * ColorSpaceTraits::p… in convertChannelToVisualRepresentation()
[all …]
/dports/graphics/krita/krita-4.4.8/plugins/color/lcms2engine/colorspaces/lab_u16/
H A DLabColorSpace.cpp146 quint8 LabU16ColorSpace::scaleToU8(const quint8 *srcPixel, qint32 channelIndex) const in scaleToU8()
150 switch (channelIndex) { in scaleToU8()
173 for (uint channelIndex = 0; channelIndex < this->channelCount(); ++channelIndex) { in convertChannelToVisualRepresentation() local
174 KoChannelInfo *channel = this->channels().at(channelIndex); in convertChannelToVisualRepresentation()
177 if (channelIndex == ColorSpaceTraits::L_pos) { in convertChannelToVisualRepresentation()
200 …lorSpaceTraits::pixelSize) + (channelIndex * channelSize), src + (pixelIndex * ColorSpaceTraits::p… in convertChannelToVisualRepresentation()
209 for (uint channelIndex = 0; channelIndex < this->channelCount(); ++channelIndex) { in convertChannelToVisualRepresentation() local
210 KoChannelInfo *channel = this->channels().at(channelIndex); in convertChannelToVisualRepresentation()
212 if (selectedChannels.testBit(channelIndex)) { in convertChannelToVisualRepresentation()
213 …lorSpaceTraits::pixelSize) + (channelIndex * channelSize), src + (pixelIndex * ColorSpaceTraits::p… in convertChannelToVisualRepresentation()
[all …]
/dports/graphics/krita/krita-4.4.8/libs/pigment/colorspaces/
H A DKoLabColorSpace.cpp198 quint8 KoLabColorSpace::scaleToU8(const quint8 *srcPixel, qint32 channelIndex) const in scaleToU8()
202 switch (channelIndex) { in scaleToU8()
225 for (uint channelIndex = 0; channelIndex < this->channelCount(); ++channelIndex) { in convertChannelToVisualRepresentation() local
226 KoChannelInfo *channel = this->channels().at(channelIndex); in convertChannelToVisualRepresentation()
229 if (channelIndex == ColorSpaceTraits::L_pos) { in convertChannelToVisualRepresentation()
252 …lorSpaceTraits::pixelSize) + (channelIndex * channelSize), src + (pixelIndex * ColorSpaceTraits::p… in convertChannelToVisualRepresentation()
261 for (uint channelIndex = 0; channelIndex < this->channelCount(); ++channelIndex) { in convertChannelToVisualRepresentation() local
262 KoChannelInfo *channel = this->channels().at(channelIndex); in convertChannelToVisualRepresentation()
264 if (selectedChannels.testBit(channelIndex)) { in convertChannelToVisualRepresentation()
265 …lorSpaceTraits::pixelSize) + (channelIndex * channelSize), src + (pixelIndex * ColorSpaceTraits::p… in convertChannelToVisualRepresentation()
[all …]
/dports/games/cultivation/Cultivation_8_UnixSource/minorGems/sound/portaudio/pa_tests/
H A Dpatest_multi_sine.c68 int frameIndex, channelIndex; in patestCallback() local
74 for( channelIndex=0; channelIndex<data->numChannels; channelIndex++ ) in patestCallback()
77 *out++ = (float) (0.7 * sin(data->phases[channelIndex])); in patestCallback()
80 data->phases[channelIndex] += FREQ_INCR * (4 + channelIndex); in patestCallback()
81 … if( data->phases[channelIndex] >= (2.0 * M_PI) ) data->phases[channelIndex] -= (2.0 * M_PI); in patestCallback()
/dports/devel/raknet/raknet-3.9.2_10,1/DependentExtensions/portaudio_v18_1/pa_tests/
H A Dpatest_multi_sine.c68 int frameIndex, channelIndex; in patestCallback() local
74 for( channelIndex=0; channelIndex<data->numChannels; channelIndex++ ) in patestCallback()
77 *out++ = (float) (0.7 * sin(data->phases[channelIndex])); in patestCallback()
80 data->phases[channelIndex] += FREQ_INCR * (4 + channelIndex); in patestCallback()
81 … if( data->phases[channelIndex] >= (2.0 * M_PI) ) data->phases[channelIndex] -= (2.0 * M_PI); in patestCallback()

12345678910>>...18