Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pcxhr_mixer.c File Reference
#include <linux/time.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/mutex.h>
#include <sound/core.h>
#include "pcxhr.h"
#include "pcxhr_hwdep.h"
#include "pcxhr_core.h"
#include <sound/control.h>
#include <sound/tlv.h>
#include <sound/asoundef.h>
#include "pcxhr_mixer.h"
#include "pcxhr_mix22.h"

Go to the source code of this file.

Macros

#define __NO_VERSION__
 
#define PCXHR_LINE_CAPTURE_LEVEL_MIN   0 /* -112.0 dB */
 
#define PCXHR_LINE_CAPTURE_LEVEL_MAX   255 /* +15.5 dB */
 
#define PCXHR_LINE_CAPTURE_ZERO_LEVEL   224 /* 0.0 dB ( 0 dBu -> 0 dBFS ) */
 
#define PCXHR_LINE_PLAYBACK_LEVEL_MIN   0 /* -104.0 dB */
 
#define PCXHR_LINE_PLAYBACK_LEVEL_MAX   128 /* +24.0 dB */
 
#define PCXHR_LINE_PLAYBACK_ZERO_LEVEL   104 /* 0.0 dB ( 0 dBFS -> 0 dBu ) */
 
#define pcxhr_sw_info   snd_ctl_boolean_stereo_info
 
#define PCXHR_DIGITAL_LEVEL_MIN   0x000 /* -110 dB */
 
#define PCXHR_DIGITAL_LEVEL_MAX   0x1ff /* +18 dB */
 
#define PCXHR_DIGITAL_ZERO_LEVEL   0x1b7 /* 0 dB */
 
#define MORE_THAN_ONE_STREAM_LEVEL   0x000001
 
#define VALID_STREAM_PAN_LEVEL_MASK   0x800000
 
#define VALID_STREAM_LEVEL_MASK   0x400000
 
#define VALID_STREAM_LEVEL_1_MASK   0x200000
 
#define VALID_STREAM_LEVEL_2_MASK   0x100000
 
#define AUDIO_IO_HAS_MUTE_LEVEL   0x400000
 
#define AUDIO_IO_HAS_MUTE_MONITOR_1   0x200000
 
#define VALID_AUDIO_IO_DIGITAL_LEVEL   0x000001
 
#define VALID_AUDIO_IO_MONITOR_LEVEL   0x000002
 
#define VALID_AUDIO_IO_MUTE_LEVEL   0x000004
 
#define VALID_AUDIO_IO_MUTE_MONITOR_1   0x000008
 
#define PCXHR_SOURCE_AUDIO01_UER   0x000100
 
#define PCXHR_SOURCE_AUDIO01_SYNC   0x000200
 
#define PCXHR_SOURCE_AUDIO23_UER   0x000400
 
#define PCXHR_SOURCE_AUDIO45_UER   0x001000
 
#define PCXHR_SOURCE_AUDIO67_UER   0x040000
 

Functions

int pcxhr_create_mixer (struct pcxhr_mgr *mgr)
 

Macro Definition Documentation

#define __NO_VERSION__

Definition at line 1 of file pcxhr_mixer.c.

#define AUDIO_IO_HAS_MUTE_LEVEL   0x400000

Definition at line 294 of file pcxhr_mixer.c.

#define AUDIO_IO_HAS_MUTE_MONITOR_1   0x200000

Definition at line 295 of file pcxhr_mixer.c.

#define MORE_THAN_ONE_STREAM_LEVEL   0x000001

Definition at line 252 of file pcxhr_mixer.c.

#define PCXHR_DIGITAL_LEVEL_MAX   0x1ff /* +18 dB */

Definition at line 247 of file pcxhr_mixer.c.

#define PCXHR_DIGITAL_LEVEL_MIN   0x000 /* -110 dB */

Definition at line 246 of file pcxhr_mixer.c.

#define PCXHR_DIGITAL_ZERO_LEVEL   0x1b7 /* 0 dB */

Definition at line 248 of file pcxhr_mixer.c.

#define PCXHR_LINE_CAPTURE_LEVEL_MAX   255 /* +15.5 dB */

Definition at line 39 of file pcxhr_mixer.c.

#define PCXHR_LINE_CAPTURE_LEVEL_MIN   0 /* -112.0 dB */

Definition at line 38 of file pcxhr_mixer.c.

#define PCXHR_LINE_CAPTURE_ZERO_LEVEL   224 /* 0.0 dB ( 0 dBu -> 0 dBFS ) */

Definition at line 40 of file pcxhr_mixer.c.

#define PCXHR_LINE_PLAYBACK_LEVEL_MAX   128 /* +24.0 dB */

Definition at line 43 of file pcxhr_mixer.c.

#define PCXHR_LINE_PLAYBACK_LEVEL_MIN   0 /* -104.0 dB */

Definition at line 42 of file pcxhr_mixer.c.

#define PCXHR_LINE_PLAYBACK_ZERO_LEVEL   104 /* 0.0 dB ( 0 dBFS -> 0 dBu ) */

Definition at line 44 of file pcxhr_mixer.c.

#define PCXHR_SOURCE_AUDIO01_SYNC   0x000200

Definition at line 577 of file pcxhr_mixer.c.

#define PCXHR_SOURCE_AUDIO01_UER   0x000100

Definition at line 576 of file pcxhr_mixer.c.

#define PCXHR_SOURCE_AUDIO23_UER   0x000400

Definition at line 578 of file pcxhr_mixer.c.

#define PCXHR_SOURCE_AUDIO45_UER   0x001000

Definition at line 579 of file pcxhr_mixer.c.

#define PCXHR_SOURCE_AUDIO67_UER   0x040000

Definition at line 580 of file pcxhr_mixer.c.

#define pcxhr_sw_info   snd_ctl_boolean_stereo_info

Definition at line 200 of file pcxhr_mixer.c.

#define VALID_AUDIO_IO_DIGITAL_LEVEL   0x000001

Definition at line 296 of file pcxhr_mixer.c.

#define VALID_AUDIO_IO_MONITOR_LEVEL   0x000002

Definition at line 297 of file pcxhr_mixer.c.

#define VALID_AUDIO_IO_MUTE_LEVEL   0x000004

Definition at line 298 of file pcxhr_mixer.c.

#define VALID_AUDIO_IO_MUTE_MONITOR_1   0x000008

Definition at line 299 of file pcxhr_mixer.c.

#define VALID_STREAM_LEVEL_1_MASK   0x200000

Definition at line 255 of file pcxhr_mixer.c.

#define VALID_STREAM_LEVEL_2_MASK   0x100000

Definition at line 256 of file pcxhr_mixer.c.

#define VALID_STREAM_LEVEL_MASK   0x400000

Definition at line 254 of file pcxhr_mixer.c.

#define VALID_STREAM_PAN_LEVEL_MASK   0x800000

Definition at line 253 of file pcxhr_mixer.c.

Function Documentation

int pcxhr_create_mixer ( struct pcxhr_mgr mgr)

Definition at line 1127 of file pcxhr_mixer.c.