Difference between revisions of "love.audio"
Line 1: | Line 1: | ||
Provides an interface to create noise with the user's speakers. | Provides an interface to create noise with the user's speakers. | ||
== Types == | == Types == | ||
− | {{#ask: [[Category:Types]] [[parent::love.audio]] | + | {{#ask: [[Category:Types]] [[parent::love.audio]] [[Since::<071]] |
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
}} | }} | ||
== Functions == | == Functions == | ||
− | {{#ask: [[Category:Functions]] [[parent::love.audio]] | + | {{#ask: [[Category:Functions]] [[parent::love.audio]] [[Since::<071]] |
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
}} | }} | ||
== Enums == | == Enums == | ||
− | {{#ask: [[Category:Enums]] [[parent::love.audio]] | + | {{#ask: [[Category:Enums]] [[parent::love.audio]] [[Since::<071]] |
| headers=hide | | headers=hide | ||
| ?Description | | ?Description |
Revision as of 09:29, 25 March 2011
Provides an interface to create noise with the user's speakers.
Contents
Types
Source | A Source represents audio you can play back. |
Functions
love.audio.getNumSources | Gets the current number of simultaneously playing sources. |
love.audio.getOrientation | Returns the orientation of the listener. |
love.audio.getPosition | Returns the position of the listener. |
love.audio.getVelocity | Returns the velocity of the listener. |
love.audio.getVolume | Returns the master volume. |
love.audio.newSource | Creates a new Source from a file, SoundData, or Decoder. |
love.audio.pause | Pauses specific or all currently played Sources. |
love.audio.play | Plays the specified Source. |
love.audio.resume | Resumes all audio. |
love.audio.rewind | Rewinds all playing audio. |
love.audio.setOrientation | Sets the orientation of the listener. |
love.audio.setPosition | Sets the position of the listener. |
love.audio.setVelocity | Sets the velocity of the listener. |
love.audio.setVolume | Sets the master volume. |
love.audio.stop | Stops currently played sources. |
Enums
SourceType | Types of audio sources. |
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info