Changeset 5d16185 for src/io/source.h


Ignore:
Timestamp:
Mar 22, 2013, 6:15:46 PM (11 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:
dc798e1
Parents:
6ff6d18 (diff), 18a378e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'device' into develop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source.h

    r6ff6d18 r5d16185  
    7070/**
    7171
     72  read polyphonic vector of length hop_size from source object
     73
     74  \param s source object, created with ::new_aubio_source
     75  \param read_to ::fmat_t of data to read to
     76  \param read upon returns, equals to number of frames actually read
     77
     78  Upon returns, `read` contains the number of frames actually read from the
     79  source. `hop_size` if enough frames could be read, less otherwise.
     80
     81*/
     82void aubio_source_do_multi(aubio_source_t * s, fmat_t * read_to, uint_t * read);
     83
     84/**
     85
    7286  get samplerate of source object
    7387
     
    7791*/
    7892uint_t aubio_source_get_samplerate(aubio_source_t * s);
     93
     94/**
     95
     96  get channels of source object
     97
     98  \param s source object, created with ::new_aubio_source
     99  \return channels
     100
     101*/
     102uint_t aubio_source_get_channels (aubio_source_t * s);
     103
     104/**
     105
     106  seek source object
     107
     108  \param s source object, created with ::new_aubio_source
     109  \param pos position to seek to, in frames
     110
     111  \return 0 if sucessful, non-zero on failure
     112
     113*/
     114uint_t aubio_source_seek (aubio_source_t * s, uint_t pos);
    79115
    80116/**
Note: See TracChangeset for help on using the changeset viewer.