aboutsummaryrefslogtreecommitdiffstats
path: root/test/read_mixer.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-04-17don't use g_thread_init() with GLib 2.32Max Kellermann1-0/+2
Deprecated.
2013-04-16MixerInternal: convert to classMax Kellermann1-2/+1
2013-04-16mixer/Pulse: convert to a classMax Kellermann1-2/+2
2013-04-16output/Pulse: convert to C++Max Kellermann1-6/+6
2013-04-09pcm_*: move to src/pcm/Max Kellermann1-1/+1
2013-02-22mixer_plugin: convert to C++Max Kellermann1-6/+2
2013-02-01filter: convert to C++Max Kellermann1-1/+1
2013-01-31pcm_*: convert to C++Max Kellermann1-1/+1
2013-01-16output/roar: convert to C++Max Kellermann1-3/+3
2013-01-15mixer/Alsa: use MultiSocketMonitorMax Kellermann1-0/+8
2013-01-09EventPipe: rename to GlobalEventsMax Kellermann1-2/+2
2013-01-09event_pipe.h: convert to C++Max Kellermann1-1/+5
2012-05-29output/raop: delete the RAOP pluginMax Kellermann1-19/+0
This plugin is horrible code, I mean it. Last year, I tried hard to fix it, but I figured would take less time to do a full rewrite. Given that I don't even have any device that supports RAOP, I can't do that properly. After 16 months, nobody volunteered for fixing it. Hereby, I delete it, because having no RAOP plugin is better than having this mess. Sorry.
2011-10-20pcm_volume: "length" is a "size_t", not "int"Max Kellermann1-1/+1
2011-10-10pcm_{mix,volume}: pass only sample_format to pcm_mix()Max Kellermann1-1/+1
The other audio_format attributes are not used.
2011-09-17output/pulse: don't expose internal struct in public headerMax Kellermann1-0/+10
Provide _lock() and _unlock() to wrap all accesses from the mixer plugin.
2011-09-17output/roar: export volume methodsMax Kellermann1-0/+18
Use these instead of exposing the internal roar_t struct.
2011-08-24output/raop: consistently use GErrorMax Kellermann1-1/+2
2011-01-29test/read_mixer: add workaround for missing RAOP symbolsMax Kellermann1-0/+18
2011-01-29copyright year 2011Max Kellermann1-1/+1
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-11-12include config.h in all sourcesMax Kellermann1-1/+1
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
2009-11-10test: fixed the read_mixer program on !HAVE_PULSEMax Kellermann1-1/+6
2009-10-23output/pulse: call mixer on state changesMax Kellermann1-2/+16
Don't let the mixer plugin "override" the libpulse callbacks. Instead, add a "mixer" attribute to the pulse_output struct, and call the mixer on all interesting events.
2009-10-21pulse: code rewrite using the asynchronous libpulse APIMax Kellermann1-0/+13
This is a complete rewrite of the PulseAudio output plugin. It uses the asynchronous API, which gives us more control over everything. Additionally, it connects to the PulseAudio server on startup, and keeps this connection up while MPD runs. During pause, instead of closing the stream, it enables "cork".
2009-10-21mixer_plugin: pass audio_output pointer to mixer_plugin.init()Max Kellermann1-1/+1
This allows the mixer object to access its associated audio output object.
2009-10-20mixer_plugin: use GError for error handlingMax Kellermann1-6/+14
2009-10-20mixer/{oss,alsa}: renamed the mixer source filesMax Kellermann1-1/+1
2009-07-06mixer/software: new mixer which controls filter/volumeMax Kellermann1-0/+18
This mixer plugin may be used instead of the traditional global software mixer. It integrates with the "volume" filter plugin, and can control the software volume of an audio output which has no hardware mixer.
2009-04-21test: added program "read_mixer"Max Kellermann1-29/+31
This little program is used to test mixer plugins in an isolated environment. This is ALSA-only currently, because we don't have a real "plugin list" yet, and I'm too lazy to implement a switch.
2009-04-10test: added configuration file readerMax Kellermann1-34/+32
2009-03-13all: Update copyright header.Avuton Olrich1-6/+7
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
2009-01-27zeroconf: corrected default service name usageMax Kellermann1-2/+2
The variable "serviceName" is initialized with SERVICE_NAME, but was overwritten with NULL when the setting is not configured.
2009-01-25use config_get_string() instead of config_get_param()Max Kellermann1-5/+1
config_get_string() is easier to use than config_get_param() because it unpacks the config_param struct.
2009-01-17conf: use config_get_bool() instead of getBoolConfigParam()Max Kellermann1-4/+2
2009-01-17conf: no CamelCase, part IMax Kellermann1-2/+2
Renamed functions, types, variables.
2009-01-08added missing explicit config.h includesMax Kellermann1-0/+1
2008-12-30zeroconf: eliminated strlen() usage from initZeroconf()Max Kellermann1-3/+1
To test if a string is empty, we can just see if the first byte is 0. No need to include string.h for strlen() here.
2008-12-30zeroconf: moved code to zeroconf-avahi.c and zeroconf-bonjour.cMax Kellermann1-555/+3
Moved implementation specific code to their own sources, internal declarations in zeroconf-internal.h.
2008-12-30zeroconf: fail if avahi service name is invalidMax Kellermann1-8/+4
If the configured avahi service name is invalid, abort MPD. Don't fall back to the default service name.
2008-12-29pcm: use GLib loggingMax Kellermann1-43/+42
2008-12-29removed os_compat.hMax Kellermann1-3/+2
Only include headers which are really needed. os_compat.h aimed to make MPD easily portable, but was never actually made portable.
2008-11-24zeroconf.c: replaced mpd_unused by G_GNUC_UNUSEDThomas Jansen1-4/+6
2008-10-17Makefile.am: don't compile disabled sourcesMax Kellermann1-4/+0
If a feature is disabled, don't compile the source file at all, disable it completely in Makefile.am instead.
2008-08-26enable -Wpointer-arith, -Wstrict-prototypesMax Kellermann1-4/+5
Also enable -Wunused-parameter - this forces us to add the gcc "unused" attribute to a lot of parameters (mostly library callback functions), but it's worth it during code refactorizations.
2008-01-03zeroconf: reformat (with mpd-indent.sh + manual tweaks)Eric Wong1-221/+245
Also, lower the impact of compiling this w/o zeroconf by making the init/teardown functions static no-ops. Eventually, we should separate the Bonjour and Avahi code into separate files and have callbacks registered for each one, avoiding the #ifdef mess we have now... git-svn-id: https://svn.musicpd.org/mpd/trunk@7132 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-01-03Cleanup #includes of standard system headers and put them in one placeEric Wong1-5/+1
This will make refactoring features easier, especially now that pthreads support and larger refactorings are on the horizon. Hopefully, this will make porting to other platforms (even non-UNIX-like ones for masochists) easier, too. os_compat.h will house all the #includes for system headers considered to be the "core" of MPD. Headers for optional features will be left to individual source files. git-svn-id: https://svn.musicpd.org/mpd/trunk@7130 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-09-05conf: improved boolean config parameter handling from -keEric Wong1-4/+2
the force flag will issue FATAL() if an invalid value is specified git-svn-id: https://svn.musicpd.org/mpd/trunk@6857 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-09-02zeroconf: avoid passing NULLs to Avahi *_free() routinesEric Wong1-4/+6
This should fix Debian bug #428551 (mpd crashes when restarting the dbus daemon) git-svn-id: https://svn.musicpd.org/mpd/trunk@6844 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-06-03Define HAVE_ZEROCONF if Avahi or Bonjour support is enabled, so that we canJ. Alexander Treuman1-0/+2
silence a warning about an unused variable without using stupid checks for HAVE_AVAHI || HAVE_BONJOUR. git-svn-id: https://svn.musicpd.org/mpd/trunk@6471 09075e82-0dd4-0310-85a5-a0d7c8717e4f