- Timestamp:
- Mar 31, 2005, 11:18:14 PM (20 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ext/midi/midi_alsa_seq.c
r1f40359 r3050cb8 380 380 { 381 381 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)) { 384 383 AUBIO_ERR( "Failed to join the midi thread"); 385 } 386 */ 384 }} 387 385 switch(event->type) 388 386 { … … 410 408 snd_seq_event_output_direct(dev->seq_handle, &ev); 411 409 } 412 /* 413 if (pthread_detach(dev->thread)) { 410 if (dev->thread) { if(pthread_detach(dev->thread)) { 414 411 AUBIO_ERR( "Failed to leave the midi thread"); 415 } 416 */ 412 }} 417 413 } 418 414
Note: See TracChangeset
for help on using the changeset viewer.