Changeset 3050cb8 for ext/midi


Ignore:
Timestamp:
Mar 31, 2005, 11:18:14 PM (20 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:
e50b695
Parents:
1f40359
Message:

added configure rules to check presence of swig, python,

puredata and docbook-to-man.
deleted autotools generated files
activated threading in midi_alsa_seq.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ext/midi/midi_alsa_seq.c

    r1f40359 r3050cb8  
    380380{
    381381    aubio_alsa_seq_driver_t* dev = (aubio_alsa_seq_driver_t*) d;
    382     /*
    383     if (pthread_join(dev->thread, NULL)) {
     382    if (dev->thread){ if(pthread_join(dev->thread, NULL)) {
    384383        AUBIO_ERR( "Failed to join the midi thread");
    385     }
    386     */
     384    }}
    387385    switch(event->type)
    388386    {
     
    410408        snd_seq_event_output_direct(dev->seq_handle, &ev);
    411409    }
    412     /*
    413     if (pthread_detach(dev->thread)) {
     410    if (dev->thread) { if(pthread_detach(dev->thread)) {
    414411        AUBIO_ERR( "Failed to leave the midi thread");
    415     }
    416     */
     412    }}
    417413}
    418414
Note: See TracChangeset for help on using the changeset viewer.