Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > media > contrib-release-debug > by-pkgid > a3f7190ce7be4b857b18774d441886bf > files > 30

cvoicecontrol-debug-0.9-0.alpha.7mdv2011.0.i586.rpm

/***************************************************************************
                          mixer.h  -  handle mixer device
                             -------------------
    begin                : Sat Feb 12 2000
    copyright            : (C) 2000 by Daniel Kiecza
    email                : daniel@kiecza.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program 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.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef MIXER_H
#define MIXER_H

typedef struct
{
  int    count;  /***** number of available devices */
  char **name;   /***** list of device names */
} MixerDevices;

void noMixer();
void setMixer(char *dev);
int  mixerOK();
const char *getMixer();
int  initMixer();
MixerDevices *scanMixerDevices();

int setIGainLevel(int level);
int setMicLevel(int level);

#define MIXER_ERR -1
#define MIXER_OK  1

int mic_level;
int igain_level;

#endif