Difference between revisions of "Disk.stopAudio"
From ComputerCraft Wiki
Scarfacial (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=disk.stopAudio |args=string side |api=disk |addon=ComputerCraft |examples= {{Example |desc=Stops the audio playing on the disk...") |
m (Use type template) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
{{Function | {{Function | ||
|name=disk.stopAudio | |name=disk.stopAudio | ||
− | |args= | + | |args={{Type|string}} side |
|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 | ||
|desc=Stops the audio playing on the disk on the bottom drive (if any) | |desc=Stops the audio playing on the disk on the bottom drive (if any) | ||
− | |code= | + | |code=disk.stopAudio("bottom") |
}} | }} | ||
}} | }} | ||
+ | |||
+ | [[Category:API_Functions]] |
Latest revision as of 19:12, 22 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") |