diff options
author | Markus Bollinger <bollinger@digigram.com> | 2012-06-20 08:34:40 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-06-20 08:35:37 +0200 |
commit | fdfbaf69e0b9d6843c0da6501caf4ecacec0f775 (patch) | |
tree | d8d8104c9b310f87d18d5995ce6da12908211054 /sound/pci/pcxhr/pcxhr_core.h | |
parent | d7dc9e32ae64b5db777017344da61a285c2347f8 (diff) | |
download | op-kernel-dev-fdfbaf69e0b9d6843c0da6501caf4ecacec0f775.zip op-kernel-dev-fdfbaf69e0b9d6843c0da6501caf4ecacec0f775.tar.gz |
ALSA: pcxhr: Add LTC support
add LTC (linear timecode) read function via proc interface to the pcxhr driver
Signed-off-by: Markus Bollinger <bollinger@digigram.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/pcxhr/pcxhr_core.h')
-rw-r--r-- | sound/pci/pcxhr/pcxhr_core.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/pcxhr/pcxhr_core.h b/sound/pci/pcxhr/pcxhr_core.h index be01737..a81ab6b 100644 --- a/sound/pci/pcxhr/pcxhr_core.h +++ b/sound/pci/pcxhr/pcxhr_core.h @@ -79,6 +79,8 @@ enum { CMD_FORMAT_STREAM_IN, /* cmd_len >= 4 stat_len = 0 */ CMD_STREAM_SAMPLE_COUNT, /* cmd_len = 2 stat_len = (2 * nb_stream) */ CMD_AUDIO_LEVEL_ADJUST, /* cmd_len = 3 stat_len = 0 */ + CMD_GET_TIME_CODE, /* cmd_len = 1 stat_len = 5 */ + CMD_MANAGE_SIGNAL, /* cmd_len = 1 stat_len = 0 */ CMD_LAST_INDEX }; @@ -116,7 +118,7 @@ int pcxhr_send_msg(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh); #define IO_NUM_REG_OUT_ANA_LEVEL 20 #define IO_NUM_REG_IN_ANA_LEVEL 21 - +#define REG_CONT_VALSMPTE 0x000800 #define REG_CONT_UNMUTE_INPUTS 0x020000 /* parameters used with register IO_NUM_REG_STATUS */ |