mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
Use PBD::pthread_name in MTC_Slave for portability
This commit is contained in:
parent
30da95b609
commit
9b5440ec03
1 changed files with 1 additions and 5 deletions
|
|
@ -309,11 +309,7 @@ MTC_Slave::update_mtc_time (const MIDI::byte *msg, bool was_full, framepos_t now
|
||||||
to use a timestamp indicating when this MTC time was received. example: when we received
|
to use a timestamp indicating when this MTC time was received. example: when we received
|
||||||
a locate command via MMC.
|
a locate command via MMC.
|
||||||
*/
|
*/
|
||||||
#ifdef COMPILER_MSVC
|
DEBUG_TRACE (DEBUG::MTC, string_compose ("MTC::update_mtc_time - TID:%1\n", pthread_name()));
|
||||||
DEBUG_TRACE (DEBUG::MTC, string_compose ("MTC::update_mtc_time - TID:%1\n", ::pthread_self().p));
|
|
||||||
#else
|
|
||||||
DEBUG_TRACE (DEBUG::MTC, string_compose ("MTC::update_mtc_time - TID:%1\n", ::pthread_self()));
|
|
||||||
#endif
|
|
||||||
TimecodeFormat tc_format;
|
TimecodeFormat tc_format;
|
||||||
bool reset_tc = true;
|
bool reset_tc = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue