diff options
author | Michal Ratajsky <[email protected]> | 2014-08-29 00:01:41 +0200 |
---|---|---|
committer | Michal Ratajsky <[email protected]> | 2014-08-29 00:01:41 +0200 |
commit | 652eb260c2574312664c35acd10893d7a6460426 (patch) | |
tree | e396e048aabc82c589c020f8f2099c27d38ec93d /backends/alsa/alsa-backend.c | |
parent | e67e02993cb8c1827659e1b3ddd693d347b8cf96 (diff) | |
download | libmatemixer-652eb260c2574312664c35acd10893d7a6460426.tar.bz2 libmatemixer-652eb260c2574312664c35acd10893d7a6460426.tar.xz |
Include backend flags in backend info and add a flag indicating stored controls support
Diffstat (limited to 'backends/alsa/alsa-backend.c')
-rw-r--r-- | backends/alsa/alsa-backend.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/backends/alsa/alsa-backend.c b/backends/alsa/alsa-backend.c index 2493d45..0b7895e 100644 --- a/backends/alsa/alsa-backend.c +++ b/backends/alsa/alsa-backend.c @@ -28,6 +28,7 @@ #define BACKEND_NAME "ALSA" #define BACKEND_PRIORITY 20 +#define BACKEND_FLAGS MATE_MIXER_BACKEND_NO_FLAGS #define ALSA_DEVICE_GET_ID(d) \ (g_object_get_data (G_OBJECT (d), "__matemixer_alsa_device_id")) @@ -97,10 +98,11 @@ backend_module_init (GTypeModule *module) { alsa_backend_register_type (module); - info.name = BACKEND_NAME; - info.priority = BACKEND_PRIORITY; - info.g_type = ALSA_TYPE_BACKEND; - info.backend_type = MATE_MIXER_BACKEND_ALSA; + info.name = BACKEND_NAME; + info.priority = BACKEND_PRIORITY; + info.g_type = ALSA_TYPE_BACKEND; + info.backend_flags = BACKEND_FLAGS; + info.backend_type = MATE_MIXER_BACKEND_ALSA; } const MateMixerBackendInfo *backend_module_get_info (void) |