Audio Playback
Play audio on device speaker
- Library:
Simulink Support Package for Apple iOS Devices / Audio & Video
Description
The Audio Playback block plays an audio sample on the device speaker. The
block accepts an N-by-2 int16
matrix as the input audio
sample. N is the number of audio samples per frame, and the columns of the
matrix represent the left and right audio channels, respectively.
Note
During simulation with no hardware connected, this block does nothing. For more information, see Block Produces Zeros or Does Nothing in Simulation.
Ports
Input
Parameters
Version History
Introduced in R2015a