New upstream version 18.0.1+dfsg1
This commit is contained in:
parent
6efda2859e
commit
f2cf6cce50
1337 changed files with 41178 additions and 84670 deletions
15
libobs/audio-monitoring/osx/mac-helpers.h
Normal file
15
libobs/audio-monitoring/osx/mac-helpers.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#pragma once
|
||||
|
||||
static bool success_(OSStatus stat, const char *func, const char *call)
|
||||
{
|
||||
if (stat != noErr) {
|
||||
blog(LOG_WARNING, "%s: %s failed: %d",
|
||||
func, call, (int)stat);
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
#define success(stat, call) \
|
||||
success_(stat, __FUNCTION__, call)
|
||||
Loading…
Add table
Add a link
Reference in a new issue