Home
last modified time | relevance | path

Searched refs:SoundBuf (Results 1 – 25 of 93) sorted by relevance

1234

/dports/games/NBlood/NBlood-a1689a4/source/exhumed/src/
H A Dsound.cpp232 char *SoundBuf[kMaxSounds]; variable
511 if (!SoundBuf[i]) in LoadSound()
514 if (kread(hVoc, SoundBuf[i], nSize) != nSize) in LoadSound()
523 SoundBuf[i] = NULL; in LoadSound()
539 free(SoundBuf[i]);
947 int bLoop = SoundBuf[nSound][26] == 6; in PlaySound()
959 if (SoundBuf[nSound][26] == 6) in PlaySound()
993 int bLoop = SoundBuf[nSound][26] == 6; in PlayLocalSound()
1016 if (SoundBuf[nSound][26] == 6) in PlayLocalSound()
1209 int bLoop = SoundBuf[nSound][26] == 6; in PlayFX2()
[all …]
/dports/emulators/mednafen/mednafen/src/sound/
H A DWAVRecord.cpp58 void WAVRecord::WriteSound(const int16 *SoundBuf, uint32 NumSoundFrames) in WriteSound() argument
68 MDFN_en16lsb((uint8 *)&swap_buf[i], SoundBuf[i]); in WriteSound()
73 SoundBuf += s_this_time; in WriteSound()
H A DWAVRecord.h37 void WriteSound(const int16 *SoundBuf, uint32 NumSoundFrames);
/dports/emulators/mednafen/mednafen/src/gb/
H A Dsound.cpp143 int32 SOUND_Flush(int ts, int16 *SoundBuf, const int32 MaxSoundFrames) in SOUND_Flush() argument
149 if(SoundBuf && gb_buf) in SOUND_Flush()
152 SoundFrames = gb_buf->read_samples(SoundBuf, MaxSoundFrames * 2) / 2; in SOUND_Flush()
H A Dsound.h10 int32 SOUND_Flush(int ts, int16 *SoundBuf, const int32 MaxSoundFrames);
/dports/emulators/mednafen/mednafen/src/ngp/
H A Dsound.cpp79 int32 MDFNNGPCSOUND_Flush(int16 *SoundBuf, const int32 MaxSoundFrames) in MDFNNGPCSOUND_Flush() argument
87 if(SoundBuf) in MDFNNGPCSOUND_Flush()
88 FrameCount = st_buf.read_samples(SoundBuf, MaxSoundFrames * 2) / 2; in MDFNNGPCSOUND_Flush()
H A Dsound.h27 int32 MDFNNGPCSOUND_Flush(int16 *SoundBuf, const int32 MaxSoundFrames);
/dports/games/libretro-beetle_ngp/beetle-ngp-libretro-74cc0d8/mednafen/ngp/
H A Dsound.cpp70 extern "C" int32_t MDFNNGPCSOUND_Flush(int16_t *SoundBuf, const int32_t MaxSoundFrames) in MDFNNGPCSOUND_Flush() argument
78 if(SoundBuf) in MDFNNGPCSOUND_Flush()
79 FrameCount = buf.read_samples(SoundBuf, MaxSoundFrames * 2) / 2; in MDFNNGPCSOUND_Flush()
H A Dsound.h34 int32_t MDFNNGPCSOUND_Flush(int16_t *SoundBuf, const int32_t MaxSoundFrames);
/dports/emulators/mednafen/mednafen/src/md/
H A Dsound.cpp120 int32 MDSound_Flush(int16 *SoundBuf, const int32 MaxSoundFrames) in MDSound_Flush() argument
129 if(SoundBuf) in MDSound_Flush()
130 FrameCount = zebuf.read_samples(SoundBuf, MaxSoundFrames * 2) / 2; in MDSound_Flush()
H A Dsound.h16 int32 MDSound_Flush(int16 *SoundBuf, const int32 MaxSoundFrames);
/dports/emulators/mednafen/mednafen/src/sms/
H A Dsound.cpp119 int32 SMS_SoundFlush(int16 *SoundBuf, int32 MaxSoundFrames) in SMS_SoundFlush() argument
130 if(SoundBuf) in SMS_SoundFlush()
131 FrameCount = zebuf.read_samples(SoundBuf, MaxSoundFrames * 2) / 2; in SMS_SoundFlush()
H A Dsound.h15 int32 SMS_SoundFlush(int16 *SoundBuf, int32 MaxSoundFrames);
/dports/emulators/mednafen/mednafen/src/snes_faust/
H A Dsnes.cpp1015 espec->SoundBufSize = APU_EndFrame(espec->SoundBuf); in EmulateReal()
1016 MSU1_EndFrame(espec->SoundBuf, espec->SoundBufSize); in EmulateReal()
1058 if(!espec->SoundBuf) in Emulate()
1062 espec->SoundBuf += tmp_espec.SoundBufSize * 2; in Emulate()
1064 espec->SoundBuf -= tmp_espec.SoundBufSize * 2; in Emulate()
1080 …memmove(espec->SoundBuf, espec->SoundBuf + (tmp_espec.SoundBufSize - sbo) * 2, sbo * 2 * sizeof(in… in Emulate()
1081 espec->SoundBuf += sbo * 2; in Emulate()
1085 doggy = sha1(espec->SoundBuf, espec->SoundBufSize * 2 * sizeof(int16)); in Emulate()
1089 espec->SoundBuf -= sbo * 2; in Emulate()
1095 …memmove(espec->SoundBuf, espec->SoundBuf + expected_delta * 2, espec->SoundBufSize * 2 * sizeof(in… in Emulate()
[all …]
H A Dmsu1.cpp210 void MSU1_EndFrame(int16* SoundBuf, int32 SoundBufSize) in MSU1_EndFrame() argument
215 if(SoundBuf) in MSU1_EndFrame()
226SoundBuf[(i * 2) + 0] = std::max<int32>(-32768, std::min<int32>(32767, SoundBuf[(i * 2) + 0] + Int… in MSU1_EndFrame()
227SoundBuf[(i * 2) + 1] = std::max<int32>(-32768, std::min<int32>(32767, SoundBuf[(i * 2) + 1] + Int… in MSU1_EndFrame()
/dports/emulators/mednafen/mednafen/src/
H A Dmednafen.cpp1579 if(espec->SoundBuf && espec->SoundBufSize) in ProcessAudio()
1581 …int16 *const SoundBuf = espec->SoundBuf + espec->SoundBufSize_InternalProcessed * MDFNGameInfo->so… in ProcessAudio() local
1590 int16 *yaybuf = SoundBuf; in ProcessAudio()
1694 SoundBuf[i] = (SoundBuf[i] * volume) >> 14; in ProcessAudio()
1706 SoundBuf[i] = temp - 32768; in ProcessAudio()
1717 int32 mixed = (SoundBuf[i + 0] + SoundBuf[i + 1]) >> 1; in ProcessAudio()
1719 SoundBuf[i + 0] = in ProcessAudio()
1720 SoundBuf[i + 1] = mixed; in ProcessAudio()
1955 int16 *sb_backup = espec->SoundBuf; in MDFNI_Emulate()
1960 espec->SoundBuf = &SoundBufPristine[0]; in MDFNI_Emulate()
[all …]
/dports/games/libretro-beetle_gba/beetle-gba-libretro-8d1e421/mednafen/gba/
H A DSound.cpp369 int32 MDFNGBASOUND_Flush(int16 *SoundBuf, const int32 MaxSoundFrames) in MDFNGBASOUND_Flush() argument
381 if(SoundBuf) in MDFNGBASOUND_Flush()
382 FrameCount = gba_buf.read_samples(SoundBuf, MaxSoundFrames * 2) / 2; in MDFNGBASOUND_Flush()
390 if(SoundBuf) in MDFNGBASOUND_Flush()
/dports/emulators/mednafen/mednafen/src/ss/
H A Dsound.cpp265 int32 SOUND_FlushOutput(int16* SoundBuf, const int32 SoundBufMaxSize, const bool reverse) in SOUND_FlushOutput() argument
267 if(SoundBuf && reverse) in SOUND_FlushOutput()
289 memcpy(SoundBuf, IBuffer, IBufferCount * 2 * sizeof(int16)); in SOUND_FlushOutput()
302 …terleaved_int(resampler, (const spx_int16_t *)IBuffer, &in_len, (spx_int16_t *)SoundBuf, &out_len); in SOUND_FlushOutput()
H A Dssf.cpp58 …espec->SoundBufSize = SOUND_FlushOutput(espec->SoundBuf, espec->SoundBufMaxSize, espec->NeedSoundR… in Emulate()
65 Player_Draw(espec->surface, &espec->DisplayRect, 0, espec->SoundBuf, espec->SoundBufSize); in Emulate()
/dports/emulators/mednafen/mednafen/src/gba/
H A DSound.cpp401 int32 MDFNGBASOUND_Flush(int16 *SoundBuf, const int32 MaxSoundFrames) in MDFNGBASOUND_Flush() argument
413 if(SoundBuf) in MDFNGBASOUND_Flush()
414 FrameCount = gba_buf.read_samples(SoundBuf, MaxSoundFrames * 2) / 2; in MDFNGBASOUND_Flush()
422 if(SoundBuf) in MDFNGBASOUND_Flush()
/dports/games/libretro-beetle_bsnes/beetle-bsnes-libretro-b65ded5bde278c18af538c687db9b72c995b220a/
H A Dlibretro.cpp298 spec.SoundBuf = sound_buf; in retro_run()
339 int16 *const SoundBuf = spec.SoundBuf + spec.SoundBufSizeALMS * curgame->soundchan; in retro_run() local
359 audio_batch_cb(spec.SoundBuf, spec.SoundBufSize); in retro_run()
/dports/emulators/mednafen/mednafen/src/pce_fast/
H A Dhes.cpp217 void HES_Draw(MDFN_Surface *surface, MDFN_Rect *DisplayRect, int16 *SoundBuf, int32 SoundBufSize) in HES_Draw() argument
256 Player_Draw(surface, DisplayRect, CurrentSong, SoundBuf, SoundBufSize); in HES_Draw()
/dports/games/libretro-beetle_wswan/beetle-wswan-libretro-5b03d1b/mednafen/wswan/
H A Dsound.h4 int32 WSwan_SoundFlush(int16 *SoundBuf, const int32 MaxSoundFrames);
/dports/emulators/mednafen/mednafen/src/wswan/
H A Dsound.h28 int32 WSwan_SoundFlush(int16 *SoundBuf, const int32 MaxSoundFrames);
H A Dsound.cpp338 int32 WSwan_SoundFlush(int16 *SoundBuf, const int32 MaxSoundFrames) in WSwan_SoundFlush() argument
344 if(SoundBuf) in WSwan_SoundFlush()
349 FrameCount = sbuf[y]->read_samples(SoundBuf + y, MaxSoundFrames, true); in WSwan_SoundFlush()

1234