summaryrefslogtreecommitdiffstats
path: root/sys/dev/audio_if.h
diff options
context:
space:
mode:
authorjakemsr <jakemsr@openbsd.org>2008-04-21 00:32:42 +0000
committerjakemsr <jakemsr@openbsd.org>2008-04-21 00:32:42 +0000
commit19281baff7ec09bf537f48fdcd72d5779b4e4c26 (patch)
treedc61b02bab7cd9f32121274abf7c100001ee7998 /sys/dev/audio_if.h
parentTry to reset the machine through the firmware to reboot. (diff)
downloadwireguard-openbsd-19281baff7ec09bf537f48fdcd72d5779b4e4c26.tar.xz
wireguard-openbsd-19281baff7ec09bf537f48fdcd72d5779b4e4c26.zip
allow low level audio drivers to specify a default sample format,
instead of 8-bit mono mulaw @ 8kHz. this is just the infrastructure; no drivers are specifying a default yet. ok ratchov@, deanna@
Diffstat (limited to 'sys/dev/audio_if.h')
-rw-r--r--sys/dev/audio_if.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/audio_if.h b/sys/dev/audio_if.h
index 1f306240de8..1e3164f6861 100644
--- a/sys/dev/audio_if.h
+++ b/sys/dev/audio_if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: audio_if.h,v 1.25 2004/04/16 04:53:17 pvalchev Exp $ */
+/* $OpenBSD: audio_if.h,v 1.26 2008/04/21 00:32:42 jakemsr Exp $ */
/* $NetBSD: audio_if.h,v 1.24 1998/01/10 14:07:25 tv Exp $ */
/*
@@ -127,6 +127,7 @@ struct audio_hw_if {
void (*)(void *), void *, struct audio_params *);
int (*trigger_input)(void *, void *, void *, int,
void (*)(void *), void *, struct audio_params *);
+ void (*get_default_params)(void *, int, struct audio_params *);
};
struct audio_attach_args {