diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-06-07 02:05:19 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-06-07 02:05:19 +0000 |
commit | 567f7ecce0d04c2406b2379eb34ef3e54178a6d1 (patch) | |
tree | 7a4ba143776c89e2f378d0e99d6fd4c296444ac6 /LUFA/Drivers/USB/Class/Device/Audio.h | |
parent | 2d778a3ff55ace56359bcb9195bb4731a6dd15b5 (diff) | |
download | lufa-567f7ecce0d04c2406b2379eb34ef3e54178a6d1.tar.gz lufa-567f7ecce0d04c2406b2379eb34ef3e54178a6d1.tar.bz2 lufa-567f7ecce0d04c2406b2379eb34ef3e54178a6d1.zip |
Fix errors in the Audio device demos and class driver regarding multiple sample frequency support.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Device/Audio.h')
-rw-r--r-- | LUFA/Drivers/USB/Class/Device/Audio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Class/Device/Audio.h b/LUFA/Drivers/USB/Class/Device/Audio.h index ed23683a6..cad87f3b6 100644 --- a/LUFA/Drivers/USB/Class/Device/Audio.h +++ b/LUFA/Drivers/USB/Class/Device/Audio.h @@ -143,7 +143,7 @@ * * \param[in,out] AudioInterfaceInfo Pointer to a structure containing an Audio Class configuration and state. * \param[in] EndpointProperty Property of the endpoint to get or set, a value from \ref Audio_ClassRequests_t. - * \param[in] EndpointIndex Index of the streaming endpoint whose property is being referenced. + * \param[in] EndpointAddress Address of the streaming endpoint whose property is being referenced. * \param[in] EndpointControl Parameter of the endpoint to get or set, a value from \ref Audio_EndpointControls_t. * \param[in,out] DataLength For SET operations, the length of the parameter data to set. For GET operations, the maximum * length of the retrieved data. When NULL, the function should return whether the given property @@ -155,7 +155,7 @@ */ bool CALLBACK_Audio_GetSetEndpointProperty(USB_ClassInfo_Audio_Device_t* const AudioInterfaceInfo, const uint8_t EndpointProperty, - const uint8_t EndpointIndex, + const uint8_t EndpointAddress, const uint8_t EndpointControl, uint16_t* const DataLength, uint8_t* Data); |