Changeset 6b233fc for examples/utils.c


Ignore:
Timestamp:
Aug 14, 2005, 8:44:58 PM (15 years ago)
Author:
Paul Brossier <piem@altern.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
92e4028
Parents:
45345ee
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.