Changeset 549928e for src/io/source.c


Ignore:
Timestamp:
Dec 10, 2013, 2:30:42 PM (10 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:
ab41f5c
Parents:
eb99982
Message:

wscript: make sure all libav libraries are installed to build source_avcodec

Signed-off-by: Paul Brossier <piem@piem.org>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source.c

    reb99982 r549928e  
    2424#include "fmat.h"
    2525#include "io/source.h"
    26 #ifdef HAVE_AVCODEC
     26#ifdef HAVE_LIBAV
    2727#include "io/source_avcodec.h"
    28 #endif /* HAVE_AVCODEC */
     28#endif /* HAVE_LIBAV */
    2929#ifdef __APPLE__
    3030#include "io/source_apple_audio.h"
     
    5353aubio_source_t * new_aubio_source(char_t * uri, uint_t samplerate, uint_t hop_size) {
    5454  aubio_source_t * s = AUBIO_NEW(aubio_source_t);
    55 #if HAVE_AVCODEC
     55#if HAVE_LIBAV
    5656  s->source = (void *)new_aubio_source_avcodec(uri, samplerate, hop_size);
    5757  if (s->source) {
     
    6464    return s;
    6565  }
    66 #endif /* HAVE_AVCODEC */
     66#endif /* HAVE_LIBAV */
    6767#ifdef __APPLE__
    6868  s->source = (void *)new_aubio_source_apple_audio(uri, samplerate, hop_size);
Note: See TracChangeset for help on using the changeset viewer.