SAMV71 Xplained Ultra Software Package 1.4

AUDDStream.h File Reference

#include <stdint.h>
#include "USBD.h"
#include <USBDDriver.h>

Go to the source code of this file.

Data Structures

struct  AUDDStream

Defines

#define AUDD_EC_MuteChanged   1
#define AUDD_EC_VolumeChanged   2

Typedefs

typedef void(* AUDDStreamEventCallback )(uint32_t ec, uint8_t channel, void *pArg)

Functions

void AUDDStream_Initialize (AUDDStream *pAuds, uint8_t numChannels, uint16_t wChannelVolumes[], AUDDStreamEventCallback fCallback, void *pArg)
uint32_t AUDDStream_ChangeMute (AUDDStream *pAuds, uint8_t bChannel, uint8_t bMute)
uint32_t AUDDStream_SetVolume (AUDDStream *pAuds, uint8_t bChannel, uint16_t wVolume)
uint32_t AUDDStream_IsRequestAccepted (AUDDStream *pAuds, const USBGenericRequest *pReq)
uint32_t AUDDStream_Read (AUDDStream *pAuds, void *pData, uint32_t dwSize, TransferCallback fCallback, void *pArg)
uint32_t AUDDStream_SetupWrite (AUDDStream *pAuds, void *pListInit, void *pDmaInit, uint16_t listSize, uint16_t delaySize, TransferCallback callback, void *argument)
uint32_t AUDDStream_Write (AUDDStream *pAuds, void *pBuffer, uint16_t wLength)
uint32_t AUDDStream_Close (AUDDStream *pStream)

Detailed Description

USB Audio Device Streaming interface with controls. (3 channels (including master) supported).

Definition in file AUDDStream.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines