mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-30 12:16:00 +00:00
Add additional debug logging to PipeWire state changes.
This commit is contained in:
parent
332e8c25d1
commit
e0763f3730
@ -76,7 +76,7 @@ static std::string getDeviceId() {
|
||||
}
|
||||
|
||||
void PipeWireOut::OnStreamStateChanged(void* data, enum pw_stream_state old, enum pw_stream_state state, const char* error) {
|
||||
::debug->Info(TAG, str::format("state changed from %d to %d", old, state).c_str());
|
||||
::debug->Info(TAG, str::format("state changed from %d to %d. (%s)", old, state, error ? error : "no additional context").c_str());
|
||||
}
|
||||
|
||||
void PipeWireOut::OnCoreDone(void* userdata, uint32_t id, int seq) {
|
||||
|
Loading…
Reference in New Issue
Block a user