Home
last modified time | relevance | path

Searched refs:SCBUF_SIZE (Results 1 – 6 of 6) sorted by relevance

/dports/emulators/jzintv/jzintv-20200712-src/doc/tech/
H A Divoice.c45 #define SCBUF_SIZE (4096) /* Must be power of 2 */ macro
46 #define SCBUF_MASK (SCBUF_SIZE - 1)
1300 while (ivoice->sc_head > SCBUF_SIZE && ivoice->sc_tail > SCBUF_SIZE) in ivoice_tk()
1302 ivoice->sc_head -= SCBUF_SIZE; in ivoice_tk()
1303 ivoice->sc_tail -= SCBUF_SIZE; in ivoice_tk()
1408 if (ivoice->sc_head + do_samp - ivoice->sc_tail > SCBUF_SIZE) in ivoice_tk()
1409 do_samp = ivoice->sc_tail + SCBUF_SIZE - ivoice->sc_head; in ivoice_tk()
1634 ivoice->scratch = calloc(SCBUF_SIZE, sizeof(sint_16)); in ivoice_init()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/snd/
H A Dsp0256.cpp33 #define SCBUF_SIZE (4096) /* Must be power of 2 */ macro
34 #define SCBUF_MASK (SCBUF_SIZE - 1)
133 ScanVar(m_scratch, SCBUF_SIZE * sizeof(INT16), "sp0256 ScratchRam"); in sp0256_scan()
168 m_scratch = (INT16 *)BurnMalloc(SCBUF_SIZE * sizeof(INT16)); in sp0256_init()
191 memset(m_scratch, 0, SCBUF_SIZE * sizeof(INT16)); in sp0256_reset()
1353 if (m_sc_head + do_samp - m_sc_tail > SCBUF_SIZE) in sp0256_update()
1354 do_samp = m_sc_tail + SCBUF_SIZE - m_sc_head; in sp0256_update()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/snd/
H A Dsp0256.cpp33 #define SCBUF_SIZE (4096) /* Must be power of 2 */ macro
34 #define SCBUF_MASK (SCBUF_SIZE - 1)
133 ScanVar(&m_scratch, SCBUF_SIZE * sizeof(INT16), "sp0256 ScratchRam"); in sp0256_scan()
168 m_scratch = (INT16 *)BurnMalloc(SCBUF_SIZE * sizeof(INT16)); in sp0256_init()
191 memset(m_scratch, 0, SCBUF_SIZE * sizeof(INT16)); in sp0256_reset()
1353 if (m_sc_head + do_samp - m_sc_tail > SCBUF_SIZE) in sp0256_update()
1354 do_samp = m_sc_tail + SCBUF_SIZE - m_sc_head; in sp0256_update()
/dports/emulators/jzintv/jzintv-20200712-src/src/ivoice/
H A Divoice.c55 #define SCBUF_SIZE (4096) /* Must be power of 2 */ macro
56 #define SCBUF_MASK (SCBUF_SIZE - 1)
252 uint8_t buf[SCBUF_SIZE * 2]; in iv_smp_record()
1585 while (ivoice->sc_head > SCBUF_SIZE && ivoice->sc_tail > SCBUF_SIZE) in ivoice_tk()
1587 ivoice->sc_head -= SCBUF_SIZE; in ivoice_tk()
1588 ivoice->sc_tail -= SCBUF_SIZE; in ivoice_tk()
1713 if (ivoice->sc_head + do_samp - ivoice->sc_tail > SCBUF_SIZE) in ivoice_tk()
1714 do_samp = ivoice->sc_tail + SCBUF_SIZE - ivoice->sc_head; in ivoice_tk()
1988 ivoice->scratch = CALLOC(int16_t, SCBUF_SIZE); in ivoice_init()
/dports/emulators/mess/mame-mame0226/src/devices/sound/
H A Dsp0256.cpp38 #define SCBUF_SIZE (4096) /* Must be power of 2 */ macro
39 #define SCBUF_MASK (SCBUF_SIZE - 1)
87 m_scratch = std::make_unique<int16_t[]>(SCBUF_SIZE); in device_start()
88 save_pointer(NAME(m_scratch), SCBUF_SIZE); in device_start()
1316 if (m_sc_head + do_samp - m_sc_tail > SCBUF_SIZE) in sound_stream_update()
1317 do_samp = m_sc_tail + SCBUF_SIZE - m_sc_head; in sound_stream_update()
/dports/emulators/mame/mame-mame0226/src/devices/sound/
H A Dsp0256.cpp38 #define SCBUF_SIZE (4096) /* Must be power of 2 */ macro
39 #define SCBUF_MASK (SCBUF_SIZE - 1)
87 m_scratch = std::make_unique<int16_t[]>(SCBUF_SIZE); in device_start()
88 save_pointer(NAME(m_scratch), SCBUF_SIZE); in device_start()
1316 if (m_sc_head + do_samp - m_sc_tail > SCBUF_SIZE) in sound_stream_update()
1317 do_samp = m_sc_tail + SCBUF_SIZE - m_sc_head; in sound_stream_update()