X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/707934d9cbbebc7c3ae57a69af4b4ee82baae22a..f2740a66bafa876dfcf2cdfa4c6f3e17395e8bf8:/LUFA/Drivers/USB/Class/Common/AudioClassCommon.h diff --git a/LUFA/Drivers/USB/Class/Common/AudioClassCommon.h b/LUFA/Drivers/USB/Class/Common/AudioClassCommon.h index 0ce459788..d855859f1 100644 --- a/LUFA/Drivers/USB/Class/Common/AudioClassCommon.h +++ b/LUFA/Drivers/USB/Class/Common/AudioClassCommon.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2013. + Copyright (C) Dean Camera, 2018. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2013 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2018 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -40,7 +40,7 @@ /** \ingroup Group_USBClassAudio * \defgroup Group_USBClassAudioCommon Common Class Definitions * - * \section Sec_ModDescription Module Description + * \section Sec_USBClassAudioCommon_ModDescription Module Description * Constants, Types and Enum definitions that are common to both Device and Host modes for the USB * Audio 1.0 Class. * @@ -245,6 +245,13 @@ */ }; + /** Enum for the Audio class specific descriptor types. */ + enum AUDIO_DescriptorTypes_t + { + AUDIO_DTYPE_CSInterface = 0x24, /**< Audio class specific Interface functional descriptor. */ + AUDIO_DTYPE_CSEndpoint = 0x25, /**< Audio class specific Endpoint functional descriptor. */ + }; + /** Audio class specific interface description subtypes, for the Audio Control interface. */ enum Audio_CSInterface_AC_SubTypes_t { @@ -618,7 +625,7 @@ /** \brief 24-Bit Audio Frequency Structure. * - * Type define for a 24bit audio sample frequency structure. As GCC does not contain a built in 24-bit datatype, + * Type define for a 24-bit audio sample frequency structure. As GCC does not contain a built in 24-bit datatype, * this this structure is used to build up the value instead. Fill this structure with the \ref AUDIO_SAMPLE_FREQ() macro. * * \note Regardless of CPU architecture, these values should be stored as little endian.