Changeset 029bf4e


Ignore:
Timestamp:
Dec 31, 2013, 12:10:58 AM (10 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
0546c1f3
Parents:
d389e23
Message:

src/: build with -Wmissing-declarations

Location:
src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_avcodec.c

    rd389e23 r029bf4e  
    6262// hack to create or re-create the context the first time _do or _do_multi is called
    6363void aubio_source_avcodec_reset_resampler(aubio_source_avcodec_t * s, uint_t multi);
     64void aubio_source_avcodec_readframe(aubio_source_avcodec_t *s, uint_t * read_samples);
    6465
    6566aubio_source_avcodec_t * new_aubio_source_avcodec(char_t * path, uint_t samplerate, uint_t hop_size) {
  • src/spectral/ooura_fft8g.c

    rd389e23 r029bf4e  
    1 // 2 modifications made for aubio:
     1// modifications made for aubio:
    22//  - replace all 'double' with 'smpl_t'
    33//  - include "aubio_priv.h" (for config.h and types.h)
     4//  - add missing prototypes
    45
    56#include "aubio_priv.h"
     7
     8void cdft(int n, int isgn, smpl_t *a, int *ip, smpl_t *w);
     9void rdft(int n, int isgn, smpl_t *a, int *ip, smpl_t *w);
     10void ddct(int n, int isgn, smpl_t *a, int *ip, smpl_t *w);
     11void ddst(int n, int isgn, smpl_t *a, int *ip, smpl_t *w);
     12void dfct(int n, smpl_t *a, smpl_t *t, int *ip, smpl_t *w);
     13void dfst(int n, smpl_t *a, smpl_t *t, int *ip, smpl_t *w);
     14void makewt(int nw, int *ip, smpl_t *w);
     15void makect(int nc, int *ip, smpl_t *c);
     16void bitrv2(int n, int *ip, smpl_t *a);
     17void bitrv2conj(int n, int *ip, smpl_t *a);
     18void cftfsub(int n, smpl_t *a, smpl_t *w);
     19void cftbsub(int n, smpl_t *a, smpl_t *w);
     20void cft1st(int n, smpl_t *a, smpl_t *w);
     21void cftmdl(int n, int l, smpl_t *a, smpl_t *w);
     22void rftfsub(int n, smpl_t *a, int nc, smpl_t *c);
     23void rftbsub(int n, smpl_t *a, int nc, smpl_t *c);
     24void dctsub(int n, smpl_t *a, int nc, smpl_t *c);
     25void dstsub(int n, smpl_t *a, int nc, smpl_t *c);
    626
    727/*
  • src/spectral/statistics.c

    rd389e23 r029bf4e  
    2222#include "cvec.h"
    2323#include "spectral/specdesc.h"
     24
     25void aubio_specdesc_centroid (aubio_specdesc_t * o, cvec_t * spec,
     26    fvec_t * desc);
     27void aubio_specdesc_spread (aubio_specdesc_t * o, cvec_t * spec,
     28    fvec_t * desc);
     29void aubio_specdesc_skewness (aubio_specdesc_t * o, cvec_t * spec,
     30    fvec_t * desc);
     31void aubio_specdesc_kurtosis (aubio_specdesc_t * o, cvec_t * spec,
     32    fvec_t * desc);
     33void aubio_specdesc_slope (aubio_specdesc_t * o, cvec_t * spec,
     34    fvec_t * desc);
     35void aubio_specdesc_decrease (aubio_specdesc_t * o, cvec_t * spec,
     36    fvec_t * desc);
     37void aubio_specdesc_rolloff (aubio_specdesc_t * o, cvec_t * spec,
     38    fvec_t * desc);
     39
     40
     41smpl_t cvec_sum (cvec_t * s);
     42smpl_t cvec_mean (cvec_t * s);
     43smpl_t cvec_centroid (cvec_t * s);
     44smpl_t cvec_moment (cvec_t * s, uint_t moment);
    2445
    2546smpl_t
  • src/tempo/tempo.c

    rd389e23 r029bf4e  
    2828#include "mathutils.h"
    2929#include "tempo/tempo.h"
     30
     31// TODO implement get/set_delay
     32
     33/** set current delay
     34
     35  \param o beat tracking object
     36
     37  \return current delay, in samples
     38
     39 */
     40uint_t aubio_tempo_get_delay(aubio_tempo_t * o);
     41
     42/** set current delay
     43
     44  \param o beat tracking object
     45  \param delay delay to set tempo to, in samples
     46
     47  \return `0` if successful, non-zero otherwise
     48
     49 */
     50uint_t aubio_tempo_set_delay(aubio_tempo_t * o, uint_t delay);
    3051
    3152/* structure to store object state */
Note: See TracChangeset for help on using the changeset viewer.