![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
This file is the AC Layer Handlers for USB Host AC class. More...
#include "usbh_audio.h"
Go to the source code of this file.
Functions | |
int32_t | USBH_AUDIO_FindLinkedUnitIN (USBH_HandleTypeDef *phost, uint8_t UnitID) |
int32_t | USBH_AUDIO_FindLinkedUnitOUT (USBH_HandleTypeDef *phost, uint8_t UnitID) |
USBH_StatusTypeDef | USBH_AUDIO_SetFrequency (USBH_HandleTypeDef *phost, uint16_t SampleRate, uint8_t NbrChannels, uint8_t BitPerSample) |
USBH_AUDIO_SetFrequency Set Audio sampling parameters. More... | |
USBH_StatusTypeDef | USBH_AUDIO_Play (USBH_HandleTypeDef *phost, uint8_t *buf, uint32_t length) |
USBH_AUDIO_Play Start playback process. More... | |
USBH_StatusTypeDef | USBH_AUDIO_Stop (USBH_HandleTypeDef *phost) |
USBH_AUDIO_Pause Stop the playback process. More... | |
USBH_StatusTypeDef | USBH_AUDIO_Suspend (USBH_HandleTypeDef *phost) |
USBH_AUDIO_Suspend Suspend the playback process. More... | |
USBH_StatusTypeDef | USBH_AUDIO_Resume (USBH_HandleTypeDef *phost) |
USBH_AUDIO_Resume Resume the playback process. More... | |
int32_t | USBH_AUDIO_GetOutOffset (USBH_HandleTypeDef *phost) |
USBH_AUDIO_GetOutOffset return the current buffer pointer for OUT process. More... | |
USBH_StatusTypeDef | USBH_AUDIO_ChangeOutBuffer (USBH_HandleTypeDef *phost, uint8_t *buf) |
USBH_AUDIO_ChangeOutBuffer Change audio data buffer address. More... | |
USBH_StatusTypeDef | USBH_AUDIO_SetVolume (USBH_HandleTypeDef *phost, AUDIO_VolumeCtrlTypeDef volume_ctl) |
USBH_AUDIO_SetVolume Set Volume. More... | |
__weak void | USBH_AUDIO_FrequencySet (USBH_HandleTypeDef *phost) |
The function informs user that Settings have been changed. More... | |
__weak void | USBH_AUDIO_BufferEmptyCallback (USBH_HandleTypeDef *phost) |
The function informs user that User data are processed. More... | |
Variables | |
USBH_ClassTypeDef | AUDIO_Class |
This file is the AC Layer Handlers for USB Host AC class.
* * =================================================================== * AUDIO Class Description * =================================================================== * This driver manages the Audio Class 1.0 following the "USB Device * Class Definition for Audio Devices V1.0 Mar 18, 98". * *
Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.st.com/software_license_agreement_liberty_v2
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file usbh_audio.c.