AUDDSpeakerDriver_Read
Default mainpageat91libusbdeviceaudio-speakerAUDDSpeakerDriver_Read
Description Source Call Graph
AUDDSpeakerDriver_Read
Reads incoming audio data sent by the USB host into the provided buffer.
 
Syntax / parameters
unsigned char AUDDSpeakerDriver_Read (void *buffer, unsigned int length, TransferCallback callback, void *argument)

Name Type Default Description
buffer void *
  Pointer to the data storage buffer.
length unsigned int
  Size of the buffer in bytes.
callback TransferCallback
  Optional callback function.
argument void *
  Optional argument to the callback function.
 
Return value unsigned char
  USBD_STATUS_SUCCESS if the transfer is started successfully; otherwise an error code.
Description
Reads incoming audio data sent by the USB host into the provided buffer.
When the transfer is complete, an optional callback function is invoked.
Variants
Variants Brief description
(void *, unsigned int, TransferCallback, void *) Reads incoming audio data sent by the USB host into the provided buffer.
 
Source
The documentation for this Member was generated from the following files:
  • AUDDSpeakerDriver.c