audio_osx.h File Reference
Go to the source code of this file.
Define Documentation
#define CheckError |
( |
err, |
|
|
what |
|
) |
|
Value:if (err) { \
OSStatus error = static_cast<OSStatus>(err); \
fprintf (stderr, "%s\n Error# %ld ('%4s')\n %s:%d\n", \
what, error, (char*)(&err), __FILE__, __LINE__); \
fflush (stdout); \
}
#define CheckErrorAndThrow |
( |
err, |
|
|
what, |
|
|
throw_str |
|
) |
|
Value:if (err) { \
OSStatus error = static_cast<OSStatus>(err); \
fprintf (stderr, "%s\n Error# %ld ('%4s')\n %s:%d\n", \
what, error, (char*)(&err), __FILE__, __LINE__); \
fflush (stdout); \
throw std::runtime_error (throw_str); \
}
#define GR_PCM_ENDIANNESS 0 |