From 652eb260c2574312664c35acd10893d7a6460426 Mon Sep 17 00:00:00 2001 From: Michal Ratajsky Date: Fri, 29 Aug 2014 00:01:41 +0200 Subject: Include backend flags in backend info and add a flag indicating stored controls support --- backends/oss/oss-backend.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'backends/oss') diff --git a/backends/oss/oss-backend.c b/backends/oss/oss-backend.c index bf9a694..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) -- cgit v1.2.1