summaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)AuthorFilesLines
2022-08-04backends: Add missing dependenciesorbea4-1/+6
When building the backends with slibtool they will fail with undefined references to libmatemixer.la. This is because they use -no-undefined which slibtool explicitly supports while GNU libtool will silently ignore it. Gentoo Bug: https://bugs.gentoo.org/785232
2020-12-26alsa: Add udev supportVille Syrjälä2-5/+133
Instead of polling for new devices once per second ask udev to send us events. Avoids waking up the CPU all the time and wasting power. We keep the timeout source as a fallback when udev support is not enabled, or the udev setup fails for whatever reason. The logic for udev_event_ok() was snooped from pulseaudio.
2020-07-05Use the correct macro for dynamic type's privateMichal Ratajsky1-1/+1
2020-03-28Remove warnings: ignoring #pragma clang diagnostic [-Wunknown-pragmas]rbuj3-9/+0
2019-12-10Fix cppcheck [syntaxError] warningsPablo Barciela23-89/+89
2019-11-01avoid redundant redeclarationsPablo Barciela29-82/+0
2019-10-09Use WARN_CFLAGS which are only set with --enable-compiler-warningsrbuj4-26/+43
It removes --enable-more-warnings, since it is recommended to use --enable-compile-warnings=maximum It updates configure summary.
2019-07-02pulse: avoid deprecated g_type_class_add_privateWu Xiaotian13-76/+26
2019-07-02oss: avoid deprecated g_type_class_add_privateWu Xiaotian6-34/+12
2019-06-29backend-alsa: avoid deprecated g_type_class_add_privateWu Xiaotian7-38/+18
2018-05-21require PulseAudio 5.0 and drop some old codemonsta1-11/+0
2016-01-05pulse: Do not set default sink/source to NULL while waiting for their infoMichal Ratajsky1-18/+18
2016-01-05pulse: Turn a macro into a function and provide error checkingMichal Ratajsky6-25/+38
2016-01-05pulse: Use own PulseAudio connection in stream controlsMichal Ratajsky11-42/+66
2016-01-04oss: Improve code dealing with stream control volumesMichal Ratajsky1-54/+74
2016-01-04Improve error checking in many placesMichal Ratajsky25-34/+176
2015-12-10alsa/oss: Correctly disconnect device signalsMichal Ratajsky2-5/+11
2015-12-10pulse: Fix volume limits as described on the PulseAudio wikiMichal Ratajsky4-15/+60
2015-12-10Replace leading spaces in Makefiles with tabsMichal Ratajsky4-124/+124
2015-12-10alsa: Remove an invalid warningMichal Ratajsky1-6/+8
2015-12-10Require PulseAudio 2.0 or newerMichal Ratajsky4-47/+8
2015-09-26oss: Only use modify counter for polling on Linux, it is broken on BSDsMichal Ratajsky1-10/+10
2015-09-26alsa: Fix FTBFS with old versions of ALSA (fixes #4)Michal Ratajsky6-6/+81
2015-09-26alsa: Fix fadeMichal Ratajsky1-1/+1
2014-11-20pulse: Optimize conversion of channel constantsMichal Ratajsky4-66/+61
2014-11-20pulse: Use property for ext-stream's MateMixerAppInfoMichal Ratajsky1-3/+21
2014-11-20alsa: Emit "stream-added" after the stream element is added and the stream ↵Michal Ratajsky1-12/+16
is gettable Fixes mate_mixer_context_get_stream() not working when the signal is received
2014-11-20pulse: Do not hide monitor sourcesMichal Ratajsky1-4/+0
Apart from being useful in some cases, application inputs may get moved to these sources (for example when changing profiles or from another application), and then the library loses track of these controls
2014-11-20pulse: Rename a function to a better nameMichal Ratajsky1-5/+4
2014-11-20pulse: Correctly remove sink inputs/source outputsMichal Ratajsky1-12/+31
2014-11-20pulse: Use GUINT_TO_POINTER universallyMichal Ratajsky2-8/+8
2014-11-20pulse: Rename private variables with confusing namesMichal Ratajsky1-18/+18
2014-11-20pulse: Improve handling of sink inputs/source outputs, mainly to catch moves ↵Michal Ratajsky1-10/+60
to another parents
2014-11-20Remove a useless debugging messageMichal Ratajsky1-1/+0
2014-11-12alsa: Remove remnants of device switchesMichal Ratajsky1-66/+1
2014-11-10Change MateMixerSwitchFlags into MateMixerStreamSwitchFlagsMichal Ratajsky1-1/+1
2014-11-10Change MateMixerToggle into MateMixerStreamToggle and adapt ALSAMichal Ratajsky3-48/+55
2014-11-08Split MateMixerSwitchRole into MateMixerDeviceSwitchRole and ↵Michal Ratajsky11-79/+79
MateMixerStreamSwitchRole
2014-11-08alsa: Use MateMixerStreamSwitchMichal Ratajsky15-30/+76
Also introduce alsa-types.h and move instance typedefs there to fix cross referencing introduced by this change
2014-11-08alsa: Always assign switches to streams and never to devicesMichal Ratajsky1-70/+64
2014-11-08oss: Use MateMixerStreamSwitchMichal Ratajsky3-10/+16
2014-11-08pulse: Use MateMixerDeviceSwitch and MateMixerStreamSwitchMichal Ratajsky4-181/+17
2014-11-08alsa: Improve list of known elementsMichal Ratajsky1-22/+24
2014-11-03Rename static port switch labels to "Connector" to match MVCMichal Ratajsky3-3/+3
2014-11-03oss: Fix order of switch options to match priority listMichal Ratajsky1-17/+12
Also remove obsolete items from the input priority list
2014-11-03oss: Fix GCC warningMichal Ratajsky1-1/+1
2014-11-03oss: Prefer custom list of OSS device directions when assigning controls to ↵Michal Ratajsky1-2/+21
streams
2014-10-31oss: Fix debugging messageMichal Ratajsky1-4/+2
2014-10-31Remove ability to have no active switch option and fix OSS to correctly ↵Michal Ratajsky1-27/+86
handle such case
2014-10-31oss: Improve *_list_streams functions and handling of device streamsMichal Ratajsky2-37/+51
Makes the functions compatible with the ALSA code. As streams in OSS are not dynamic elements, they are removed as soon as they are known to be useless.