Searched refs:alFormat (Results 1 – 6 of 6) sorted by relevance
/dports/games/openspades/openspades-0.1.3/Sources/Audio/ |
H A D | ALDevice.cpp | 105 ALuint alFormat; in ALAudioChunk() local 109 case 1: alFormat = AL_FORMAT_MONO8; break; in ALAudioChunk() 110 case 2: alFormat = AL_FORMAT_STEREO8; break; in ALAudioChunk() 116 case 1: alFormat = AL_FORMAT_MONO16; break; in ALAudioChunk() 117 case 2: alFormat = AL_FORMAT_STEREO16; break; in ALAudioChunk() 124 case 1: alFormat = AL_FORMAT_MONO16; break; in ALAudioChunk() 125 case 2: alFormat = AL_FORMAT_STEREO16; break; in ALAudioChunk() 132 format = alFormat; in ALAudioChunk() 136 al::qalBufferData(handle, alFormat, bytes.data(), (ALuint)bytes.size(), in ALAudioChunk()
|
/dports/multimedia/qt5-multimedia/kde-qtmultimedia-5.15.2p3/src/imports/audioengine/ |
H A D | qaudioengine_openal_p.cpp | 148 ALenum alFormat = 0; in sampleReady() local 150 alFormat = m_sample->format().channelCount() == 1 ? AL_FORMAT_MONO8 : AL_FORMAT_STEREO8; in sampleReady() 152 alFormat = m_sample->format().channelCount() == 1 ? AL_FORMAT_MONO16 : AL_FORMAT_STEREO16; in sampleReady() 165 alBufferData(m_alBuffer, alFormat, m_sample->data().data(), in sampleReady()
|
/dports/graphics/jogamp-jogl/jogl/src/jogl/classes/jogamp/opengl/openal/av/ |
H A D | ALAudioSink.java | 112 private int alFormat; field in ALAudioSink 316 ", fmt "+toHexString(alFormat)+", soft "+hasSOFTBufferSamples+ in toString() 366 …final int alFormat = ALHelpers.getALFormat(alChannelLayout, alSampleType, hasSOFTBufferSamples, al… in isSupported() local 367 return ALConstants.AL_NONE != alFormat; in isSupported() 386 … alFormat = ALHelpers.getALFormat(alChannelLayout, alSampleType, hasSOFTBufferSamples, al, alExt); in init() 388 alFormat = ALConstants.AL_NONE; in init() 390 if( ALConstants.AL_NONE == alFormat ) { in init() 719 alExt.alBufferSamplesSOFT(alFrame.alBuffer, chosenFormat.sampleRate, alFormat, in enqueueData() 722 … al.alBufferData(alFrame.alBuffer, alFormat, bytes, byteCount, chosenFormat.sampleRate); in enqueueData()
|
/dports/games/egl/egl-0.3.1_9/client/ |
H A D | snd_local.h | 36 int alFormat; member
|
H A D | snd_openal.c | 264 sc->alFormat = ALSnd_BufferFormat (width, channels); in ALSnd_CreateBuffer() 268 qalBufferData (sc->alBufferNum, sc->alFormat, data, size, frequency); in ALSnd_CreateBuffer()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/sound/ |
H A D | audiostr.cpp | 437 …const auto alFormat = openal_get_format(m_fileProps.bytes_per_sample * 8, m_fileProps.num_channels… in WriteWaveData() local 454 …OpenAL_ErrorCheck( alBufferData(m_buffer_ids[ib], alFormat, uncompressed_wave_data, num_bytes_read… in WriteWaveData() 480 …OpenAL_ErrorPrint( alBufferData(buffer_id, alFormat, uncompressed_wave_data, num_bytes_read, m_fil… in WriteWaveData()
|