disk.stopAudio

From ComputerCraft Wiki
Jump to: navigation, search


Grid Redstone.png  Function disk.stopAudio
Stops the music record in the drive from playing, if it was started with disk.playAudio.
Syntax disk.stopAudio(string side)
Returns nil
Part of ComputerCraft
API disk

Examples

Grid paper.png  Example
Stops the audio playing on the disk on the bottom drive (if any)
Code
disk.stopAudio("bottom")