• Max Kellermann's avatar
    mixer: added flag "open" · 617a4fd2
    Max Kellermann authored
    Remember if a mixer object is open or closed.  Don't call open() again
    if it is already open.  This guarantees that the mixer plugin is
    always called in a consistent state, and we will be able to remove
    lots of checks from the implementations.
    
    To support mixers which are automatically opened even if the audio
    output is still closed (to set the volume before playback starts),
    this patch also adds the "global" flag to the mixer_plugin struct.
    Both ALSA and OSS set this flag, while PULSE does not.
    617a4fd2
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
valgrind.suppressions Loading commit data...