Home
last modified time | relevance | path

Searched refs:hisamp (Results 1 – 13 of 13) sorted by relevance

/dports/audio/snd/snd-21.2/
H A Dsnd-marks.c835 if ((mp->samp >= ap->losamp) && (mp->samp <= ap->hisamp)) return(mp); in active_mark_1()
865 if (mp->samp > ap->hisamp) return(mp); /* terminates loop */ in display_channel_marks_1()
871 (mp->samp <= ap->hisamp) && in display_channel_marks_1()
1519 (mp->samp <= ap->hisamp)) in move_syncd_mark()
1528 (mp->samp <= ap->hisamp)) in move_syncd_mark()
1679 ap->hisamp = (mus_long_t)(ap->x1 * cur_srate); in make_mark_graph()
1680 if ((ap->losamp == 0) && (ap->hisamp == 0)) return; in make_mark_graph()
1683 samps = ap->hisamp - ap->losamp + 1; in make_mark_graph()
1748 while (i <= ap->hisamp) in make_mark_graph()
1811 for (i = ap->losamp; i <= ap->hisamp; i++) in make_mark_graph()
[all …]
H A Dsnd-chn.c1755 if (end > ap->hisamp) end = ap->hisamp;
1867 if (hisamp == -1) hisamp = ap->hisamp;
1912 while (ioff <= hisamp)
2003 if (hisamp == -1)
2021 if (hisamp == -1)
2022 hisamp = data_size - 1;
2400 while (i < hisamp)
2430 while (i < hisamp)
2536 losamp, hisamp,
2541 losamp, hisamp,
[all …]
H A Dsnd-env.c965 data_len = cp->axis->hisamp - cp->axis->losamp;
994 mus_long_t hisamp;
997 ap->hisamp = ef->size - 1;
1003 hisamp = ef->size / 2;
1005 … samples_per_pixel = (mus_float_t)((double)hisamp / (mus_float_t)(ap->x_axis_x1 - ap->x_axis_x0));
1007 (hisamp < POINT_BUFFER_SIZE))
1009 for (i = 0, x = 0.0; i < hisamp; i++, x += incr)
1018 while (i < hisamp)
1139 gray_ap->hisamp = gray_ap->losamp + samps - 1;
1141 gray_ap->x1 = (double)(gray_ap->hisamp) / (double)srate;
[all …]
H A Dsnd-fft.c229 …_sort_peaks(mus_float_t *buf, fft_peak *found, int num_peaks, mus_long_t losamp, mus_long_t hisamp) in find_and_sort_peaks() argument
249 for (i = losamp; i < hisamp; i++) in find_and_sort_peaks()
298 mus_long_t losamp, mus_long_t hisamp, mus_float_t samps_per_pixel, mus_float_t fft_scale) in find_and_sort_transform_peaks() argument
307 fftsize2 = (mus_float_t)hisamp; in find_and_sort_transform_peaks()
323 for (i = losamp; i < hisamp - hop; i += hop) in find_and_sort_transform_peaks()
1347 mus_long_t beg, losamp, hisamp; member
1499 sg->hisamp = ap->hisamp; in set_up_sonogram()
1514 sg->hop = (double)(ap->hisamp - ap->losamp + 1) / (double)(sg->outlim); in set_up_sonogram()
1585 (lsg->hisamp == sg->hisamp) && /* ends are same */ in set_up_sonogram()
1670 if ((sg->losamp != ap->losamp) || (sg->hisamp != ap->hisamp)) in run_all_ffts()
H A Dsnd-kbd.c813 …samples_per_pixel = (cp->axis->hisamp - cp->axis->losamp) / (cp->axis->x_axis_x1 - cp->axis->x_axi… in keyboard_command()
830 if ((loc + 1) == ap->hisamp) loc = ap->hisamp; in keyboard_command()
840 …samples_per_pixel = (cp->axis->hisamp - cp->axis->losamp) / (cp->axis->x_axis_x1 - cp->axis->x_axi… in keyboard_command()
977 cursor_moveto(cp, (mus_long_t)((ap->losamp + ap->hisamp) / 2)); in keyboard_command()
H A Dsnd-select.c62 (ap->hisamp > ed->selection_beg)); in selection_is_visible()
577 if (ap->hisamp > end) in cp_redraw_selection()
797 (cp->axis->hisamp > beg)) in show_selection_triangle()
807 (cp->axis->hisamp >= end)) in show_selection_triangle()
828 if (beg > ap->hisamp) return(false); in hit_selection_triangle()
850 if (end > ap->hisamp) return(false); in hit_selection_loop_triangle()
H A Dsnd-mix.c1016 hi = cp->axis->hisamp; in zoom_focus_mix_in_channel_to_position()
1970 if (ap->hisamp < newend) in prepare_mix_peak_env()
2023 hi = ap->hisamp; in prepare_mix_waveform()
2030 samps = ap->hisamp - ap->losamp + 1; in prepare_mix_waveform()
2148 old_hi = ap->hisamp; in prepare_mix_dialog_waveform()
2156 ap->hisamp = ms->beg + ms->len; in prepare_mix_dialog_waveform()
2158 ap->x1 = (double)(ap->hisamp) / cur_srate; in prepare_mix_dialog_waveform()
2170 ap->hisamp = old_hi; in prepare_mix_dialog_waveform()
2180 if (ap->hisamp > ap->losamp) in erase_mix_tag_and_waveform()
2242 display_one_mix_with_bounds(ms, cp, cp->axis, cp->axis->losamp, cp->axis->hisamp); in display_one_mix()
[all …]
H A Dsnd-1.h167 …mus_long_t losamp, hisamp; /* displayed x-axis bounds in terms of sound sample num… member
1035 …at_t *buf, fft_peak *found, int num_peaks, mus_long_t losamp, mus_long_t hisamp, mus_float_t samps…
1036 …sort_peaks(mus_float_t *buf, fft_peak *found, int num_peaks, mus_long_t losamp, mus_long_t hisamp);
1399 Xen make_graph_data(chan_info *cp, int edit_pos, mus_long_t losamp, mus_long_t hisamp);
1400 void draw_graph_data(chan_info *cp, mus_long_t losamp, mus_long_t hisamp, int data_size, mus_float_…
1469 bool peak_env_usable(chan_info *cp, mus_float_t samples_per_pixel, mus_long_t hisamp, bool start_ne…
H A Dsnd-snd.c562 bool peak_env_usable(chan_info *cp, mus_float_t samples_per_pixel, mus_long_t hisamp, bool start_ne… in peak_env_usable() argument
576 bin = (int)(hisamp / ep->samps_per_bin); in peak_env_usable()
592 return(peak_env_usable(cp, samples_per_pixel, hisamp, start_new, edit_pos, false)); in peak_env_usable()
635 while (i <= ap->hisamp) in peak_env_graph()
H A Dsnd-axis.c1551 Xen_cons(C_llong_to_Xen_llong(ap->hisamp), in g_axis_info()
H A Dsnd-dac.c1150 cp->original_window_size = cp->axis->hisamp - cp->axis->losamp; in add_channel_to_play_list()
H A Dsnd-test.rb8130 losamp, hisamp, x0, y0, x1, y1 = axinfo[0, 6]
8143 snd_test_neq(right_sample(obind, 0), hisamp, "axis_info[1 hisamp]")
H A Dsnd-test.scm6197 (hisamp (cadr axinfo))
6232 (if (not (= hisamp (right-sample obind 0)))
6233 (snd-display "axis-info[1 hisamp]: ~A ~A?" hisamp (right-sample obind 0)))