win-wasapi: Log source name on initialization
Log the source name when a WASAPI device is initialized.
(cherry picked from commit d017cb6718)
This commit is contained in:
parent
a728de8444
commit
92b4ccb6d1
1 changed files with 3 additions and 2 deletions
|
|
@ -999,8 +999,9 @@ void WASAPISource::Initialize()
|
|||
}
|
||||
}
|
||||
|
||||
blog(LOG_INFO, "WASAPI: Device '%s' [%" PRIu32 " Hz] initialized",
|
||||
device_name.c_str(), sampleRate);
|
||||
blog(LOG_INFO,
|
||||
"WASAPI: Device '%s' [%" PRIu32 " Hz] initialized (source: %s)",
|
||||
device_name.c_str(), sampleRate, obs_source_get_name(source));
|
||||
|
||||
if (sourceType == SourceType::ProcessOutput && !hooked) {
|
||||
hooked = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue