Linux Kernel
3.7.1
|
#include <linux/time.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/mutex.h>
#include <sound/core.h>
#include "mixart.h"
#include "mixart_core.h"
#include "mixart_hwdep.h"
#include <sound/control.h>
#include <sound/tlv.h>
#include "mixart_mixer.h"
Go to the source code of this file.
Macros | |
#define | MIXART_ANALOG_CAPTURE_LEVEL_MIN 0 /* -96.0 dB + 8.0 dB = -88.0 dB */ |
#define | MIXART_ANALOG_CAPTURE_LEVEL_MAX 255 /* 31.5 dB + 8.0 dB = 39.5 dB */ |
#define | MIXART_ANALOG_CAPTURE_ZERO_LEVEL 176 /* -8.0 dB + 8.0 dB = 0.0 dB */ |
#define | MIXART_ANALOG_PLAYBACK_LEVEL_MIN 0 /* -96.0 dB + 1.5 dB = -94.5 dB (possible is down to (-114.0+1.5)dB) */ |
#define | MIXART_ANALOG_PLAYBACK_LEVEL_MAX 192 /* 0.0 dB + 1.5 dB = 1.5 dB */ |
#define | MIXART_ANALOG_PLAYBACK_ZERO_LEVEL 189 /* -1.5 dB + 1.5 dB = 0.0 dB */ |
#define | mixart_sw_info snd_ctl_boolean_stereo_info |
#define | MIXART_DIGITAL_LEVEL_MIN 0 /* -109.5 dB */ |
#define | MIXART_DIGITAL_LEVEL_MAX 255 /* 18.0 dB */ |
#define | MIXART_DIGITAL_ZERO_LEVEL 219 /* 0.0 dB */ |
#define | MIXART_VOL_REC_MASK 1 |
#define | MIXART_VOL_AES_MASK 2 |
Functions | |
int | mixart_update_playback_stream_level (struct snd_mixart *chip, int is_aes, int idx) |
int | mixart_update_capture_stream_level (struct snd_mixart *chip, int is_aes) |
int | snd_mixart_create_mixer (struct mixart_mgr *mgr) |
#define MIXART_ANALOG_CAPTURE_LEVEL_MAX 255 /* 31.5 dB + 8.0 dB = 39.5 dB */ |
Definition at line 296 of file mixart_mixer.c.
#define MIXART_ANALOG_CAPTURE_LEVEL_MIN 0 /* -96.0 dB + 8.0 dB = -88.0 dB */ |
Definition at line 295 of file mixart_mixer.c.
#define MIXART_ANALOG_CAPTURE_ZERO_LEVEL 176 /* -8.0 dB + 8.0 dB = 0.0 dB */ |
Definition at line 297 of file mixart_mixer.c.
#define MIXART_ANALOG_PLAYBACK_LEVEL_MAX 192 /* 0.0 dB + 1.5 dB = 1.5 dB */ |
Definition at line 300 of file mixart_mixer.c.
#define MIXART_ANALOG_PLAYBACK_LEVEL_MIN 0 /* -96.0 dB + 1.5 dB = -94.5 dB (possible is down to (-114.0+1.5)dB) */ |
Definition at line 299 of file mixart_mixer.c.
#define MIXART_ANALOG_PLAYBACK_ZERO_LEVEL 189 /* -1.5 dB + 1.5 dB = 0.0 dB */ |
Definition at line 301 of file mixart_mixer.c.
#define MIXART_DIGITAL_LEVEL_MAX 255 /* 18.0 dB */ |
Definition at line 717 of file mixart_mixer.c.
#define MIXART_DIGITAL_LEVEL_MIN 0 /* -109.5 dB */ |
Definition at line 716 of file mixart_mixer.c.
#define MIXART_DIGITAL_ZERO_LEVEL 219 /* 0.0 dB */ |
Definition at line 718 of file mixart_mixer.c.
#define mixart_sw_info snd_ctl_boolean_stereo_info |
Definition at line 417 of file mixart_mixer.c.
#define MIXART_VOL_AES_MASK 2 |
Definition at line 826 of file mixart_mixer.c.
#define MIXART_VOL_REC_MASK 1 |
Definition at line 825 of file mixart_mixer.c.
int mixart_update_capture_stream_level | ( | struct snd_mixart * | chip, |
int | is_aes | ||
) |
Definition at line 771 of file mixart_mixer.c.
int mixart_update_playback_stream_level | ( | struct snd_mixart * | chip, |
int | is_aes, | ||
int | idx | ||
) |
Definition at line 721 of file mixart_mixer.c.
int snd_mixart_create_mixer | ( | struct mixart_mgr * | mgr | ) |
Definition at line 1107 of file mixart_mixer.c.