Changeset 4d75b46 for src/io/sink.c


Ignore:
Timestamp:
Jul 13, 2012, 9:05:32 PM (8 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:
3504dfe7
Parents:
eae5898
Message:

src/io/sink.*: fix prototypes, draft implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/sink.c

    reae5898 r4d75b46  
    3030
    3131aubio_sink_t * new_aubio_sink(char_t * uri, uint_t hop_size, uint_t samplerate) {
    32   return NULL;
     32  aubio_sink_t * s = AUBIO_NEW(aubio_sink_t);
     33  return s;
    3334}
    3435
    35 uint_t aubio_sink_do(aubio_sink_t * s, fvec_t * write_data) {
    36   return 0;
     36void aubio_sink_do(aubio_sink_t * s, fvec_t * write_data, uint_t * written) {
    3737}
    3838
    3939void del_aubio_sink(aubio_sink_t * s) {
     40  AUBIO_FREE(s);
    4041  return;
    4142}
Note: See TracChangeset for help on using the changeset viewer.