diff options
author | Max Kellermann <max@duempel.org> | 2009-02-25 19:53:38 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-25 19:53:38 +0100 |
commit | 9512704055793e62e08f5d134297af47c5101dcb (patch) | |
tree | 1d439c03bc8d66c38a251244a2ec0b440a5a1229 | |
parent | d56ae1e9c24022fce89af112d540ab3cb9550ff7 (diff) | |
download | mpd-9512704055793e62e08f5d134297af47c5101dcb.tar.gz mpd-9512704055793e62e08f5d134297af47c5101dcb.tar.xz mpd-9512704055793e62e08f5d134297af47c5101dcb.zip |
output: set a GLib log domain
Diffstat (limited to '')
-rw-r--r-- | src/output_all.c | 3 | ||||
-rw-r--r-- | src/output_init.c | 3 | ||||
-rw-r--r-- | src/output_thread.c | 4 |
3 files changed, 10 insertions, 0 deletions
diff --git a/src/output_all.c b/src/output_all.c index 18c885d94..2952f5f4f 100644 --- a/src/output_all.c +++ b/src/output_all.c @@ -24,6 +24,9 @@ #include <assert.h> #include <string.h> +#undef G_LOG_DOMAIN +#define G_LOG_DOMAIN "output" + static struct audio_format input_audio_format; static struct audio_output *audio_outputs; diff --git a/src/output_init.c b/src/output_init.c index c4f2f55b6..26af73fd3 100644 --- a/src/output_init.c +++ b/src/output_init.c @@ -24,6 +24,9 @@ #include <glib.h> +#undef G_LOG_DOMAIN +#define G_LOG_DOMAIN "output" + #define AUDIO_OUTPUT_TYPE "type" #define AUDIO_OUTPUT_NAME "name" #define AUDIO_OUTPUT_FORMAT "format" diff --git a/src/output_thread.c b/src/output_thread.c index 709d8d1a2..2640adfbd 100644 --- a/src/output_thread.c +++ b/src/output_thread.c @@ -21,10 +21,14 @@ #include "output_internal.h" #include <glib.h> + #include <assert.h> #include <stdlib.h> #include <errno.h> +#undef G_LOG_DOMAIN +#define G_LOG_DOMAIN "output" + enum { /** after a failure, wait this number of seconds before automatically reopening the device */ |