diff options
author | Nathan Binkert <nate@cvs.openbsd.org> | 2002-05-06 23:07:27 +0000 |
---|---|---|
committer | Nathan Binkert <nate@cvs.openbsd.org> | 2002-05-06 23:07:27 +0000 |
commit | 6d6d02b46628e7d7f67e3e9d2a08fddf968f9c5b (patch) | |
tree | e6add40aab1214f22e945da7cf8598619e578a80 /sys/dev/usb/uaudioreg.h | |
parent | 13e1627c27c2bad74a411b2929fe5cb8efd7febe (diff) |
sync uaudio with NetBSD
Diffstat (limited to 'sys/dev/usb/uaudioreg.h')
-rw-r--r-- | sys/dev/usb/uaudioreg.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/dev/usb/uaudioreg.h b/sys/dev/usb/uaudioreg.h index ded7ad3d7c2..98923993375 100644 --- a/sys/dev/usb/uaudioreg.h +++ b/sys/dev/usb/uaudioreg.h @@ -1,5 +1,5 @@ -/* $OpenBSD: uaudioreg.h,v 1.7 2001/05/03 02:20:33 aaron Exp $ */ -/* $NetBSD: uaudioreg.h,v 1.7 2000/12/28 00:29:58 augustss Exp $ */ +/* $OpenBSD: uaudioreg.h,v 1.8 2002/05/06 23:07:26 nate Exp $ */ +/* $NetBSD: uaudioreg.h,v 1.8 2002/03/07 14:37:03 kent Exp $ */ /* * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -98,6 +98,9 @@ struct usb_audio_streaming_endpoint_descriptor { uByte bDescriptorType; uByte bDescriptorSubtype; uByte bmAttributes; +#define UA_SED_FREQ_CONTROL 0x01 +#define UA_SED_PITCH_CONTROL 0x02 +#define UA_SED_MAXPACKETSONLY 0x80 uByte bLockDelayUnits; uWord wLockDelay; } UPACKED; @@ -340,8 +343,11 @@ struct usb_audio_extension_unit_1 { #define UA_FMT_IEEE_FLOAT 3 #define UA_FMT_ALAW 4 #define UA_FMT_MULAW 5 +#define UA_FMT_MPEG 0x1001 +#define UA_FMT_AC3 0x1002 -#define SAMPLING_FREQ_CONTROL 0x01 +#define SAMPLING_FREQ_CONTROL 0x01 +#define PITCH_CONTROL 0x02 #define FORMAT_TYPE_UNDEFINED 0 #define FORMAT_TYPE_I 1 |