diff options
author | Robin Gareus <robin@gareus.org> | 2015-04-29 03:09:17 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-04-29 03:09:17 +0200 |
commit | cd63d97f65133d9c34f5ee36bc1a5a7bec530e21 (patch) | |
tree | c93eddd940cb34f086615597473ac142d2fd0be5 /libs/ardour/session_transport.cc | |
parent | c4696fe2d568bce461aa9f8b4fbc6be19b6113ae (diff) |
add xrun counter API to session
Diffstat (limited to 'libs/ardour/session_transport.cc')
-rw-r--r-- | libs/ardour/session_transport.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc index e953271ead..d5adbc5b45 100644 --- a/libs/ardour/session_transport.cc +++ b/libs/ardour/session_transport.cc @@ -1806,6 +1806,8 @@ Session::engine_halted () void Session::xrun_recovery () { + ++_xrun_count; + Xrun (_transport_frame); /* EMIT SIGNAL */ if (Config->get_stop_recording_on_xrun() && actively_recording()) { |