Mercurial > mplayer.hg
view libmpdemux/demux_viv.h @ 37089:86893b300a45
alsa: Better volume control handling, especially for S/PDIF.
If no mixer channel was specified and PCM does not exist, just
pick the first.
If no volume control is available, at least support mute and full
volume switching if a playback switch exists.
This is also useful for being able to unmute S/PDIF devices.
Especially useful since there seem to be several driver/ALSA bugs
that mean these devices often start as muted after every boot.
author | reimar |
---|---|
date | Tue, 06 May 2014 19:02:03 +0000 |
parents | 0f5751eb7126 |
children |
line wrap: on
line source
/* * This file is part of MPlayer. * * MPlayer is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * MPlayer is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with MPlayer; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef MPLAYER_DEMUX_VIV_H #define MPLAYER_DEMUX_VIV_H extern char *vivo_param_acodec; extern int vivo_param_abitrate; extern int vivo_param_bytesperblock; extern int vivo_param_height; extern int vivo_param_samplerate; extern int vivo_param_version; extern int vivo_param_vformat; extern int vivo_param_width; #endif /* MPLAYER_DEMUX_VIV_H */