Ignore:
Timestamp:
Apr 21, 2016, 6:47:50 PM (8 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:
b643a33
Parents:
1120f86
Message:

src/io/*.{c,h}: added const qualifiers to unmodified pointers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_avcodec.c

    r1120f86 rae5d58a  
    6767void aubio_source_avcodec_readframe(aubio_source_avcodec_t *s, uint_t * read_samples);
    6868
    69 aubio_source_avcodec_t * new_aubio_source_avcodec(char_t * path, uint_t samplerate, uint_t hop_size) {
     69aubio_source_avcodec_t * new_aubio_source_avcodec(const char_t * path, uint_t samplerate, uint_t hop_size) {
    7070  aubio_source_avcodec_t * s = AUBIO_NEW(aubio_source_avcodec_t);
    7171  int err;
     
    370370}
    371371
    372 uint_t aubio_source_avcodec_get_samplerate(aubio_source_avcodec_t * s) {
     372uint_t aubio_source_avcodec_get_samplerate(const aubio_source_avcodec_t * s) {
    373373  return s->samplerate;
    374374}
    375375
    376 uint_t aubio_source_avcodec_get_channels(aubio_source_avcodec_t * s) {
     376uint_t aubio_source_avcodec_get_channels(const aubio_source_avcodec_t * s) {
    377377  return s->input_channels;
    378378}
Note: See TracChangeset for help on using the changeset viewer.