[SVN COMMIT] fixed alsamidi output bug

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[SVN COMMIT] fixed alsamidi output bug

Dmitry Baikov
Hi!

Finally I traced and fixed it.

Fixed alsamidi "disappearing output" bug.

* Frame offsets were calculated with jack_nframes_t which is uint32_t.
  In case of xruns this led to HUGE offset values and output queue overflow.
  Changed it to use int64_t.
* Added xrun detection and recovery.
* Renamed DEBUG macro to JACK_MIDI_DEBUG to resolve clash with jack/internal.h
* Removed odd '#include <stdio.h>'

Upgrade recommended.
Testing appreciated :)

Dmitry.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel