Changeset 8659f2c for examples


Ignore:
Timestamp:
Jul 27, 2006, 1:34:25 AM (18 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:
e41af98
Parents:
da5edf3
Message:

merge in piem@altern.org--aubio-fraise/aubio--mailine--0.3.2--patch7, tests and CFLAGS fixes
merge in piem@altern.org--aubio-fraise/aubio--mailine--0.3.2--patch7, tests and CFLAGS fixes

Patches applied:

Location:
examples/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • examples/tests/Makefile.am

    rda5edf3 r8659f2c  
    22AM_LDFLAGS = -L$(top_builddir)/src -laubio @FFTWLIB_LIBS@
    33
    4 test_phasevoc_jack_CFLAGS = -I$(top_builddir)/ext @JACK_CFLAGS@
    5 test_phasevoc_jack_LDADD  = -laubioext -L$(top_builddir)/ext @JACK_LIBS@
     4test_phasevoc_jack_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/ext @JACK_CFLAGS@
     5test_phasevoc_jack_LDADD  = $(AM_LDFLAGS) -laubioext -L$(top_builddir)/ext @JACK_LIBS@
    66
    77bin_PROGRAMS = \
  • examples/tests/test-phasevoc-jack.c

    rda5edf3 r8659f2c  
    1414uint_t channels = 4;  /* number of channels                */
    1515uint_t pos      = 0;  /* frames%dspblocksize for jack loop */
    16 uint_t usejack  = 1;
    1716
    1817fvec_t * in;
     
    2221aubio_pvoc_t * pv;
    2322
     23#ifdef JACK_SUPPORT
    2424aubio_jack_t * jack_setup;
     25#endif
    2526
    2627int aubio_process(float **input, float **output, int nframes);
     
    4243        printf("computed backard\n");
    4344
    44         if (usejack) {
    45                 jack_setup  = new_aubio_jack(channels, channels,
    46                                 (aubio_process_func_t)aubio_process);
    47                 aubio_jack_activate(jack_setup);
    48                 sleep(10); //pause(); /* enter main jack loop */
    49                 aubio_jack_close(jack_setup);
    50         }
     45#ifdef JACK_SUPPORT
     46        jack_setup  = new_aubio_jack(channels, channels,
     47                        (aubio_process_func_t)aubio_process);
     48        aubio_jack_activate(jack_setup);
     49        sleep(10); //pause(); /* enter main jack loop */
     50        aubio_jack_close(jack_setup);
     51#endif
    5152       
    5253        del_aubio_pvoc(pv);
Note: See TracChangeset for help on using the changeset viewer.