backends: Fix class name in debug and error messages for set_latency_range and get_latency_range traces
This commit is contained in:
parent
99ba70384a
commit
0d4bce8663
@ -1666,7 +1666,7 @@ AlsaAudioBackend::set_latency_range (PortEngine::PortHandle port_handle, bool fo
|
||||
{
|
||||
BackendPortPtr port = std::dynamic_pointer_cast<BackendPort> (port_handle);
|
||||
if (!valid_port (port)) {
|
||||
DEBUG_TRACE (PBD::DEBUG::BackendPorts, "AlsaPort::set_latency_range (): invalid port.");
|
||||
DEBUG_TRACE (PBD::DEBUG::BackendPorts, "AlsaAudioBackend::set_latency_range (): invalid port.");
|
||||
return;
|
||||
}
|
||||
port->set_latency_range (latency_range, for_playback);
|
||||
@ -1679,7 +1679,7 @@ AlsaAudioBackend::get_latency_range (PortEngine::PortHandle port_handle, bool fo
|
||||
LatencyRange r;
|
||||
|
||||
if (!valid_port (port)) {
|
||||
DEBUG_TRACE (PBD::DEBUG::BackendPorts, "AlsaPort::get_latency_range (): invalid port.");
|
||||
DEBUG_TRACE (PBD::DEBUG::BackendPorts, "AlsaAudioBackend::get_latency_range (): invalid port.");
|
||||
r.min = 0;
|
||||
r.max = 0;
|
||||
return r;
|
||||
|
@ -1158,7 +1158,7 @@ CoreAudioBackend::set_latency_range (PortEngine::PortHandle port_handle, bool fo
|
||||
{
|
||||
std::shared_ptr<BackendPort> port = std::dynamic_pointer_cast<BackendPort> (port_handle);
|
||||
if (!valid_port (port)) {
|
||||
DEBUG_TRACE (PBD::DEBUG::BackendPorts, "BackendPort::set_latency_range (): invalid port.");
|
||||
DEBUG_TRACE (PBD::DEBUG::BackendPorts, "CoreAudioBackend::set_latency_range (): invalid port.");
|
||||
return;
|
||||
}
|
||||
port->set_latency_range (latency_range, for_playback);
|
||||
@ -1170,7 +1170,7 @@ CoreAudioBackend::get_latency_range (PortEngine::PortHandle port_handle, bool fo
|
||||
std::shared_ptr<BackendPort> port = std::dynamic_pointer_cast<BackendPort> (port_handle);
|
||||
LatencyRange r;
|
||||
if (!valid_port (port)) {
|
||||
DEBUG_TRACE (PBD::DEBUG::BackendPorts, "BackendPort::get_latency_range (): invalid port.");
|
||||
DEBUG_TRACE (PBD::DEBUG::BackendPorts, "CoreAudioBackend::get_latency_range (): invalid port.");
|
||||
r.min = 0;
|
||||
r.max = 0;
|
||||
return r;
|
||||
|
@ -846,7 +846,7 @@ DummyAudioBackend::set_latency_range (PortEngine::PortHandle port_handle, bool f
|
||||
{
|
||||
BackendPortPtr port = std::dynamic_pointer_cast<BackendPort> (port_handle);
|
||||
if (!valid_port (port)) {
|
||||
DEBUG_TRACE (PBD::DEBUG::BackendPorts, "DummyPort::set_latency_range (): invalid port.");
|
||||
DEBUG_TRACE (PBD::DEBUG::BackendPorts, "DummyAudioBackend::set_latency_range (): invalid port.");
|
||||
return;
|
||||
}
|
||||
port->set_latency_range (latency_range, for_playback);
|
||||
@ -858,7 +858,7 @@ DummyAudioBackend::get_latency_range (PortEngine::PortHandle port_handle, bool f
|
||||
LatencyRange r;
|
||||
BackendPortPtr port = std::dynamic_pointer_cast<BackendPort> (port_handle);
|
||||
if (!valid_port (port)) {
|
||||
DEBUG_TRACE (PBD::DEBUG::BackendPorts, "DummyPort::get_latency_range (): invalid port.");
|
||||
DEBUG_TRACE (PBD::DEBUG::BackendPorts, "DummyAudioBackend::get_latency_range (): invalid port.");
|
||||
r.min = 0;
|
||||
r.max = 0;
|
||||
return r;
|
||||
|
@ -1428,7 +1428,7 @@ PortAudioBackend::set_latency_range (PortEngine::PortHandle port_handle, bool fo
|
||||
{
|
||||
std::shared_ptr<BackendPort> port = std::dynamic_pointer_cast<BackendPort>(port_handle);
|
||||
if (!valid_port (port)) {
|
||||
DEBUG_PORTS("BackendPort::set_latency_range (): invalid port.\n");
|
||||
DEBUG_PORTS ("PortAudioBackend::set_latency_range (): invalid port.\n");
|
||||
return;
|
||||
}
|
||||
port->set_latency_range (latency_range, for_playback);
|
||||
@ -1440,7 +1440,7 @@ PortAudioBackend::get_latency_range (PortEngine::PortHandle port_handle, bool fo
|
||||
std::shared_ptr<BackendPort> port = std::dynamic_pointer_cast<BackendPort>(port_handle);
|
||||
LatencyRange r;
|
||||
if (!valid_port (port)) {
|
||||
DEBUG_PORTS("BackendPort::get_latency_range (): invalid port.\n");
|
||||
DEBUG_PORTS ("PortAudioBackend::get_latency_range (): invalid port.\n");
|
||||
r.min = 0;
|
||||
r.max = 0;
|
||||
return r;
|
||||
|
@ -895,7 +895,7 @@ PulseAudioBackend::set_latency_range (PortEngine::PortHandle port_handle, bool f
|
||||
{
|
||||
BackendPortPtr port = std::dynamic_pointer_cast<BackendPort> (port_handle);
|
||||
if (!valid_port (port)) {
|
||||
PBD::error << _("PulsePort::set_latency_range (): invalid port.") << endmsg;
|
||||
PBD::error << _("PulseAudioBackend::set_latency_range (): invalid port.") << endmsg;
|
||||
}
|
||||
port->set_latency_range (latency_range, for_playback);
|
||||
}
|
||||
@ -907,7 +907,7 @@ PulseAudioBackend::get_latency_range (PortEngine::PortHandle port_handle, bool f
|
||||
LatencyRange r;
|
||||
|
||||
if (!valid_port (port)) {
|
||||
PBD::error << _("PulsePort::get_latency_range (): invalid port.") << endmsg;
|
||||
PBD::error << _("PulseAudioBackend::get_latency_range (): invalid port.") << endmsg;
|
||||
r.min = 0;
|
||||
r.max = 0;
|
||||
return r;
|
||||
|
Loading…
Reference in New Issue
Block a user