2
* KMix -- KDE's full featured mini mixer
5
* Copyright (C) 1996-2000 Christian Esken
8
* This program is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Library General Public
10
* License as published by the Free Software Foundation; either
11
* version 2 of the License, or (at your option) any later version.
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Library General Public License for more details.
18
* You should have received a copy of the GNU Library General Public
19
* License along with this program; if not, write to the Free
20
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23
#include "mixer_none.h"
25
// This static method must be implemented (as fallback)
26
Mixer* Mixer::getMixer(int devnum, int SetNum)
29
l_mixer = new Mixer_None( devnum, SetNum);
30
l_mixer->setupMixer();
34
Mixer_None::Mixer_None()
38
Mixer_None::Mixer_None(int devnum, int SetNum)
42
Mixer_None::~Mixer_None()
46
int Mixer_None::openMixer()
48
//i_s_mixer_name = "No mixer";
49
return Mixer::ERR_NOTSUPP;
52
int Mixer_None::releaseMixer()
54
return Mixer::ERR_NOTSUPP;
57
int Mixer_None::readVolumeFromHW( int , Volume &vol )
59
return Mixer::ERR_NOTSUPP;
62
int Mixer_None::writeVolumeToHW( int , Volume vol )
64
return Mixer::ERR_NOTSUPP;
67
bool Mixer_None::setRecsrcHW( int devnum, bool on)
72
bool Mixer_None::isRecsrcHW( int devnum )