/dports/audio/schismtracker/schismtracker-20211116/schism/ |
H A D | page_samples.c | 47 static int current_sample = 1; variable 112 if (current_sample < top_sample) { in sample_list_reposition() 113 top_sample = current_sample; in sample_list_reposition() 117 top_sample = current_sample - 34; in sample_list_reposition() 131 return current_sample; in sample_get_current() 143 if (current_sample == new_sample) in sample_set() 146 current_sample = new_sample; in sample_set() 204 pos = current_sample - top_sample; in sample_list_draw_list() 383 int new_sample = current_sample; in sample_list_handle_key_on_list() 459 if (current_sample > 1) { in sample_list_handle_key_on_list() [all …]
|
/dports/audio/soundtracker/soundtracker-1.0.2.1/app/ |
H A D | sample-editor.c | 232 if (current_sample == NULL || current_sample->sample.data == NULL) in sample_editor_display_scrolled() 807 current_sample = s; in sample_editor_set_sample() 819 if (p->dump[i].current_sample == ¤t_sample->sample) { in sample_editor_update_mixer_position() 888 if (!current_sample) in sample_editor_spin_finetune_changed() 901 if (!current_sample) in sample_editor_spin_relnote_changed() 1263 if (current_sample == NULL || current_sample->sample.data == NULL) in sample_editor_show_all_clicked() 1275 if (current_sample == NULL || current_sample->sample.data == NULL) in sample_editor_zoom_in_clicked() 1296 if (current_sample == NULL || current_sample->sample.data == NULL) in sample_editor_zoom_out_clicked() 1622 if (!current_sample) { in sample_editor_reverse_clicked() 2900 if (!current_sample) [all …]
|
/dports/net-mgmt/nagios-check_bacula11/bacula-11.0.5/src/lib/ |
H A D | bwlimit.c | 31 current_sample=0; in reset_sample() 44 total_time-=samples_time[current_sample]; in push_sample() 45 total_byte-=samples_byte[current_sample]; in push_sample() 46 total_sleep-=samples_sleep[current_sample]; in push_sample() 52 samples_time[current_sample]=current_time; in push_sample() 53 samples_byte[current_sample]=current_byte; in push_sample() 54 samples_sleep[current_sample]=current_sleep; in push_sample() 59 current_sample=(current_sample+1)%sample_capacity; in push_sample()
|
/dports/net-mgmt/nagios-check_bacula9/bacula-9.6.7/src/lib/ |
H A D | bwlimit.c | 31 current_sample=0; in reset_sample() 44 total_time-=samples_time[current_sample]; in push_sample() 45 total_byte-=samples_byte[current_sample]; in push_sample() 46 total_sleep-=samples_sleep[current_sample]; in push_sample() 52 samples_time[current_sample]=current_time; in push_sample() 53 samples_byte[current_sample]=current_byte; in push_sample() 54 samples_sleep[current_sample]=current_sleep; in push_sample() 59 current_sample=(current_sample+1)%sample_capacity; in push_sample()
|
/dports/sysutils/bacula11-server/bacula-11.0.5/src/lib/ |
H A D | bwlimit.c | 31 current_sample=0; in reset_sample() 44 total_time-=samples_time[current_sample]; in push_sample() 45 total_byte-=samples_byte[current_sample]; in push_sample() 46 total_sleep-=samples_sleep[current_sample]; in push_sample() 52 samples_time[current_sample]=current_time; in push_sample() 53 samples_byte[current_sample]=current_byte; in push_sample() 54 samples_sleep[current_sample]=current_sleep; in push_sample() 59 current_sample=(current_sample+1)%sample_capacity; in push_sample()
|
/dports/sysutils/bacula11-client-static/bacula-11.0.5/src/lib/ |
H A D | bwlimit.c | 31 current_sample=0; in reset_sample() 44 total_time-=samples_time[current_sample]; in push_sample() 45 total_byte-=samples_byte[current_sample]; in push_sample() 46 total_sleep-=samples_sleep[current_sample]; in push_sample() 52 samples_time[current_sample]=current_time; in push_sample() 53 samples_byte[current_sample]=current_byte; in push_sample() 54 samples_sleep[current_sample]=current_sleep; in push_sample() 59 current_sample=(current_sample+1)%sample_capacity; in push_sample()
|
/dports/sysutils/bacula9-client/bacula-9.6.7/src/lib/ |
H A D | bwlimit.c | 31 current_sample=0; in reset_sample() 44 total_time-=samples_time[current_sample]; in push_sample() 45 total_byte-=samples_byte[current_sample]; in push_sample() 46 total_sleep-=samples_sleep[current_sample]; in push_sample() 52 samples_time[current_sample]=current_time; in push_sample() 53 samples_byte[current_sample]=current_byte; in push_sample() 54 samples_sleep[current_sample]=current_sleep; in push_sample() 59 current_sample=(current_sample+1)%sample_capacity; in push_sample()
|
/dports/sysutils/bacula9-client-static/bacula-9.6.7/src/lib/ |
H A D | bwlimit.c | 31 current_sample=0; in reset_sample() 44 total_time-=samples_time[current_sample]; in push_sample() 45 total_byte-=samples_byte[current_sample]; in push_sample() 46 total_sleep-=samples_sleep[current_sample]; in push_sample() 52 samples_time[current_sample]=current_time; in push_sample() 53 samples_byte[current_sample]=current_byte; in push_sample() 54 samples_sleep[current_sample]=current_sleep; in push_sample() 59 current_sample=(current_sample+1)%sample_capacity; in push_sample()
|
/dports/sysutils/bacula9-server/bacula-9.6.7/src/lib/ |
H A D | bwlimit.c | 31 current_sample=0; in reset_sample() 44 total_time-=samples_time[current_sample]; in push_sample() 45 total_byte-=samples_byte[current_sample]; in push_sample() 46 total_sleep-=samples_sleep[current_sample]; in push_sample() 52 samples_time[current_sample]=current_time; in push_sample() 53 samples_byte[current_sample]=current_byte; in push_sample() 54 samples_sleep[current_sample]=current_sleep; in push_sample() 59 current_sample=(current_sample+1)%sample_capacity; in push_sample()
|
/dports/sysutils/bacula11-client/bacula-11.0.5/src/lib/ |
H A D | bwlimit.c | 31 current_sample=0; in reset_sample() 44 total_time-=samples_time[current_sample]; in push_sample() 45 total_byte-=samples_byte[current_sample]; in push_sample() 46 total_sleep-=samples_sleep[current_sample]; in push_sample() 52 samples_time[current_sample]=current_time; in push_sample() 53 samples_byte[current_sample]=current_byte; in push_sample() 54 samples_sleep[current_sample]=current_sleep; in push_sample() 59 current_sample=(current_sample+1)%sample_capacity; in push_sample()
|
/dports/emulators/uae/uae-0.8.29/src/od-dos/sound/ |
H A D | sound.c | 111 uae_u32 data0 = audio_channel[0].current_sample; in direct_mono_sample16_handler() 112 uae_u32 data1 = audio_channel[1].current_sample; in direct_mono_sample16_handler() 113 uae_u32 data2 = audio_channel[2].current_sample; in direct_mono_sample16_handler() 114 uae_u32 data3 = audio_channel[3].current_sample; in direct_mono_sample16_handler() 141 uae_u32 data0 = audio_channel[0].current_sample; in direct_mono_sample8_handler() 142 uae_u32 data1 = audio_channel[1].current_sample; in direct_mono_sample8_handler() 143 uae_u32 data2 = audio_channel[2].current_sample; in direct_mono_sample8_handler() 144 uae_u32 data3 = audio_channel[3].current_sample; in direct_mono_sample8_handler() 170 uae_u32 data0 = audio_channel[0].current_sample; in direct_stereo_sample16_handler() 171 uae_u32 data1 = audio_channel[1].current_sample; in direct_stereo_sample16_handler() [all …]
|
/dports/games/libretro-gpsp/gpsp-300d0c0/ |
H A D | sound.c | 86 s16 current_sample, next_sample; in sound_timer() local 96 current_sample >>= 1; in sound_timer() 124 s16 dest_sample = current_sample + in sound_timer() 138 s16 dest_sample = current_sample + in sound_timer() 436 s32 current_sample; in update_gbc_sound() local 479 current_sample = wave_ram[i]; in update_gbc_sound() 650 s32 current_sample = source[i]; in render_audio() local 651 if(current_sample > 2047) in render_audio() 652 current_sample = 2047; in render_audio() 653 if(current_sample < -2048) in render_audio() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/arc/tracing/ |
H A D | arc_system_stat_collector.cc | 531 current_sample.mem_used_kb = in UpdateSystemStatOnUiThread() 542 current_sample.swap_sectors_read = in UpdateSystemStatOnUiThread() 544 current_sample.swap_sectors_write = in UpdateSystemStatOnUiThread() 546 current_sample.swap_waiting_time_ms = in UpdateSystemStatOnUiThread() 550 current_sample.cpu_power = static_cast<int>( in UpdateSystemStatOnUiThread() 559 DCHECK_GE(current_sample.cpu_power, 0); in UpdateSystemStatOnUiThread() 560 DCHECK_GE(current_sample.gpu_power, 0); in UpdateSystemStatOnUiThread() 561 DCHECK_GE(current_sample.memory_power, 0); in UpdateSystemStatOnUiThread() 565 current_sample.package_power_constraint = in UpdateSystemStatOnUiThread() 572 DCHECK_GE(current_sample.mem_total_kb, 0); in UpdateSystemStatOnUiThread() [all …]
|
/dports/biology/p5-Bio-Graphics/Bio-Graphics-2.40/lib/Bio/Graphics/Glyph/ |
H A D | trace.pm | 446 current_sample => $trace_start_sample, 465 my $current_sample = $trace_start_sample + 1; 466 $current_sample <= $trace_end_sample; 467 $current_sample++ 471 current_sample => $current_sample, 482 current_sample => $current_sample, 569 my $current_sample = $args{'current_sample'}; 577 if ( $current_sample >= $trace_center_sample ) { 603 my $current_sample = $args{'current_sample'}; 613 if ( $current_sample < 0 [all …]
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/rodio-0.9.0/src/source/ |
H A D | channel_volume.rs | 18 current_sample: Option<I::Item>, field 43 current_sample: sample, in new() 82 let ret = self.current_sample in next() 87 self.current_sample = None; in next() 90 self.current_sample = Some(self.current_sample in next()
|
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/rodio-0.14.0/src/source/ |
H A D | channel_volume.rs | 18 current_sample: Option<I::Item>, field 45 current_sample: sample, in new() 85 .current_sample in next() 90 self.current_sample = None; in next() 93 self.current_sample = Some( in next() 94 self.current_sample in next()
|
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/rodio-0.14.0/src/source/ |
H A D | channel_volume.rs | 18 current_sample: Option<I::Item>, field 45 current_sample: sample, in new() 85 .current_sample in next() 90 self.current_sample = None; in next() 93 self.current_sample = Some( in next() 94 self.current_sample in next()
|
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/rodio-0.9.0/src/source/ |
H A D | channel_volume.rs | 18 current_sample: Option<I::Item>, 43 current_sample: sample, 82 let ret = self.current_sample 87 self.current_sample = None; 90 self.current_sample = Some(self.current_sample
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/parasites/braids/ |
H A D | braids.cc | 73 size_t current_sample; variable 108 dac.Write(-audio_samples[playback_block][current_sample] + 32768); in TIM1_UP_IRQHandler() 111 sync_samples[playback_block][current_sample] = trigger_detected; in TIM1_UP_IRQHandler() 114 current_sample = current_sample + 1; in TIM1_UP_IRQHandler() 115 if (current_sample >= kBlockSize) { in TIM1_UP_IRQHandler() 116 current_sample = 0; in TIM1_UP_IRQHandler() 161 current_sample = 0; in Init()
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/eurorack/braids/ |
H A D | braids.cc | 73 size_t current_sample; variable 108 dac.Write(-audio_samples[playback_block][current_sample] + 32768); in TIM1_UP_IRQHandler() 111 sync_samples[playback_block][current_sample] = trigger_detected; in TIM1_UP_IRQHandler() 114 current_sample = current_sample + 1; in TIM1_UP_IRQHandler() 115 if (current_sample >= kBlockSize) { in TIM1_UP_IRQHandler() 116 current_sample = 0; in TIM1_UP_IRQHandler() 161 current_sample = 0; in Init()
|
/dports/net/iaxmodem/iaxmodem-1.2.0/lib/spandsp/src/ |
H A D | bell_r2_mf.c | 331 s->current_sample = 0; in bell_mf_tx_init() 463 limit = sample + (BELL_MF_SAMPLES_PER_BLOCK - s->current_sample); in bell_mf_rx() 476 s->current_sample += (limit - sample); in bell_mf_rx() 477 if (s->current_sample < BELL_MF_SAMPLES_PER_BLOCK) in bell_mf_rx() 583 s->current_sample = 0; in bell_mf_rx() 641 s->current_sample = 0; in bell_mf_rx_init() 679 limit = sample + (R2_MF_SAMPLES_PER_BLOCK - s->current_sample); in r2_mf_rx() 692 s->current_sample += (limit - sample); in r2_mf_rx() 693 if (s->current_sample < R2_MF_SAMPLES_PER_BLOCK) in r2_mf_rx() 771 s->current_sample = 0; in r2_mf_rx() [all …]
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/spandsp/src/ |
H A D | bell_r2_mf.c | 342 s->current_sample = 0; in bell_mf_tx_init() 487 limit = sample + (BELL_MF_SAMPLES_PER_BLOCK - s->current_sample); in bell_mf_rx() 500 s->current_sample += (limit - sample); in bell_mf_rx() 501 if (s->current_sample < BELL_MF_SAMPLES_PER_BLOCK) in bell_mf_rx() 607 s->current_sample = 0; in bell_mf_rx() 665 s->current_sample = 0; in bell_mf_rx_init() 707 limit = sample + (R2_MF_SAMPLES_PER_BLOCK - s->current_sample); in r2_mf_rx() 720 s->current_sample += (limit - sample); in r2_mf_rx() 721 if (s->current_sample < R2_MF_SAMPLES_PER_BLOCK) in r2_mf_rx() 799 s->current_sample = 0; in r2_mf_rx() [all …]
|
/dports/comms/spandsp/spandsp-284fe91/src/ |
H A D | bell_r2_mf.c | 342 s->current_sample = 0; in bell_mf_tx_init() 487 limit = sample + (BELL_MF_SAMPLES_PER_BLOCK - s->current_sample); in bell_mf_rx() 500 s->current_sample += (limit - sample); in bell_mf_rx() 501 if (s->current_sample < BELL_MF_SAMPLES_PER_BLOCK) in bell_mf_rx() 607 s->current_sample = 0; in bell_mf_rx() 665 s->current_sample = 0; in bell_mf_rx_init() 707 limit = sample + (R2_MF_SAMPLES_PER_BLOCK - s->current_sample); in r2_mf_rx() 720 s->current_sample += (limit - sample); in r2_mf_rx() 721 if (s->current_sample < R2_MF_SAMPLES_PER_BLOCK) in r2_mf_rx() 799 s->current_sample = 0; in r2_mf_rx() [all …]
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/libteletone/src/ |
H A D | libteletone_detect.c | 170 dtmf_detect_state->current_sample = 0; in teletone_dtmf_detect_init() 229 if ((samples - sample) >= (mt->min_samples - mt->current_sample)) { in teletone_multi_tone_detect() 230 limit = sample + (mt->min_samples - mt->current_sample); in teletone_multi_tone_detect() 254 mt->current_sample += (limit - sample); in teletone_multi_tone_detect() 255 if (mt->current_sample < mt->min_samples) { in teletone_multi_tone_detect() 300 mt->current_sample = 0; in teletone_multi_tone_detect() 327 limit = sample + (BLOCK_LEN - dtmf_detect_state->current_sample); in teletone_dtmf_detect() 377 dtmf_detect_state->current_sample = 0; in teletone_dtmf_detect() 384 dtmf_detect_state->current_sample += (limit - sample); in teletone_dtmf_detect() 385 if (dtmf_detect_state->current_sample < BLOCK_LEN) { in teletone_dtmf_detect() [all …]
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/freetdm/src/ |
H A D | libteletone_detect.c | 166 dtmf_detect_state->current_sample = 0; in teletone_dtmf_detect_init() 225 if ((samples - sample) >= (mt->min_samples - mt->current_sample)) { in teletone_multi_tone_detect() 226 limit = sample + (mt->min_samples - mt->current_sample); in teletone_multi_tone_detect() 250 mt->current_sample += (limit - sample); in teletone_multi_tone_detect() 251 if (mt->current_sample < mt->min_samples) { in teletone_multi_tone_detect() 296 mt->current_sample = 0; in teletone_multi_tone_detect() 324 limit = sample + (BLOCK_LEN - dtmf_detect_state->current_sample); in teletone_dtmf_detect() 374 dtmf_detect_state->current_sample = 0; in teletone_dtmf_detect() 381 dtmf_detect_state->current_sample += (limit - sample); in teletone_dtmf_detect() 382 if (dtmf_detect_state->current_sample < BLOCK_LEN) { in teletone_dtmf_detect() [all …]
|