Home
last modified time | relevance | path

Searched refs:iChannels (Results 1 – 25 of 105) sorted by relevance

12345

/dports/audio/murmur/mumble-1.3.3/src/mumble/
H A DAudioOutput.cpp91 , iChannels(0) in AudioOutput()
152 if ((iChannels > 0) && fSpeakers) { in getSpeakerPos()
153 speakers = iChannels; in getSpeakerPos()
160 if (iChannels == 0) in addFrameToBuffer()
243 fSpeakers = new float[iChannels * 3]; in initializeMixer()
245 fSpeakerVolume = new float[iChannels]; in initializeMixer()
250 for (unsigned int i=0;i<iChannels;++i) in initializeMixer()
365 const unsigned int nchan = iChannels; in mix()
397 STACKVAR(float, speaker, iChannels*3); in mix()
398 STACKVAR(float, svol, iChannels); in mix()
[all …]
H A DALSAAudio.cpp298 unsigned int iChannels = 1; in run() local
309 ALSA_ERRBAIL(snd_pcm_hw_params_set_channels_near(capture_handle, hw_params, &iChannels)); in run()
347 char inbuff[wantPeriod * iChannels * sizeof(short)]; in run()
417 iChannels = 1; in run()
418 ALSA_ERRBAIL(snd_pcm_hw_params_get_channels_max(hw_params, &iChannels)); in run()
419 if (iChannels > 9) { in run()
421 iChannels = 2; in run()
424 iChannels = 1; in run()
429 ALSA_ERRBAIL(snd_pcm_hw_params_set_channels_near(pcm_handle, hw_params, &iChannels)); in run()
464 const unsigned int buffsize = static_cast<unsigned int>(period_size * iChannels); in run()
[all …]
H A DOSS.cpp286 iChannels = 0; in run()
289 iChannels = 2; in run()
291 iChannels = 1; in run()
293 ival = iChannels; in run()
294 if ((ioctl(fd, SNDCTL_DSP_CHANNELS, &ival) == -1) && (ival == static_cast<int>(iChannels))) { in run()
298 iChannels = ival; in run()
327 ssize_t blocklen = iOutputBlock * iChannels * sizeof(short); in run()
328 short mbuffer[iOutputBlock * iChannels]; in run()
H A DJackAudio.cpp312 if (jao && jao->isRunning() && jao->iChannels > 0 && !jao->isFinished()) { in process_callback()
316 for (unsigned int i = 0; i < jao->iChannels; ++i) { in process_callback()
325 memset(buffer, 0, sizeof(jack_default_audio_sample_t) * nframes * jao->iChannels); in process_callback()
329 if (jao->iChannels == 1) { in process_callback()
335 for (unsigned int i = 0; i < nframes * jao->iChannels; ++i) { in process_callback()
336 port_buffers[i % jao->iChannels][i / jao->iChannels] = buffer[i]; in process_callback()
597 iChannels = 0; in JackAudioOutput()
602 iChannels = 0; in ~JackAudioOutput()
626 iChannels = jasys->iOutPorts; in run()
/dports/audio/mumble/mumble-1.3.3/src/mumble/
H A DAudioOutput.cpp91 , iChannels(0) in AudioOutput()
152 if ((iChannels > 0) && fSpeakers) { in getSpeakerPos()
153 speakers = iChannels; in getSpeakerPos()
160 if (iChannels == 0) in addFrameToBuffer()
243 fSpeakers = new float[iChannels * 3]; in initializeMixer()
245 fSpeakerVolume = new float[iChannels]; in initializeMixer()
250 for (unsigned int i=0;i<iChannels;++i) in initializeMixer()
365 const unsigned int nchan = iChannels; in mix()
397 STACKVAR(float, speaker, iChannels*3); in mix()
398 STACKVAR(float, svol, iChannels); in mix()
[all …]
H A DALSAAudio.cpp298 unsigned int iChannels = 1; in run() local
309 ALSA_ERRBAIL(snd_pcm_hw_params_set_channels_near(capture_handle, hw_params, &iChannels)); in run()
347 char inbuff[wantPeriod * iChannels * sizeof(short)]; in run()
417 iChannels = 1; in run()
418 ALSA_ERRBAIL(snd_pcm_hw_params_get_channels_max(hw_params, &iChannels)); in run()
419 if (iChannels > 9) { in run()
421 iChannels = 2; in run()
424 iChannels = 1; in run()
429 ALSA_ERRBAIL(snd_pcm_hw_params_set_channels_near(pcm_handle, hw_params, &iChannels)); in run()
464 const unsigned int buffsize = static_cast<unsigned int>(period_size * iChannels); in run()
[all …]
H A DOSS.cpp285 iChannels = 0; in run()
288 iChannels = 2; in run()
290 iChannels = 1; in run()
292 ival = iChannels; in run()
293 if ((ioctl(fd, SNDCTL_DSP_CHANNELS, &ival) == -1) && (ival == static_cast<int>(iChannels))) { in run()
297 iChannels = ival; in run()
326 ssize_t blocklen = iOutputBlock * iChannels * sizeof(short); in run()
327 short mbuffer[iOutputBlock * iChannels]; in run()
H A DJackAudio.cpp312 if (jao && jao->isRunning() && jao->iChannels > 0 && !jao->isFinished()) { in process_callback()
316 for (unsigned int i = 0; i < jao->iChannels; ++i) { in process_callback()
325 memset(buffer, 0, sizeof(jack_default_audio_sample_t) * nframes * jao->iChannels); in process_callback()
329 if (jao->iChannels == 1) { in process_callback()
335 for (unsigned int i = 0; i < nframes * jao->iChannels; ++i) { in process_callback()
336 port_buffers[i % jao->iChannels][i / jao->iChannels] = buffer[i]; in process_callback()
597 iChannels = 0; in JackAudioOutput()
602 iChannels = 0; in ~JackAudioOutput()
626 iChannels = jasys->iOutPorts; in run()
/dports/games/warmux/warmux-11.04/build/android/jni/sdl/symbian/src/
H A Dstreamplayer.cpp103 iChannels = GetChannels(aChannels); in OpenStream()
104 if(iChannels == KErrNotFound) in OpenStream()
143 audioSettings.iChannels = iChannels; in Open()
221 iStream->SetAudioPropertiesL(iRate, iChannels); in SetCapsL()
/dports/devel/sdl12/SDL-1.2.15/src/audio/symbian/
H A Dstreamplayer.cpp83 iChannels = GetChannels(aChannels); in OpenStream()
84 if(iChannels == KErrNotFound) in OpenStream()
124 audioSettings.iChannels = iChannels; in Open()
206 iStream->SetAudioPropertiesL(iRate, iChannels); in SetCapsL()
H A DSDL_epocaudio.cpp178 void Open(TInt iRate, TInt iChannels, TUint32 aType, TInt aBytes);
195 TInt iChannels;
298 iPlayer->OpenStream(iRate, iChannels, iType);
403 const TInt64 specTime = bufMs / TInt64(iRate * iChannels * 2);
435 iChannels = aChannels;
437 iBufferRate = iRate * iChannels * aBytes; //1/x
/dports/multimedia/webcamoid/webcamoid-8.8.0/libAvKys/Plugins/MultiSrc/src/ffmpeg/src/
H A Daudiostream.cpp237 int iChannels = av_get_channel_layout_nb_channels(iFrame->channel_layout); in compensate() local
241 iChannels, in compensate()
253 iChannels, in compensate()
272 int iChannels = av_get_channel_layout_nb_channels(iFrame->channel_layout); in frameToPacket() local
278 iChannels, in frameToPacket()
288 iChannels, in frameToPacket()
300 iChannels, in frameToPacket()
/dports/graphics/freeimage/FreeImage/Source/LibJXR/image/sys/
H A DstrPredQuant.c130 const size_t iChannels = pSC->m_param.cNumChannels; in allocatePredInfo() local
135 if(((mbWidth >> 16) * iChannels * 2 * sizeof(CWMIPredInfo)) & 0xffff0000) in allocatePredInfo()
137 pMemory = (CWMIPredInfo *)malloc(mbWidth * iChannels * 2 * sizeof(CWMIPredInfo)); in allocatePredInfo()
142 for(i = 0; i < iChannels; i ++){ in allocatePredInfo()
254 Int i, iChannels = (cf == YUV_420 || cf == YUV_422) ? 1 : (Int) pSC->m_param.cNumChannels; in updatePredInfo() local
256 for(i = 0; i < iChannels; i ++){ in updatePredInfo()
H A Dimage.c82 Void UpdateModelMB (COLORFORMAT cf, Int iChannels, Int iLaplacianMean[], CAdaptiveModel *pModel) in UpdateModelMB() argument
101 iLaplacianMean[1] *= aWeight1[pModel->m_band - BAND_DC][iChannels - 1]; in UpdateModelMB()
/dports/graphics/freeimage/FreeImage/Source/LibJXR/image/decode/
H A DstrPredQuantDec.c65 const size_t iChannels = pSC->m_param.cNumChannels; in dequantizeMacroblock() local
68 for(i = 0; i < iChannels; i ++){ in dequantizeMacroblock()
89 const Int iChannels = (cf == YUV_420 || cf == YUV_422) ? 1 : (Int) pSC->m_param.cNumChannels; in predDCACDec() local
98 for(ii = 0; ii < iChannels; ii ++){ in predDCACDec()
188 const Int iChannels = (cf == YUV_420 || cf == YUV_422) ? 1 : (Int) pSC->m_param.cNumChannels; in predACDec() local
196 for(i = 0; i < iChannels; i++){ in predACDec()
521 const size_t iChannels = (cf == YUV_420 || cf == YUV_422) ? 1 : pSC->m_param.cNumChannels; in predCBPDec() local
525 for (i = 0; i < iChannels; i++) { in predCBPDec()
H A Dsegdec.c639 const Int iChannels = (Int) pSC->m_param.cNumChannels; in DecodeCoeffs() local
640 const Int iPlanes = (cf == YUV_420 || cf == YUV_422) ? 1 : iChannels; in DecodeCoeffs()
728 UpdateModelMB (cf, iChannels, aLaplacianMean, &(pContext->m_aModelAC)); in DecodeCoeffs()
785 const Int iChannels = (Int) pSC->m_param.cNumChannels; in DecodeMacroblockLowpass() local
786 const Int iFullPlanes = (cf == YUV_420 || cf == YUV_422) ? 2 : iChannels; in DecodeMacroblockLowpass()
858 for (iChannel = 0; iChannel < iChannels; iChannel++) in DecodeMacroblockLowpass()
983 UpdateModelMB (cf, iChannels, aLaplacianMean, &(pContext->m_aModelLP)); in DecodeMacroblockLowpass()
1017 const Int iChannels = (Int) pSC->m_param.cNumChannels; in DecodeMacroblockDC() local
1029 for (i = 0; i < iChannels; i++) in DecodeMacroblockDC()
1048 for (i = 0; i < iChannels; i++) { in DecodeMacroblockDC()
[all …]
/dports/audio/sdl2_mixer/SDL2_mixer-2.0.4/external/mpg123-1.25.6/ports/MSVC++/CMP3Stream/SOURCE/
H A DSourceFilter_MP3Stream.CPP130 int iChannels; in Open() local
133 if (MPG123_OK != mpg123_getformat(m_pcoMH, &nRate, &iChannels, &iEncoding)) in Open()
141 mpg123_format(m_pcoMH, nRate, iChannels, iEncoding); in Open()
158 m_dwAlignment = iChannels * 2; in Open()
167 WORD wChannels = (WORD ) iChannels; in Open()
/dports/graphics/freeimage/FreeImage/Source/LibJXR/image/encode/
H A Dsegenc.c124 const Int iChannels = (Int) pSC->m_param.cNumChannels; in EncodeMacroblockDC() local
153 for (j = 0; j < iChannels; j++) { in EncodeMacroblockDC()
232 UpdateModelMB (cf, iChannels, aLaplacianMean, &(pContext->m_aModelDC)); in EncodeMacroblockDC()
478 const Int iChannels = (Int) pSC->m_param.cNumChannels; in EncodeMacroblockLowpass() local
479 Int iFullChannels = (cf == YUV_420 || cf == YUV_422) ? 1 : iChannels; in EncodeMacroblockLowpass()
497 if (iChannels > MAX_CHANNELS) in EncodeMacroblockLowpass()
504 for (k = 0; k < iChannels; k++) { in EncodeMacroblockLowpass()
596 for (iChannel = 0; iChannel < iChannels; iChannel++) { in EncodeMacroblockLowpass()
645 UpdateModelMB (cf, iChannels, aLaplacianMean, &pContext->m_aModelLP); in EncodeMacroblockLowpass()
847 const Int iChannels = (Int) pSC->m_param.cNumChannels; in CodeCoeffs() local
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/titanic/sound/
H A Dqmixer.h93 int iChannels; // Number of channels member
100 lpGuid(nullptr), iChannels(0), iOutput(0), iLatency(0), iMath(0), hwnd(0) {} in QMIXCONFIG()
102 dwSamplingRate(rate), iChannels(channels), iLatency(latency), in QMIXCONFIG()
H A Dqmixer.cpp38 assert(config.iChannels > 0 && config.iChannels < 256); in qsWaveMixInitEx()
40 _channels.resize(config.iChannels); in qsWaveMixInitEx()
/dports/games/scummvm/scummvm-2.5.1/engines/titanic/sound/
H A Dqmixer.h93 int iChannels; // Number of channels member
100 lpGuid(nullptr), iChannels(0), iOutput(0), iLatency(0), iMath(0), hwnd(0) {} in QMIXCONFIG()
102 dwSamplingRate(rate), iChannels(channels), iLatency(latency), in QMIXCONFIG()
H A Dqmixer.cpp38 assert(config.iChannels > 0 && config.iChannels < 256); in qsWaveMixInitEx()
40 _channels.resize(config.iChannels); in qsWaveMixInitEx()
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/guilib/guiinfo/
H A DVideoGUIInfo.cpp431 int iChannels = tag->m_streamDetails.GetAudioChannels(); in GetLabel() local
432 if (iChannels > 0) in GetLabel()
434 value = StringUtils::Format("%i", iChannels); in GetLabel()
558 int iChannels = m_audioInfo.channels; in GetLabel() local
559 if (iChannels > 0) in GetLabel()
561 value = StringUtils::Format("%i", iChannels); in GetLabel()
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/cores/VideoPlayer/DVDDemuxers/
H A DDVDDemuxCDDA.cpp53 m_stream->iChannels = 2; in Open()
132 int clamp_bytes = (m_stream->iBitsPerSample>>3) * m_stream->iChannels; in SeekTime()
/dports/devel/sdl12/SDL-1.2.15/src/audio/dart/
H A DSDL_dart.c86 int iChannels = 2; // Default is 2 channels (Stereo) in DART_OpenAudio() local
145 iChannels = spec->channels; in DART_OpenAudio()
155 _this->hidden->MixSetupParms.ulChannels = iChannels; in DART_OpenAudio()
261 _this->hidden->iCurrChannels = iChannels; in DART_OpenAudio()

12345