Open Broadcaster Software
Free, open source software for live streaming and recording
mac-helpers.h
Go to the documentation of this file.
1
#pragma once
2
3
static
bool
success_(OSStatus stat,
const
char
*func,
const
char
*call)
4
{
5
if
(stat != noErr) {
6
blog
(
LOG_WARNING
,
"%s: %s failed: %d"
, func, call, (
int
)stat);
7
return
false
;
8
}
9
10
return
true
;
11
}
12
13
#define success(stat, call) success_(stat, __FUNCTION__, call)
blog
EXPORT void blog(int log_level, const char *format,...)
LOG_WARNING
Definition:
base.h:55
libobs
audio-monitoring
osx
mac-helpers.h
Generated on Sun Oct 13 2019 20:23:23 for Open Broadcaster Software by
1.8.14