output: set a GLib log domain
This commit is contained in:
parent
d56ae1e9c2
commit
9512704055
@ -24,6 +24,9 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#undef G_LOG_DOMAIN
|
||||||
|
#define G_LOG_DOMAIN "output"
|
||||||
|
|
||||||
static struct audio_format input_audio_format;
|
static struct audio_format input_audio_format;
|
||||||
|
|
||||||
static struct audio_output *audio_outputs;
|
static struct audio_output *audio_outputs;
|
||||||
|
@ -24,6 +24,9 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
|
#undef G_LOG_DOMAIN
|
||||||
|
#define G_LOG_DOMAIN "output"
|
||||||
|
|
||||||
#define AUDIO_OUTPUT_TYPE "type"
|
#define AUDIO_OUTPUT_TYPE "type"
|
||||||
#define AUDIO_OUTPUT_NAME "name"
|
#define AUDIO_OUTPUT_NAME "name"
|
||||||
#define AUDIO_OUTPUT_FORMAT "format"
|
#define AUDIO_OUTPUT_FORMAT "format"
|
||||||
|
@ -21,10 +21,14 @@
|
|||||||
#include "output_internal.h"
|
#include "output_internal.h"
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
#undef G_LOG_DOMAIN
|
||||||
|
#define G_LOG_DOMAIN "output"
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
/** after a failure, wait this number of seconds before
|
/** after a failure, wait this number of seconds before
|
||||||
automatically reopening the device */
|
automatically reopening the device */
|
||||||
|
Loading…
Reference in New Issue
Block a user