Ignore:
Timestamp:
Nov 5, 2009, 11:17:56 PM (10 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
e5b9a46
Parents:
48b6a52
Message:

src/onset/peakpick.h: remove unused functions, fix aubio_peakpicker_get_thresholded_input

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/onset/peakpick.h

    r48b6a52 r6e57c2e  
    3232#endif
    3333
    34 /** function pointer to thresholding function */
    35 typedef smpl_t (*aubio_thresholdfn_t)(fvec_t *input, uint_t channel);
    36 /** function pointer to peak-picking function */
    37 typedef uint_t (*aubio_pickerfn_t)(fvec_t *input, uint_t pos);
    3834/** peak-picker structure */
    3935typedef struct _aubio_peakpicker_t aubio_peakpicker_t;
     
    4339/** real time peak picking function */
    4440void aubio_peakpicker_do(aubio_peakpicker_t * p, fvec_t * in, fvec_t * out);
    45 /** get current peak value */
    46 smpl_t aubio_peakpicker_get_thresholded_input(aubio_peakpicker_t * p);
    4741/** destroy peak picker structure */
    4842void del_aubio_peakpicker(aubio_peakpicker_t * p);
    4943
     44/** get current peak value */
     45fvec_t *aubio_peakpicker_get_thresholded_input (aubio_peakpicker_t * p);
    5046/** set peak picking threshold */
    5147uint_t aubio_peakpicker_set_threshold(aubio_peakpicker_t * p, smpl_t threshold);
    5248/** get peak picking threshold */
    5349smpl_t aubio_peakpicker_get_threshold(aubio_peakpicker_t * p);
    54 /** set peak picker thresholding function */
    55 uint_t aubio_peakpicker_set_thresholdfn(aubio_peakpicker_t * p, aubio_thresholdfn_t thresholdfn);
    56 /** get peak picker thresholding function */
    57 aubio_thresholdfn_t aubio_peakpicker_get_thresholdfn(aubio_peakpicker_t * p);
    5850
    5951#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.