Changeset 1e7ef7c


Ignore:
Timestamp:
May 27, 2006, 3:59:48 PM (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:
6b0ca87
Parents:
3901714
Message:

do not call pthread_ in aubio_midi_direct_output (thanks stefan)
do not call pthread_ in aubio_midi_direct_output (thanks stefan)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ext/midi/midi_alsa_seq.c

    r3901714 r1e7ef7c  
    380380{
    381381    aubio_alsa_seq_driver_t* dev = (aubio_alsa_seq_driver_t*) d;
    382     if (dev->thread){ if(pthread_join(dev->thread, NULL)) {
    383         AUBIO_ERR( "Failed to join the midi thread");
    384     }}
    385382    switch(event->type)
    386383    {
     
    408405        snd_seq_event_output_direct(dev->seq_handle, &ev);
    409406    }
    410     if (dev->thread) { if(pthread_detach(dev->thread)) {
    411         AUBIO_ERR( "Failed to leave the midi thread");
    412     }}
    413407}
    414408
Note: See TracChangeset for help on using the changeset viewer.