# Class AudioMixin

Audio mixin support through Bandwidth.com Catapult API. This should provide functions to stop, start, and playing given audio

All classes that supply: playAudio, stopAudio, stopSentence, startSentence should inherit this class.

this needs to be refactored.

  Catapult\GenericResource
  Catapult\AudioMixin

### Direct known subclasses

`Catapult\BridgeCollection`, `Catapult\Call`, `Catapult\Conference`, `Catapult\ConferenceMember`

Abstract
Namespace: Catapult
Located at resource/Misc.php

## Methods summary

`public` | # `playAudio( )` Plays audio on the given context provided a 'fileUrl' in args. If not present. Throw warning Plays audio on the given context provided a 'fileUrl' in args. If not present. Throw warning
`public` | # `stopAudio( )` Stops the audio Stops the audio
`public` | # `speakSentence( args $args )` Speak a sentence. where voice in args has to be a valid voice Speak a sentence. where voice in args has to be a valid voice #### Parameters $args array]
`public` | # `stopSentence( )` Stops a sentence Stops a sentence
`public` | # `getAudioUrl( )` Defined in inherited classes. Defined in inherited classes. #### Overrides `Catapult\GenericResource::getAudioUrl`

### Methods inherited from Catapult\GenericResource

`__call()`, `__toString()`, `_init()`, `_list()`, `check()`, `create()`, `delete()`, `get()`, `getObjClass()`, `getPath()`, `getSchemaString()`, `get_sub_function()`, `load()`, `reload()`, `toArray()`, `update()`

## Properties summary

### Properties inherited from Catapult\GenericResource

`$lastUpdate`, `$paths`