HulaLoop
Simple cross-platform audio loopback and recording.
Namespaces | Macros
HulaAudioError.h File Reference

<hlaudio/internal/HulaAudioError.h>This file is automatically included via hlaudio.h More...

#include <cstdio>
#include <iostream>
#include "HulaVersion.h"
Include dependency graph for HulaAudioError.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 hula
 Wrapper around translation functions for Qt.
 

Macros

#define HL_PRINT_PREFIX   "[HulaLoop] "
 Prefix printed before every console message to stdout.
 
#define HL_ERROR_PREFIX   "[HulaLoop] "
 Prefix printed before every console message to stderr.
 
#define hlDebug()
 Debug macro that prefixes each debug statement with the HulaLoop prefix. More...
 
#define hlDebugf(...)
 Debug macro that prefixes each debug statement with the HulaLoop prefix. More...
 
#define HL_SAMPLE_RATE_VALID   "Sample rate and format are valid."
 
#define HL_SAMPLE_RATE_INVALID   "The specified sample rate or format is invalid."
 

Detailed Description

<hlaudio/internal/HulaAudioError.h>

This file is automatically included via hlaudio.h

This is the base file for all error handling in the application. Since any module higher than this must include this file, you'll find any global error information here.

The exceptions defined in this file are those related to the audio module. Higher level modules have their own error file which defines additional exceptions.

Macro Definition Documentation

#define hlDebug ( )
Value:
if (HL_NO_DEBUG_OUTPUT) {} \
else std::cerr << HL_PRINT_PREFIX
#define HL_PRINT_PREFIX
Prefix printed before every console message to stdout.
Definition: HulaAudioError.h:34

Debug macro that prefixes each debug statement with the HulaLoop prefix.

#define hlDebugf (   ...)
Value:
if (HL_NO_DEBUG_OUTPUT) {} \
else fprintf(stderr, HL_PRINT_PREFIX __VA_ARGS__);
#define HL_PRINT_PREFIX
Prefix printed before every console message to stdout.
Definition: HulaAudioError.h:34

Debug macro that prefixes each debug statement with the HulaLoop prefix.