Changeset 6b233fc


Ignore:
Timestamp:
Aug 14, 2005, 8:44:58 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:
92e4028
Parents:
45345ee
Message:

added dummy assignment to make egcs happy, use in woodblock path

Location:
examples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • examples/Makefile.am

    r45345ee r6b233fc  
    44
    55# global flags
    6 AM_CFLAGS = -I$(srcdir)/../src -I$(srcdir)/../ext @LADCCA_CFLAGS@
     6AM_CFLAGS = -DAUBIO_PREFIX=\"$(prefix)\" -I$(srcdir)/../src -I$(srcdir)/../ext @LADCCA_CFLAGS@
    77AM_LDFLAGS = -L../src -L../ext @LADCCA_LIBS@ -laubioext -laubio
    88#AM_SOURCES = utils.c
  • examples/utils.c

    r45345ee r6b233fc  
    2222const char * output_filename = NULL;
    2323const char * input_filename  = NULL;
    24 const char * onset_filename  = "/usr/share/sounds/aubio/woodblock.aiff";
     24const char * onset_filename  = AUBIO_PREFIX "/share/sounds/" PACKAGE "/woodblock.aiff";
    2525int frames = 0;
    2626int verbose = 0;
     
    238238  woodblock = new_fvec(buffer_size,1);
    239239  if (output_filename || usejack) {
    240           (onsetfile = new_aubio_sndfile_ro(onset_filename)) ||
     240          /* dummy assignement to keep egcs happy */
     241          isonset = (onsetfile = new_aubio_sndfile_ro(onset_filename)) ||
    241242                  (onsetfile = new_aubio_sndfile_ro("sounds/woodblock.aiff")) ||
    242243                  (onsetfile = new_aubio_sndfile_ro("../sounds/woodblock.aiff"));
Note: See TracChangeset for help on using the changeset viewer.