Commit 95127040 authored by Max Kellermann's avatar Max Kellermann

output: set a GLib log domain

parent d56ae1e9
...@@ -24,6 +24,9 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment