Changeset 5e9c68a for ext/sndfileio.h


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
  • ext/sndfileio.h

    r28d8c4a r5e9c68a  
    3131 * sndfile object
    3232 */
    33 typedef struct _aubio_file_t aubio_file_t;
     33typedef struct _aubio_sndfile_t aubio_sndfile_t;
    3434/**
    3535 * Open a sound file for reading
    3636 */
    37 aubio_file_t * new_file_ro (const char * inputfile);
     37aubio_sndfile_t * new_aubio_sndfile_ro (const char * inputfile);
    3838/**
    3939 * Copy file model from previously opened sound file.
    4040 */
    41 aubio_file_t * new_file_wo(aubio_file_t * existingfile, const char * outputname);
     41aubio_sndfile_t * new_aubio_sndfile_wo(aubio_sndfile_t * existingfile, const char * outputname);
    4242/**
    4343 * Open a sound file for writing
    4444 */
    45 int file_open_wo (aubio_file_t * file, const char * outputname);
     45int aubio_sndfile_open_wo (aubio_sndfile_t * file, const char * outputname);
    4646/**
    4747 * Read frames data from file
    4848 */
    49 int file_read(aubio_file_t * file, int frames, fvec_t * read);
     49int aubio_sndfile_read(aubio_sndfile_t * file, int frames, fvec_t * read);
    5050/**
    5151 * Write data of length frames to file
    5252 */
    53 int file_write(aubio_file_t * file, int frames, fvec_t * write);
     53int aubio_sndfile_write(aubio_sndfile_t * file, int frames, fvec_t * write);
    5454/**
    5555 * Close file and delete file object
    5656 */
    57 int del_file(aubio_file_t * file);
     57int del_aubio_sndfile(aubio_sndfile_t * file);
    5858/**
    5959 * Return some files facts
    6060 */
    61 void file_info(aubio_file_t * file);
     61void aubio_sndfile_info(aubio_sndfile_t * file);
    6262/**
    6363 * Return number of channel in file
    6464 */
    65 uint_t aubio_file_channels(aubio_file_t * file);
    66 uint_t aubio_file_samplerate(aubio_file_t * file);
     65uint_t aubio_sndfile_channels(aubio_sndfile_t * file);
     66uint_t aubio_sndfile_samplerate(aubio_sndfile_t * file);
    6767
    6868#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.