add DEBUG_TRACE for all (?) backend callbacks
This commit is contained in:
parent
5704f1ca9e
commit
4073e7573d
@ -1299,6 +1299,7 @@ AudioEngine::thread_init_callback (void* arg)
|
|||||||
int
|
int
|
||||||
AudioEngine::sync_callback (TransportState state, samplepos_t position)
|
AudioEngine::sync_callback (TransportState state, samplepos_t position)
|
||||||
{
|
{
|
||||||
|
DEBUG_TRACE (DEBUG::BackendCallbacks, string_compose (X_("sync callback %1, %2\n"), state, position));
|
||||||
if (_session) {
|
if (_session) {
|
||||||
return _session->backend_sync_callback (state, position);
|
return _session->backend_sync_callback (state, position);
|
||||||
}
|
}
|
||||||
@ -1308,12 +1309,14 @@ AudioEngine::sync_callback (TransportState state, samplepos_t position)
|
|||||||
void
|
void
|
||||||
AudioEngine::freewheel_callback (bool onoff)
|
AudioEngine::freewheel_callback (bool onoff)
|
||||||
{
|
{
|
||||||
|
DEBUG_TRACE (DEBUG::BackendCallbacks, string_compose (X_("freewheel callback onoff %1\n"), onoff));
|
||||||
_freewheeling = onoff;
|
_freewheeling = onoff;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
AudioEngine::latency_callback (bool for_playback)
|
AudioEngine::latency_callback (bool for_playback)
|
||||||
{
|
{
|
||||||
|
DEBUG_TRACE (DEBUG::BackendCallbacks, string_compose (X_("latency callback playback ? %1\n"), for_playback));
|
||||||
if (_session) {
|
if (_session) {
|
||||||
_session->update_latency (for_playback);
|
_session->update_latency (for_playback);
|
||||||
}
|
}
|
||||||
@ -1330,6 +1333,7 @@ AudioEngine::update_latencies ()
|
|||||||
void
|
void
|
||||||
AudioEngine::halted_callback (const char* why)
|
AudioEngine::halted_callback (const char* why)
|
||||||
{
|
{
|
||||||
|
DEBUG_TRACE (DEBUG::BackendCallbacks, string_compose (X_("halted callback why: [%1]\n"), why));
|
||||||
if (_in_destructor) {
|
if (_in_destructor) {
|
||||||
/* everything is under control */
|
/* everything is under control */
|
||||||
return;
|
return;
|
||||||
|
@ -656,6 +656,8 @@ PortManager::reconnect_ports ()
|
|||||||
void
|
void
|
||||||
PortManager::connect_callback (const string& a, const string& b, bool conn)
|
PortManager::connect_callback (const string& a, const string& b, bool conn)
|
||||||
{
|
{
|
||||||
|
DEBUG_TRACE (DEBUG::BackendCallbacks, string_compose (X_("connect callback %1 + %2 connected ? %3\n"), a, b, conn));
|
||||||
|
|
||||||
boost::shared_ptr<Port> port_a;
|
boost::shared_ptr<Port> port_a;
|
||||||
boost::shared_ptr<Port> port_b;
|
boost::shared_ptr<Port> port_b;
|
||||||
Ports::iterator x;
|
Ports::iterator x;
|
||||||
@ -695,6 +697,8 @@ PortManager::connect_callback (const string& a, const string& b, bool conn)
|
|||||||
void
|
void
|
||||||
PortManager::registration_callback ()
|
PortManager::registration_callback ()
|
||||||
{
|
{
|
||||||
|
DEBUG_TRACE (DEBUG::BackendCallbacks, "port registration callback\n");
|
||||||
|
|
||||||
if (!_port_remove_in_progress) {
|
if (!_port_remove_in_progress) {
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -767,6 +771,8 @@ PortManager::my_name() const
|
|||||||
int
|
int
|
||||||
PortManager::graph_order_callback ()
|
PortManager::graph_order_callback ()
|
||||||
{
|
{
|
||||||
|
DEBUG_TRACE (DEBUG::BackendCallbacks, "graph order callback\n");
|
||||||
|
|
||||||
if (!_port_remove_in_progress) {
|
if (!_port_remove_in_progress) {
|
||||||
GraphReordered(); /* EMIT SIGNAL */
|
GraphReordered(); /* EMIT SIGNAL */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user