Changeset a8752a8


Ignore:
Timestamp:
Feb 10, 2013, 6:27:31 AM (7 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:
c8f411b
Parents:
5a66677
Message:

src/io/source_sndfile.{c,h}: add get_samplerate

Location:
src/io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_sndfile.c

    r5a66677 ra8752a8  
    186186}
    187187
     188uint_t aubio_source_sndfile_get_samplerate(aubio_source_sndfile_t * s) {
     189  return s->samplerate;
     190}
     191
    188192#endif /* HAVE_SNDFILE */
  • src/io/source_sndfile.h

    r5a66677 ra8752a8  
    2727void del_aubio_source_sndfile(aubio_source_sndfile_t * s);
    2828
     29uint_t aubio_source_sndfile_get_samplerate(aubio_source_sndfile_t * s);
     30
    2931#endif /* _AUBIO_SOURCE_SNDFILE_H */
Note: See TracChangeset for help on using the changeset viewer.