Difference between revisions of "Disk.stopAudio"
From ComputerCraft Wiki
(Moved to CAT:APIFunctions) |
(Add description) |
||
Line 5: | Line 5: | ||
|api=disk | |api=disk | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
+ | |desc=Stops the music record in the drive from playing, if it was started with [[disk.playAudio]]. | ||
|examples= | |examples= | ||
{{Example | {{Example |
Revision as of 18:48, 21 April 2013
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
Example | |
Stops the audio playing on the disk on the bottom drive (if any) | |
Code |
disk.stopAudio("bottom") |