summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm/ac97.c
diff options
context:
space:
mode:
authorcg <cg@FreeBSD.org>2001-09-18 14:34:59 +0000
committercg <cg@FreeBSD.org>2001-09-18 14:34:59 +0000
commitafb2bba74cea514729fecbabc6c271793147e833 (patch)
tree0de441e25428932052971d3cdfecb08aecb44bf5 /sys/dev/sound/pcm/ac97.c
parent60e38e9b01dfe28c12bbddcd3085621c14187a2d (diff)
downloadFreeBSD-src-afb2bba74cea514729fecbabc6c271793147e833.zip
FreeBSD-src-afb2bba74cea514729fecbabc6c271793147e833.tar.gz
add a method for retrieving codec capabilities
Diffstat (limited to 'sys/dev/sound/pcm/ac97.c')
-rw-r--r--sys/dev/sound/pcm/ac97.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/ac97.c b/sys/dev/sound/pcm/ac97.c
index bb29063..545f19d 100644
--- a/sys/dev/sound/pcm/ac97.c
+++ b/sys/dev/sound/pcm/ac97.c
@@ -256,6 +256,12 @@ ac97_getextcaps(struct ac97_info *codec)
return codec->extcaps;
}
+u_int16_t
+ac97_getcaps(struct ac97_info *codec)
+{
+ return codec->caps;
+}
+
static int
ac97_setrecsrc(struct ac97_info *codec, int channel)
{
OpenPOWER on IntegriCloud