Changeset 5e9c68a for swig


Ignore:
Timestamp:
Aug 9, 2005, 7:56:21 PM (19 years ago)
Author:
Paul Brossier <piem@altern.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:
a29ad46
Parents:
28d8c4a
Message:

rename file_ to aubio_sndfile, protect aubio_pitdetection_{mode,type} enumerators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • swig/aubio.i

    r28d8c4a r5e9c68a  
    5252
    5353/* sndfile */
    54 extern aubio_file_t * new_file_ro (const char * inputfile);
    55 extern aubio_file_t * new_file_wo(aubio_file_t * existingfile, const char * outputname);
    56 extern void file_info(aubio_file_t * file);
    57 extern int file_write(aubio_file_t * file, int frames, fvec_t * write);
    58 extern int file_read(aubio_file_t * file, int frames, fvec_t * read);
    59 extern int del_file(aubio_file_t * file);
    60 extern uint_t aubio_file_channels(aubio_file_t * file);
    61 extern uint_t aubio_file_samplerate(aubio_file_t * file);
     54extern aubio_sndfile_t * new_aubio_sndfile_ro (const char * inputfile);
     55extern aubio_sndfile_t * new_aubio_sndfile_wo(aubio_sndfile_t * existingfile, const char * outputname);
     56extern void aubio_sndfile_info(aubio_sndfile_t * file);
     57extern int aubio_sndfile_write(aubio_sndfile_t * file, int frames, fvec_t * write);
     58extern int aubio_sndfile_read(aubio_sndfile_t * file, int frames, fvec_t * read);
     59extern int del_aubio_sndfile(aubio_sndfile_t * file);
     60extern uint_t aubio_sndfile_channels(aubio_sndfile_t * file);
     61extern uint_t aubio_sndfile_samplerate(aubio_sndfile_t * file);
    6262
    6363/* fft */
     
    159159/* pitch detection */
    160160typedef enum {
    161         aubio_yin,
    162         aubio_mcomb,
    163         aubio_schmitt,
    164         aubio_fcomb
     161        aubio_pitch_yin,
     162        aubio_pitch_mcomb,
     163        aubio_pitch_schmitt,
     164        aubio_pitch_fcomb
    165165} aubio_pitchdetection_type;
    166166
    167167typedef enum {
    168         aubio_freq,
    169         aubio_midi,
    170         aubio_cent,
    171         aubio_bin
     168        aubio_pitchm_freq,
     169        aubio_pitchm_midi,
     170        aubio_pitchm_cent,
     171        aubio_pitchm_bin
    172172} aubio_pitchdetection_mode;
    173173
Note: See TracChangeset for help on using the changeset viewer.