/dports/multimedia/audacious-plugins/audacious-plugins-4.1/src/console/ |
H A D | Dual_Resampler.cc | 50 void Dual_Resampler::play_frame_( Blip_Buffer& blip_buf, dsample_t* out ) in play_frame_() argument 53 blip_time_t blip_time = blip_buf.count_clocks( pair_count ); in play_frame_() 59 blip_buf.end_frame( blip_time ); in play_frame_() 60 assert( blip_buf.samples_avail() == pair_count ); in play_frame_() 67 mix_samples( blip_buf, out ); in play_frame_() 68 blip_buf.remove_samples( pair_count ); in play_frame_() 88 play_frame_( blip_buf, out ); in dual_play() 96 play_frame_( blip_buf, sample_buf.begin() ); in dual_play() 103 void Dual_Resampler::mix_samples( Blip_Buffer& blip_buf, dsample_t* out ) in mix_samples() argument 106 int bass = sn.begin( blip_buf ); in mix_samples() [all …]
|
H A D | Gym_Emu.cc | 179 RETURN_ERR( blip_buf.set_sample_rate( sample_rate, int (1000 / 60.0 / min_tempo) ) ); in set_sample_rate_() 180 blip_buf.clock_rate( clock_rate ); in set_sample_rate_() 196 if ( blip_buf.sample_rate() ) in set_tempo_() 208 apu.output( (mask & 0x80) ? 0 : &blip_buf ); in mute_voices_() 245 blip_buf.clear(); in start_track_() 281 blip_resampled_time_t period = blip_buf.resampled_duration( clocks_per_frame ) / rate_count; in run_dac() 283 blip_resampled_time_t time = blip_buf.resampled_time( 0 ) + in run_dac() 294 dac_synth.offset_resampled( time, delta, &blip_buf ); in run_dac() 378 Dual_Resampler::dual_play( count, out, blip_buf ); in play_()
|
H A D | Vgm_Emu.cc | 233 RETURN_ERR( blip_buf.set_sample_rate( sample_rate, 1000 / 30 ) ); in set_sample_rate_() 252 dac_synth.output( &blip_buf ); in mute_voices_() 255 psg.output( (mask & 0x80) ? 0 : &blip_buf ); in mute_voices_() 291 blip_buf.clock_rate( psg_rate ); in load_mem_() 324 fm_rate = blip_buf.sample_rate() * oversample_factor; in setup_fm() 331 Dual_Resampler::setup( fm_rate / blip_buf.sample_rate(), rolloff, fm_gain * gain() ); in setup_fm() 342 Dual_Resampler::setup( fm_rate / blip_buf.sample_rate(), rolloff, fm_gain * gain() ); in setup_fm() 353 RETURN_ERR( Dual_Resampler::reset( blip_buf.length() * blip_buf.sample_rate() / 1000 ) ); in setup_fm() 396 blip_buf.clear(); in start_track_() 414 Dual_Resampler::dual_play( count, out, blip_buf ); in play_()
|
/dports/audio/libgme/game-music-emu-0.6.1/gme/ |
H A D | Dual_Resampler.cpp | 58 void Dual_Resampler::play_frame_( Blip_Buffer& blip_buf, dsample_t* out ) in play_frame_() argument 61 blip_time_t blip_time = blip_buf.count_clocks( pair_count ); in play_frame_() 67 blip_buf.end_frame( blip_time ); in play_frame_() 68 assert( blip_buf.samples_avail() == pair_count ); in play_frame_() 75 mix_samples( blip_buf, out ); in play_frame_() 76 blip_buf.remove_samples( pair_count ); in play_frame_() 96 play_frame_( blip_buf, out ); in dual_play() 104 play_frame_( blip_buf, sample_buf.begin() ); in dual_play() 111 void Dual_Resampler::mix_samples( Blip_Buffer& blip_buf, dsample_t* out ) in mix_samples() argument 114 int bass = sn.begin( blip_buf ); in mix_samples() [all …]
|
H A D | Gym_Emu.cpp | 179 RETURN_ERR( blip_buf.set_sample_rate( sample_rate, int (1000 / 60.0 / min_tempo) ) ); in set_sample_rate_() 180 blip_buf.clock_rate( clock_rate ); in set_sample_rate_() 196 if ( blip_buf.sample_rate() ) in set_tempo_() 208 apu.output( (mask & 0x80) ? 0 : &blip_buf ); in mute_voices_() 245 blip_buf.clear(); in start_track_() 281 blip_resampled_time_t period = blip_buf.resampled_duration( clocks_per_frame ) / rate_count; in run_dac() 283 blip_resampled_time_t time = blip_buf.resampled_time( 0 ) + in run_dac() 294 dac_synth.offset_resampled( time, delta, &blip_buf ); in run_dac() 378 Dual_Resampler::dual_play( count, out, blip_buf ); in play_()
|
H A D | Vgm_Emu.cpp | 232 RETURN_ERR( blip_buf.set_sample_rate( sample_rate, 1000 / 30 ) ); in set_sample_rate_() 251 dac_synth.output( &blip_buf ); in mute_voices_() 254 psg.output( (mask & 0x80) ? 0 : &blip_buf ); in mute_voices_() 290 blip_buf.clock_rate( psg_rate ); in load_mem_() 323 fm_rate = blip_buf.sample_rate() * oversample_factor; in setup_fm() 330 Dual_Resampler::setup( fm_rate / blip_buf.sample_rate(), rolloff, fm_gain * gain() ); in setup_fm() 341 Dual_Resampler::setup( fm_rate / blip_buf.sample_rate(), rolloff, fm_gain * gain() ); in setup_fm() 352 RETURN_ERR( Dual_Resampler::reset( blip_buf.length() * blip_buf.sample_rate() / 1000 ) ); in setup_fm() 395 blip_buf.clear(); in start_track_() 413 Dual_Resampler::dual_play( count, out, blip_buf ); in play_()
|
H A D | Blip_Buffer.h | 338 int delta, Blip_Buffer* blip_buf ) const in offset_resampled() argument 342 assert( (blip_long) (time >> BLIP_BUFFER_ACCURACY) < blip_buf->buffer_size_ ); in offset_resampled() 344 blip_long* BLIP_RESTRICT buf = blip_buf->buffer_ + (time >> BLIP_BUFFER_ACCURACY); in offset_resampled() 478 inline int Blip_Reader::begin( Blip_Buffer& blip_buf ) in begin() argument 480 buf = blip_buf.buffer_; in begin() 481 accum = blip_buf.reader_accum_; in begin() 482 return blip_buf.bass_shift_; in begin()
|
/dports/games/zdoom/zdoom-2.8.1/game-music-emu/gme/ |
H A D | Dual_Resampler.cpp | 58 void Dual_Resampler::play_frame_( Blip_Buffer& blip_buf, dsample_t* out ) in play_frame_() argument 61 blip_time_t blip_time = blip_buf.count_clocks( pair_count ); in play_frame_() 67 blip_buf.end_frame( blip_time ); in play_frame_() 68 assert( blip_buf.samples_avail() == pair_count ); in play_frame_() 76 mix_samples( blip_buf, out ); in play_frame_() 77 blip_buf.remove_samples( pair_count ); in play_frame_() 97 play_frame_( blip_buf, out ); in dual_play() 105 play_frame_( blip_buf, sample_buf.begin() ); in dual_play() 112 void Dual_Resampler::mix_samples( Blip_Buffer& blip_buf, dsample_t* out ) in mix_samples() argument 115 int bass = sn.begin( blip_buf ); in mix_samples() [all …]
|
H A D | Gym_Emu.cpp | 179 RETURN_ERR( blip_buf.set_sample_rate( sample_rate, int (1000 / 60.0 / min_tempo) ) ); in set_sample_rate_() 180 blip_buf.clock_rate( clock_rate ); in set_sample_rate_() 196 if ( blip_buf.sample_rate() ) in set_tempo_() 208 apu.output( (mask & 0x80) ? 0 : &blip_buf ); in mute_voices_() 245 blip_buf.clear(); in start_track_() 281 blip_resampled_time_t period = blip_buf.resampled_duration( clocks_per_frame ) / rate_count; in run_dac() 283 blip_resampled_time_t time = blip_buf.resampled_time( 0 ) + in run_dac() 294 dac_synth.offset_resampled( time, delta, &blip_buf ); in run_dac() 378 Dual_Resampler::dual_play( count, out, blip_buf ); in play_()
|
H A D | Vgm_Emu.cpp | 232 RETURN_ERR( blip_buf.set_sample_rate( sample_rate, 1000 / 30 ) ); in set_sample_rate_() 251 dac_synth.output( &blip_buf ); in mute_voices_() 254 psg.output( (mask & 0x80) ? 0 : &blip_buf ); in mute_voices_() 290 blip_buf.clock_rate( psg_rate ); in load_mem_() 323 fm_rate = blip_buf.sample_rate() * oversample_factor; in setup_fm() 330 Dual_Resampler::setup( fm_rate / blip_buf.sample_rate(), rolloff, fm_gain * gain() ); in setup_fm() 341 Dual_Resampler::setup( fm_rate / blip_buf.sample_rate(), rolloff, fm_gain * gain() ); in setup_fm() 352 RETURN_ERR( Dual_Resampler::reset( blip_buf.length() * blip_buf.sample_rate() / 1000 ) ); in setup_fm() 395 blip_buf.clear(); in start_track_() 413 Dual_Resampler::dual_play( count, out, blip_buf ); in play_()
|
H A D | Blip_Buffer.h | 338 int delta, Blip_Buffer* blip_buf ) const in offset_resampled() argument 342 assert( (blip_long) (time >> BLIP_BUFFER_ACCURACY) < blip_buf->buffer_size_ ); in offset_resampled() 344 blip_long* BLIP_RESTRICT buf = blip_buf->buffer_ + (time >> BLIP_BUFFER_ACCURACY); in offset_resampled() 478 inline int Blip_Reader::begin( Blip_Buffer& blip_buf ) in begin() argument 480 buf = blip_buf.buffer_; in begin() 481 accum = blip_buf.reader_accum_; in begin() 482 return blip_buf.bass_shift_; in begin()
|
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/libs/gme/gme/ |
H A D | Dual_Resampler.cpp | 58 void Dual_Resampler::play_frame_( Blip_Buffer& blip_buf, dsample_t* out ) in play_frame_() argument 61 blip_time_t blip_time = blip_buf.count_clocks( pair_count ); in play_frame_() 67 blip_buf.end_frame( blip_time ); in play_frame_() 68 assert( blip_buf.samples_avail() == pair_count ); in play_frame_() 75 mix_samples( blip_buf, out ); in play_frame_() 76 blip_buf.remove_samples( pair_count ); in play_frame_() 96 play_frame_( blip_buf, out ); in dual_play() 104 play_frame_( blip_buf, sample_buf.begin() ); in dual_play() 111 void Dual_Resampler::mix_samples( Blip_Buffer& blip_buf, dsample_t* out ) in mix_samples() argument 114 int bass = sn.begin( blip_buf ); in mix_samples() [all …]
|
H A D | Gym_Emu.cpp | 179 RETURN_ERR( blip_buf.set_sample_rate( sample_rate, int (1000 / 60.0 / min_tempo) ) ); in set_sample_rate_() 180 blip_buf.clock_rate( clock_rate ); in set_sample_rate_() 196 if ( blip_buf.sample_rate() ) in set_tempo_() 208 apu.output( (mask & 0x80) ? 0 : &blip_buf ); in mute_voices_() 245 blip_buf.clear(); in start_track_() 281 blip_resampled_time_t period = blip_buf.resampled_duration( clocks_per_frame ) / rate_count; in run_dac() 283 blip_resampled_time_t time = blip_buf.resampled_time( 0 ) + in run_dac() 294 dac_synth.offset_resampled( time, delta, &blip_buf ); in run_dac() 378 Dual_Resampler::dual_play( count, out, blip_buf ); in play_()
|
H A D | Vgm_Emu.cpp | 232 RETURN_ERR( blip_buf.set_sample_rate( sample_rate, 1000 / 30 ) ); in set_sample_rate_() 251 dac_synth.output( &blip_buf ); in mute_voices_() 254 psg.output( (mask & 0x80) ? 0 : &blip_buf ); in mute_voices_() 290 blip_buf.clock_rate( psg_rate ); in load_mem_() 323 fm_rate = blip_buf.sample_rate() * oversample_factor; in setup_fm() 330 Dual_Resampler::setup( fm_rate / blip_buf.sample_rate(), rolloff, fm_gain * gain() ); in setup_fm() 341 Dual_Resampler::setup( fm_rate / blip_buf.sample_rate(), rolloff, fm_gain * gain() ); in setup_fm() 352 RETURN_ERR( Dual_Resampler::reset( blip_buf.length() * blip_buf.sample_rate() / 1000 ) ); in setup_fm() 395 blip_buf.clear(); in start_track_() 413 Dual_Resampler::dual_play( count, out, blip_buf ); in play_()
|
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/game-music-emu/gme/ |
H A D | Dual_Resampler.cpp | 58 void Dual_Resampler::play_frame_( Blip_Buffer& blip_buf, dsample_t* out ) in play_frame_() argument 61 blip_time_t blip_time = blip_buf.count_clocks( pair_count ); in play_frame_() 67 blip_buf.end_frame( blip_time ); in play_frame_() 68 assert( blip_buf.samples_avail() == pair_count ); in play_frame_() 79 mix_samples( blip_buf, out ); in play_frame_() 80 blip_buf.remove_samples( pair_count ); in play_frame_() 100 play_frame_( blip_buf, out ); in dual_play() 108 play_frame_( blip_buf, sample_buf.begin() ); in dual_play() 115 void Dual_Resampler::mix_samples( Blip_Buffer& blip_buf, dsample_t* out ) in mix_samples() argument 118 int bass = sn.begin( blip_buf ); in mix_samples() [all …]
|
H A D | Gym_Emu.cpp | 179 RETURN_ERR( blip_buf.set_sample_rate( sample_rate, int (1000 / 60.0 / min_tempo) ) ); in set_sample_rate_() 180 blip_buf.clock_rate( clock_rate ); in set_sample_rate_() 196 if ( blip_buf.sample_rate() ) in set_tempo_() 208 apu.output( (mask & 0x80) ? 0 : &blip_buf ); in mute_voices_() 245 blip_buf.clear(); in start_track_() 281 blip_resampled_time_t period = blip_buf.resampled_duration( clocks_per_frame ) / rate_count; in run_dac() 283 blip_resampled_time_t time = blip_buf.resampled_time( 0 ) + in run_dac() 294 dac_synth.offset_resampled( time, delta, &blip_buf ); in run_dac() 378 Dual_Resampler::dual_play( count, out, blip_buf ); in play_()
|
H A D | Vgm_Emu.cpp | 232 RETURN_ERR( blip_buf.set_sample_rate( sample_rate, 1000 / 30 ) ); in set_sample_rate_() 270 dac_synth.output( &blip_buf ); in mute_voices_() 273 psg.output( (mask & 0x80) ? 0 : &blip_buf ); in mute_voices_() 309 blip_buf.clock_rate( psg_rate ); in load_mem_() 342 fm_rate = blip_buf.sample_rate() * oversample_factor; in setup_fm() 349 Dual_Resampler::setup( fm_rate / blip_buf.sample_rate(), rolloff, fm_gain * gain() ); in setup_fm() 360 Dual_Resampler::setup( fm_rate / blip_buf.sample_rate(), rolloff, fm_gain * gain() ); in setup_fm() 371 RETURN_ERR( Dual_Resampler::reset( blip_buf.length() * blip_buf.sample_rate() / 1000 ) ); in setup_fm() 414 blip_buf.clear(); in start_track_() 432 Dual_Resampler::dual_play( count, out, blip_buf ); in play_()
|
/dports/games/libretro-handy/libretro-handy-94c0ab5/blip/ |
H A D | Blip_Buffer.h | 323 int delta, Blip_Buffer* blip_buf ) const in offset_resampled() argument 327 assert( (blip_long) (time >> BLIP_BUFFER_ACCURACY) < blip_buf->buffer_size_ ); in offset_resampled() 329 blip_long* BLIP_RESTRICT buf = blip_buf->buffer_ + (time >> BLIP_BUFFER_ACCURACY); in offset_resampled() 374 blip_inline int Blip_Reader::begin( Blip_Buffer& blip_buf ) in begin() argument 376 buf = blip_buf.buffer_; in begin() 377 accum = blip_buf.reader_accum_; in begin() 378 return blip_buf.bass_shift_; in begin()
|
/dports/games/libretro-beetle_gba/beetle-gba-libretro-8d1e421/mednafen/include/blip/ |
H A D | Blip_Buffer.h | 323 int delta, Blip_Buffer* blip_buf ) const in offset_resampled() argument 327 assert( (blip_long) (time >> BLIP_BUFFER_ACCURACY) < blip_buf->buffer_size_ ); in offset_resampled() 329 blip_long* BLIP_RESTRICT buf = blip_buf->buffer_ + (time >> BLIP_BUFFER_ACCURACY); in offset_resampled() 374 blip_inline int Blip_Reader::begin( Blip_Buffer& blip_buf ) in begin() argument 376 buf = blip_buf.buffer_; in begin() 377 accum = blip_buf.reader_accum_; in begin() 378 return blip_buf.bass_shift_; in begin()
|
/dports/games/libretro-beetle_lynx/beetle-lynx-libretro-35119c9/mednafen/include/blip/ |
H A D | Blip_Buffer.h | 323 int delta, Blip_Buffer* blip_buf ) const in offset_resampled() argument 327 assert( (blip_long) (time >> BLIP_BUFFER_ACCURACY) < blip_buf->buffer_size_ ); in offset_resampled() 329 blip_long* BLIP_RESTRICT buf = blip_buf->buffer_ + (time >> BLIP_BUFFER_ACCURACY); in offset_resampled() 374 blip_inline int Blip_Reader::begin( Blip_Buffer& blip_buf ) in begin() argument 376 buf = blip_buf.buffer_; in begin() 377 accum = blip_buf.reader_accum_; in begin() 378 return blip_buf.bass_shift_; in begin()
|
/dports/games/libretro-beetle_bsnes/beetle-bsnes-libretro-b65ded5bde278c18af538c687db9b72c995b220a/mednafen/include/blip/ |
H A D | Blip_Buffer.h | 323 int delta, Blip_Buffer* blip_buf ) const in offset_resampled() argument 327 assert( (blip_long) (time >> BLIP_BUFFER_ACCURACY) < blip_buf->buffer_size_ ); in offset_resampled() 329 blip_long* BLIP_RESTRICT buf = blip_buf->buffer_ + (time >> BLIP_BUFFER_ACCURACY); in offset_resampled() 374 blip_inline int Blip_Reader::begin( Blip_Buffer& blip_buf ) in begin() argument 376 buf = blip_buf.buffer_; in begin() 377 accum = blip_buf.reader_accum_; in begin() 378 return blip_buf.bass_shift_; in begin()
|
/dports/games/libretro-beetle_supergrafx/beetle-supergrafx-libretro-c4dd156/mednafen/include/blip/ |
H A D | Blip_Buffer.h | 323 int delta, Blip_Buffer* blip_buf ) const in offset_resampled() argument 327 assert( (blip_long) (time >> BLIP_BUFFER_ACCURACY) < blip_buf->buffer_size_ ); in offset_resampled() 329 blip_long* BLIP_RESTRICT buf = blip_buf->buffer_ + (time >> BLIP_BUFFER_ACCURACY); in offset_resampled() 374 blip_inline int Blip_Reader::begin( Blip_Buffer& blip_buf ) in begin() argument 376 buf = blip_buf.buffer_; in begin() 377 accum = blip_buf.reader_accum_; in begin() 378 return blip_buf.bass_shift_; in begin()
|
/dports/games/libretro-beetle_ngp/beetle-ngp-libretro-74cc0d8/mednafen/include/blip/ |
H A D | Blip_Buffer.h | 321 int delta, Blip_Buffer* blip_buf ) const in offset_resampled() argument 324 blip_long* BLIP_RESTRICT buf = blip_buf->buffer_ + (time >> BLIP_BUFFER_ACCURACY); in offset_resampled() 369 blip_inline int Blip_Reader::begin( Blip_Buffer& blip_buf ) in begin() argument 371 buf = blip_buf.buffer_; in begin() 372 accum = blip_buf.reader_accum_; in begin() 373 return blip_buf.bass_shift_; in begin()
|
/dports/games/libretro-quicknes/QuickNES_Core-901248a/nes_emu/ |
H A D | Blip_Buffer.h | 284 int delta, Blip_Buffer* blip_buf ) const in offset_resampled() argument 291 long* buf = blip_buf->buffer_ + (time >> BLIP_BUFFER_ACCURACY); in offset_resampled() 348 inline int Blip_Reader::begin( Blip_Buffer& blip_buf ) in begin() argument 350 buf = blip_buf.buffer_; in begin() 351 accum = blip_buf.reader_accum; in begin() 352 return blip_buf.bass_shift; in begin()
|
/dports/audio/lmms/lmms-1.2.2/plugins/papu/gb_apu/ |
H A D | Blip_Buffer.h | 338 int delta, Blip_Buffer* blip_buf ) const in offset_resampled() argument 342 assert( (blip_long) (time >> BLIP_BUFFER_ACCURACY) < blip_buf->buffer_size_ ); in offset_resampled() 344 blip_long* BLIP_RESTRICT buf = blip_buf->buffer_ + (time >> BLIP_BUFFER_ACCURACY); in offset_resampled() 478 inline int Blip_Reader::begin( Blip_Buffer& blip_buf ) in begin() argument 480 buf = blip_buf.buffer_; in begin() 481 accum = blip_buf.reader_accum_; in begin() 482 return blip_buf.bass_shift_; in begin()
|