diff options
author | Stefano Karapetsas <[email protected]> | 2014-10-09 15:59:09 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-10-09 15:59:09 +0200 |
commit | 526fdf477edc40452c18b51e13cbdffaa69de52b (patch) | |
tree | dd73763b097fca2a86288bcb55881a96f3e5faaf /backends/oss/oss-backend.c | |
parent | b4695e82ae0cc3183e9d3be4fca191394292609f (diff) | |
parent | 0ab66491e3847f6de92fc5358e9687c6d2f458ce (diff) | |
download | libmatemixer-526fdf477edc40452c18b51e13cbdffaa69de52b.tar.bz2 libmatemixer-526fdf477edc40452c18b51e13cbdffaa69de52b.tar.xz |
Merge branch 'after-gsoc'
Diffstat (limited to 'backends/oss/oss-backend.c')
-rw-r--r-- | backends/oss/oss-backend.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/backends/oss/oss-backend.c b/backends/oss/oss-backend.c index 23d265b..78ed69b 100644 --- a/backends/oss/oss-backend.c +++ b/backends/oss/oss-backend.c @@ -33,6 +33,7 @@ #define BACKEND_NAME "OSS" #define BACKEND_PRIORITY 10 +#define BACKEND_FLAGS MATE_MIXER_BACKEND_NO_FLAGS #if !defined(__linux__) && !defined(__NetBSD__) && !defined(__OpenBSD__) /* At least on systems based on FreeBSD we will need to read device names @@ -114,10 +115,11 @@ backend_module_init (GTypeModule *module) { oss_backend_register_type (module); - info.name = BACKEND_NAME; - info.priority = BACKEND_PRIORITY; - info.g_type = OSS_TYPE_BACKEND; - info.backend_type = MATE_MIXER_BACKEND_OSS; + info.name = BACKEND_NAME; + info.priority = BACKEND_PRIORITY; + info.g_type = OSS_TYPE_BACKEND; + info.backend_flags = BACKEND_FLAGS; + info.backend_type = MATE_MIXER_BACKEND_OSS; } const MateMixerBackendInfo *backend_module_get_info (void) @@ -461,6 +463,7 @@ read_device_label_sndstat (OssBackend *oss, static void add_device (OssBackend *oss, OssDevice *device) { + /* Takes reference of device */ oss->priv->devices = g_list_insert_sorted_with_data (oss->priv->devices, device, |