Functions | Variables
usbd_audio_out_if.c File Reference

This file provides the Audio Out (palyback) interface API. More...

#include "usbd_audio_core.h"
#include "usbd_audio_out_if.h"
Include dependency graph for usbd_audio_out_if.c:

Go to the source code of this file.


static uint8_t AudioCmd (uint8_t *pbuf, uint32_t size, uint8_t cmd)
 AudioCmd Play, Stop, Pause or Resume current file. More...
static uint8_t DeInit (uint32_t options)
 DeInit Free all resources used by low layer and stops audio-play function. More...
static uint8_t GetState (void)
 GetState Return the current state of the audio machine. More...
static uint8_t Init (uint32_t AudioFreq, uint32_t Volume, uint32_t options)
 Init Initialize and configures all required resources for audio play function. More...
static uint8_t MuteCtl (uint8_t cmd)
 MuteCtl Mute or Unmute the audio current output. More...
static uint8_t PeriodicTC (uint8_t cmd)
static uint8_t VolumeCtl (uint8_t vol)
 VolumeCtl Set the volume level in %. More...


static uint8_t AudioState = AUDIO_STATE_INACTIVE

Detailed Description

This file provides the Audio Out (palyback) interface API.

MCD Application Team

© COPYRIGHT 2012 STMicroelectronics

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:

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 usbd_audio_out_if.c.

Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:53