Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
ctmixer.h File Reference
#include "ctatc.h"
#include "ctresource.h"

Go to the source code of this file.

Data Structures

struct  ct_mixer
 

Macros

#define INIT_VOL   0x1c00
 

Enumerations

enum  MIXER_PORT_T {
  MIX_WAVE_FRONT, MIX_WAVE_REAR, MIX_WAVE_CENTLFE, MIX_WAVE_SURROUND,
  MIX_SPDIF_OUT, MIX_PCMO_FRONT, MIX_MIC_IN, MIX_LINE_IN,
  MIX_SPDIF_IN, MIX_PCMI_FRONT, MIX_PCMI_REAR, MIX_PCMI_CENTLFE,
  MIX_PCMI_SURROUND, NUM_MIX_PORTS
}
 

Functions

int ct_alsa_mix_create (struct ct_atc *atc, enum CTALSADEVS device, const char *device_name)
 
int ct_mixer_create (struct ct_atc *atc, struct ct_mixer **rmixer)
 
int ct_mixer_destroy (struct ct_mixer *mixer)
 

Macro Definition Documentation

#define INIT_VOL   0x1c00

Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved.

This source file is released under GPL v2 license (no other versions). See the COPYING file included in the main directory of this source distribution for the license terms and conditions.

ctmixer.h

This file contains the definition of the mixer device functions.

Liu Chun Mar 28 2008

Definition at line 24 of file ctmixer.h.

Enumeration Type Documentation

Enumerator:
MIX_WAVE_FRONT 
MIX_WAVE_REAR 
MIX_WAVE_CENTLFE 
MIX_WAVE_SURROUND 
MIX_SPDIF_OUT 
MIX_PCMO_FRONT 
MIX_MIC_IN 
MIX_LINE_IN 
MIX_SPDIF_IN 
MIX_PCMI_FRONT 
MIX_PCMI_REAR 
MIX_PCMI_CENTLFE 
MIX_PCMI_SURROUND 
NUM_MIX_PORTS 

Definition at line 26 of file ctmixer.h.

Function Documentation

int ct_alsa_mix_create ( struct ct_atc atc,
enum CTALSADEVS  device,
const char device_name 
)

Definition at line 1212 of file ctmixer.c.

int ct_mixer_create ( struct ct_atc atc,
struct ct_mixer **  rmixer 
)

Definition at line 1173 of file ctmixer.c.

int ct_mixer_destroy ( struct ct_mixer mixer)

Definition at line 1143 of file ctmixer.c.