output: set a GLib log domain

This commit is contained in:
Max Kellermann 2009-02-25 19:53:38 +01:00
parent d56ae1e9c2
commit 9512704055
3 changed files with 10 additions and 0 deletions

View File

@ -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;

View File

@ -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"

View File

@ -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 */