diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2009-11-18 21:13:18 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2009-11-18 21:13:18 +0000 |
commit | 64337581e0aed5990bffe3e011f83a04f35e419e (patch) | |
tree | 355b94a491d74af5d9e5cb4d89501558a2981932 /sys/dev | |
parent | 7a388dfe57a6905dfae173231e34c399d17a0bf5 (diff) |
* always move the same amount of data (256 frames) in the interrupt handler
* round blocksizes to multiples of 256 frames
* fix display of record.source.volume and add record.mic.preamp
mixer controls
* add recording support
ok kettenis@. ok ratchov@ on a slightly different version.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/ad1843reg.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/ic/ad1843reg.h b/sys/dev/ic/ad1843reg.h index d5a742c5795..fd1172839b9 100644 --- a/sys/dev/ic/ad1843reg.h +++ b/sys/dev/ic/ad1843reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ad1843reg.h,v 1.1 2005/01/02 19:25:41 kettenis Exp $ */ +/* $OpenBSD: ad1843reg.h,v 1.2 2009/11/18 21:13:17 jakemsr Exp $ */ /* * Copyright (c) 2005 Mark Kettenis @@ -71,6 +71,8 @@ #define AD1843_CHANNEL_SAMPLE_RATE 15 #define AD1843_DA1C_SHIFT 8 +#define AD1843_ADRC_SHIFT 2 +#define AD1843_ADLC_SHIFT 0 #define AD1843_CLOCK1_SAMPLE_RATE 17 #define AD1843_CLOCK2_SAMPLE_RATE 20 @@ -81,6 +83,11 @@ #define AD1843_DA2F_SHIFT 10 #define AD1843_DA1F_MASK 0x0300 #define AD1843_DA1F_SHIFT 8 +#define AD1843_ADTLK 0x0010 +#define AD1843_ADRF_MASK 0x000c +#define AD1843_ADRF_SHIFT 2 +#define AD1843_ADLF_MASK 0x0003 +#define AD1843_ADLF_SHIFT 0 #define AD1843_PCM8 0 #define AD1843_PCM16 1 #define AD1843_ULAW 2 |