Home
last modified time | relevance | path

Searched refs:MixBuffer (Results 1 – 25 of 33) sorted by relevance

12

/dports/emulators/hatari/hatari-2.2.1/src/
H A DdmaSnd.c506 MixBuffer[nBufIdx][0] = MixBuffer[nBufIdx][0] + dma.FrameLeft * -((256*3/4)/4)/4; in DmaSnd_GenerateSamples()
507 MixBuffer[nBufIdx][1] = MixBuffer[nBufIdx][1] + dma.FrameRight * -((256*3/4)/4)/4; in DmaSnd_GenerateSamples()
513 MixBuffer[nBufIdx][0] = dma.FrameLeft * -((256*3/4)/4)/4; in DmaSnd_GenerateSamples()
556 MixBuffer[nBufIdx][0] = MixBuffer[nBufIdx][0] + dma.FrameLeft * -((256*3/4)/4)/4; in DmaSnd_GenerateSamples()
562 MixBuffer[nBufIdx][0] = dma.FrameLeft * -((256*3/4)/4)/4; in DmaSnd_GenerateSamples()
566 MixBuffer[nBufIdx][1] = MixBuffer[nBufIdx][0]; /* right = left */ in DmaSnd_GenerateSamples()
600 MixBuffer[nBufIdx][0] = MixBuffer[nBufIdx][0] + dma.FrameLeft * -((256*3/4)/4)/4; in DmaSnd_GenerateSamples()
601 MixBuffer[nBufIdx][1] = MixBuffer[nBufIdx][1] + dma.FrameRight * -((256*3/4)/4)/4; in DmaSnd_GenerateSamples()
607 MixBuffer[nBufIdx][0] = dma.FrameLeft * -((256*3/4)/4)/4; in DmaSnd_GenerateSamples()
653 MixBuffer[nBufIdx][0] = sample; in DmaSnd_Apply_LMC()
[all …]
H A Dsound.c308 Sint16 MixBuffer[MIXBUFFER_SIZE][2]; variable
1739 memset(MixBuffer, 0, sizeof(MixBuffer)); in Sound_Reset()
1922 MixBuffer[idx][0] = MixBuffer[idx][1] = Subsonic_IIR_HPF_Left( YM2149_NextSample() ); in Sound_GenerateSamples()
1925 MixBuffer[idx][0] = MixBuffer[idx][1] = Subsonic_IIR_HPF_Left( YM2149_NextSample_250() ); in Sound_GenerateSamples()
1927 MixBuffer[idx][0] = MixBuffer[idx][1] = Subsonic_IIR_HPF_Left( YM2149_NextSample_250_2() ); in Sound_GenerateSamples()
1943 MixBuffer[idx][0] = MixBuffer[idx][1] = YM2149_NextSample(); in Sound_GenerateSamples()
1946 MixBuffer[idx][0] = MixBuffer[idx][1] = YM2149_NextSample_250(); in Sound_GenerateSamples()
1948 MixBuffer[idx][0] = MixBuffer[idx][1] = YM2149_NextSample_250_2(); in Sound_GenerateSamples()
1964 MixBuffer[idx][0] = MixBuffer[idx][1] = Subsonic_IIR_HPF_Left( YM2149_NextSample() ); in Sound_GenerateSamples()
1967 MixBuffer[idx][0] = MixBuffer[idx][1] = Subsonic_IIR_HPF_Left( YM2149_NextSample_250() ); in Sound_GenerateSamples()
[all …]
H A Daudio.c84 *pBuffer++ = MixBuffer[(CompleteSndBufIdx + i) % MIXBUFFER_SIZE][0]; in Audio_CallBack()
85 *pBuffer++ = MixBuffer[(CompleteSndBufIdx + i) % MIXBUFFER_SIZE][1]; in Audio_CallBack()
94 *pBuffer++ = MixBuffer[(CompleteSndBufIdx + i) % MIXBUFFER_SIZE][0]; in Audio_CallBack()
95 *pBuffer++ = MixBuffer[(CompleteSndBufIdx + i) % MIXBUFFER_SIZE][1]; in Audio_CallBack()
/dports/games/libretro-hatari/hatari-561c07e/src/
H A DdmaSnd.c497 MixBuffer[nBufIdx][0] = MixBuffer[nBufIdx][0] + dma.FrameLeft * -((256*3/4)/4)/4; in DmaSnd_GenerateSamples()
498 MixBuffer[nBufIdx][1] = MixBuffer[nBufIdx][1] + dma.FrameRight * -((256*3/4)/4)/4; in DmaSnd_GenerateSamples()
504 MixBuffer[nBufIdx][0] = dma.FrameLeft * -((256*3/4)/4)/4; in DmaSnd_GenerateSamples()
541 MixBuffer[nBufIdx][0] = MixBuffer[nBufIdx][0] + dma.FrameLeft * -((256*3/4)/4)/4; in DmaSnd_GenerateSamples()
547 MixBuffer[nBufIdx][0] = dma.FrameLeft * -((256*3/4)/4)/4; in DmaSnd_GenerateSamples()
551 MixBuffer[nBufIdx][1] = MixBuffer[nBufIdx][0]; /* right = left */ in DmaSnd_GenerateSamples()
585 MixBuffer[nBufIdx][0] = MixBuffer[nBufIdx][0] + dma.FrameLeft * -((256*3/4)/4)/4; in DmaSnd_GenerateSamples()
586 MixBuffer[nBufIdx][1] = MixBuffer[nBufIdx][1] + dma.FrameRight * -((256*3/4)/4)/4; in DmaSnd_GenerateSamples()
592 MixBuffer[nBufIdx][0] = dma.FrameLeft * -((256*3/4)/4)/4; in DmaSnd_GenerateSamples()
638 MixBuffer[nBufIdx][0] = sample; in DmaSnd_Apply_LMC()
[all …]
H A Dsound.c230 Sint16 MixBuffer[MIXBUFFER_SIZE][2]; variable
1239 memset(MixBuffer, 0, sizeof(MixBuffer)); in Sound_Reset()
1405 MixBuffer[idx][0] = MixBuffer[idx][1] = Subsonic_IIR_HPF_Left( YM2149_NextSample() ); in Sound_GenerateSamples()
1415 MixBuffer[idx][0] = MixBuffer[idx][1] = YM2149_NextSample(); in Sound_GenerateSamples()
1425 MixBuffer[idx][0] = MixBuffer[idx][1] = Subsonic_IIR_HPF_Left( YM2149_NextSample() ); in Sound_GenerateSamples()
1461 WAVFormat_Update(MixBuffer, OldSndBufIdx, SamplesToGenerate); in Sound_Update()
1511 *pBuffer++ = MixBuffer[(CompleteSndBufIdx + i) % MIXBUFFER_SIZE][0]; in Retro_Audio_CallBack()
1512 *pBuffer++ = MixBuffer[(CompleteSndBufIdx + i) % MIXBUFFER_SIZE][1]; in Retro_Audio_CallBack()
1521 *pBuffer++ = MixBuffer[(CompleteSndBufIdx + i) % MIXBUFFER_SIZE][0]; in Retro_Audio_CallBack()
1522 *pBuffer++ = MixBuffer[(CompleteSndBufIdx + i) % MIXBUFFER_SIZE][1]; in Retro_Audio_CallBack()
[all …]
H A Daudio.c84 *pBuffer++ = MixBuffer[(CompleteSndBufIdx + i) % MIXBUFFER_SIZE][0]; in Audio_CallBack()
85 *pBuffer++ = MixBuffer[(CompleteSndBufIdx + i) % MIXBUFFER_SIZE][1]; in Audio_CallBack()
94 *pBuffer++ = MixBuffer[(CompleteSndBufIdx + i) % MIXBUFFER_SIZE][0]; in Audio_CallBack()
95 *pBuffer++ = MixBuffer[(CompleteSndBufIdx + i) % MIXBUFFER_SIZE][1]; in Audio_CallBack()
/dports/games/NBlood/NBlood-a1689a4/source/audiolib/src/
H A Ddriver_sdl.cpp53 static char *MixBuffer; variable
73 if (!MixBuffer || !MixCallBack) in fillData()
89 auto sptr = MixBuffer + (MixBufferCurrent * MixBufferSize) + MixBufferUsed; in fillData()
298 MixBuffer = BufferStart; in SDLDrv_PCM_BeginPlayback()
H A Ddriver_directsound.cpp42 static char * MixBuffer; variable
76 char *sptr = MixBuffer + (MixBufferCurrent * MixBufferSize) + MixBufferUsed; in FillBufferPosition()
295 MixBuffer = BufferStart; in DirectSoundDrv_PCM_BeginPlayback()
/dports/games/jfsw/jfsw-c434002/jfaudiolib/src/
H A Ddriver_sdl.c64 static char *MixBuffer = 0; variable
88 sptr = MixBuffer + (MixBufferCurrent * MixBufferSize) + MixBufferUsed; in fillData()
304 MixBuffer = BufferStart; in SDLDrv_PCM_BeginPlayback()
H A Ddriver_directsound.c59 static char *MixBuffer = 0; variable
91 sptr = MixBuffer + (MixBufferCurrent * MixBufferSize) + MixBufferUsed; in FillBufferPortion()
438 MixBuffer = BufferStart; in DirectSoundDrv_PCM_BeginPlayback()
H A Ddriver_coreaudio.c58 static char *MixBuffer = 0; variable
114 sptr = MixBuffer + (MixBufferCurrent * MixBufferSize) + MixBufferUsed; in pcmService()
425 MixBuffer = BufferStart; in CoreAudioDrv_PCM_BeginPlayback()
/dports/games/libretro-snes9x2005/snes9x2005-218be8e/source/
H A Dsoundux.c31 extern int32_t MixBuffer [SOUND_BUFFER_SIZE];
726 MixBuffer [I ] += VL; in MixStereo()
727 MixBuffer [I + 1] += VR; in MixStereo()
746 memset(MixBuffer, 0, sample_count * sizeof(MixBuffer [0])); in S9xMixSamples()
764 …I = (MixBuffer[J] * SoundData.master_volume [J & 1] + E * SoundData.echo_volume [J & 1]) / VOL_DIV… in S9xMixSamples()
792 …I = (MixBuffer[J] * SoundData.master_volume [J & 1] + E * SoundData.echo_volume [J & 1]) / VOL_DIV… in S9xMixSamples()
803 I = (MixBuffer[J] * SoundData.master_volume [J & 1]) / VOL_DIV16; in S9xMixSamples()
H A Dglobals.c80 int32_t MixBuffer [SOUND_BUFFER_SIZE]; variable
/dports/emulators/hatari/hatari-2.2.1/src/falcon/
H A Dcrossbar.c1813 MixBuffer[nBufIdx][0] = 0; in Crossbar_GenerateSamples()
1814 MixBuffer[nBufIdx][1] = 0; in Crossbar_GenerateSamples()
1838 adc_rightData = MixBuffer[nBufIdx][1]; in Crossbar_GenerateSamples()
1842 adc_leftData = MixBuffer[nBufIdx][0]; in Crossbar_GenerateSamples()
1847 adc_leftData = MixBuffer[nBufIdx][0]; in Crossbar_GenerateSamples()
1848 adc_rightData = MixBuffer[nBufIdx][1]; in Crossbar_GenerateSamples()
1890 MixBuffer[nBufIdx][0] = (dac_LeftData * crossbar.attenuationSettingLeft) >> 16; in Crossbar_GenerateSamples()
1891 MixBuffer[nBufIdx][1] = (dac_RightData * crossbar.attenuationSettingRight) >> 16; in Crossbar_GenerateSamples()
/dports/games/libretro-hatari/hatari-561c07e/src/falcon/
H A Dcrossbar.c1791 MixBuffer[nBufIdx][0] = 0; in Crossbar_GenerateSamples()
1792 MixBuffer[nBufIdx][1] = 0; in Crossbar_GenerateSamples()
1816 adc_rightData = MixBuffer[nBufIdx][1]; in Crossbar_GenerateSamples()
1820 adc_leftData = MixBuffer[nBufIdx][0]; in Crossbar_GenerateSamples()
1825 adc_leftData = MixBuffer[nBufIdx][0]; in Crossbar_GenerateSamples()
1826 adc_rightData = MixBuffer[nBufIdx][1]; in Crossbar_GenerateSamples()
1857 MixBuffer[nBufIdx][0] = (dac_LeftData * crossbar.attenuationSettingLeft) >> 16; in Crossbar_GenerateSamples()
1858 MixBuffer[nBufIdx][1] = (dac_RightData * crossbar.attenuationSettingRight) >> 16; in Crossbar_GenerateSamples()
/dports/games/libretro-hatari/hatari-561c07e/src/includes/
H A Dsound.h22 extern Sint16 MixBuffer[MIXBUFFER_SIZE][2];
/dports/emulators/hatari/hatari-2.2.1/src/includes/
H A Dsound.h22 extern Sint16 MixBuffer[MIXBUFFER_SIZE][2];
/dports/audio/openal-soft/openal-soft-1.21.1/alc/
H A Dpanning.cpp119 num_chans*sizeof(device->MixBuffer[0])); in AllocChannels()
120 device->MixBuffer.resize(num_chans); in AllocChannels()
121 al::span<FloatBufferLine> buffer{device->MixBuffer}; in AllocChannels()
H A Dalcmain.h236 al::vector<FloatBufferLine, 16> MixBuffer; member
/dports/sysutils/bareos19-traymonitor/bareos-Release-19.2.11/core/src/stored/
H A Dbtape.cc459 static void MixBuffer(fill_mode_t mode, char* data, uint32_t len) in MixBuffer() function
899 MixBuffer(mode, block->buf, block->buf_len); in SpeedTestRaw()
963 MixBuffer(mode, rec->data, rec->data_len); in SpeedTestBareos()
2221 MixBuffer(FILL_RANDOM, rec.data, rec.data_len); in fillcmd()
2813 MixBuffer(FILL_RANDOM, block->buf, block->buf_len); in rawfill_cmd()
/dports/sysutils/bareos19-client/bareos-Release-19.2.11/core/src/stored/
H A Dbtape.cc459 static void MixBuffer(fill_mode_t mode, char* data, uint32_t len) in MixBuffer() function
899 MixBuffer(mode, block->buf, block->buf_len); in SpeedTestRaw()
963 MixBuffer(mode, rec->data, rec->data_len); in SpeedTestBareos()
2221 MixBuffer(FILL_RANDOM, rec.data, rec.data_len); in fillcmd()
2813 MixBuffer(FILL_RANDOM, block->buf, block->buf_len); in rawfill_cmd()
/dports/sysutils/bareos18-server/bareos-Release-18.2.12/core/src/stored/
H A Dbtape.cc471 static void MixBuffer(fill_mode_t mode, char *data, uint32_t len) in MixBuffer() function
941 MixBuffer(mode, block->buf, block->buf_len); in SpeedTestRaw()
1006 MixBuffer(mode, rec->data, rec->data_len); in SpeedTestBareos()
2332 MixBuffer(FILL_RANDOM, rec.data, rec.data_len); in fillcmd()
2938 MixBuffer(FILL_RANDOM, block->buf, block->buf_len); in rawfill_cmd()
/dports/sysutils/bareos-client/bareos-Release-20.0.3/core/src/stored/
H A Dbtape.cc455 static void MixBuffer(fill_mode_t mode, char* data, uint32_t len) in MixBuffer() function
895 MixBuffer(mode, block->buf, block->buf_len); in SpeedTestRaw()
959 MixBuffer(mode, rec->data, rec->data_len); in SpeedTestBareos()
2217 MixBuffer(FILL_RANDOM, rec.data, rec.data_len); in fillcmd()
2809 MixBuffer(FILL_RANDOM, block->buf, block->buf_len); in rawfill_cmd()
/dports/sysutils/bareos-traymonitor/bareos-Release-20.0.3/core/src/stored/
H A Dbtape.cc455 static void MixBuffer(fill_mode_t mode, char* data, uint32_t len) in MixBuffer() function
895 MixBuffer(mode, block->buf, block->buf_len); in SpeedTestRaw()
959 MixBuffer(mode, rec->data, rec->data_len); in SpeedTestBareos()
2217 MixBuffer(FILL_RANDOM, rec.data, rec.data_len); in fillcmd()
2809 MixBuffer(FILL_RANDOM, block->buf, block->buf_len); in rawfill_cmd()
/dports/sysutils/bareos18-traymonitor/bareos-Release-18.2.12/core/src/stored/
H A Dbtape.cc471 static void MixBuffer(fill_mode_t mode, char *data, uint32_t len) in MixBuffer() function
941 MixBuffer(mode, block->buf, block->buf_len); in SpeedTestRaw()
1006 MixBuffer(mode, rec->data, rec->data_len); in SpeedTestBareos()
2332 MixBuffer(FILL_RANDOM, rec.data, rec.data_len); in fillcmd()
2938 MixBuffer(FILL_RANDOM, block->buf, block->buf_len); in rawfill_cmd()

12