Difference between revisions of "love.audio"
Gerichhome (talk | contribs) (Перевод на русский язык) |
(Undo revision 2857 by Gerichhome (Talk), we keep our english pages english.) |
||
Line 1: | Line 1: | ||
− | + | Provides an interface to create noise with the user's speakers. | |
− | == | + | == Types == |
{{#ask: [[Category:Types]] [[parent::love.audio]] | {{#ask: [[Category:Types]] [[parent::love.audio]] | ||
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
}} | }} | ||
− | == | + | == Functions == |
{{#ask: [[Category:Functions]] [[parent::love.audio]] | {{#ask: [[Category:Functions]] [[parent::love.audio]] | ||
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
}} | }} | ||
− | == | + | == Enums == |
{{#ask: [[Category:Enums]] [[parent::love.audio]] | {{#ask: [[Category:Enums]] [[parent::love.audio]] | ||
| headers=hide | | headers=hide | ||
Line 16: | Line 16: | ||
}} | }} | ||
[[Category:Modules]] | [[Category:Modules]] | ||
− | {{#set:Description= | + | {{#set:Description=Provides an interface to create noise with the user's speakers.}} |
− | == | + | == See Also == |
* [[parent::love]] | * [[parent::love]] | ||
* [[Tutorial:Audio]] | * [[Tutorial:Audio]] | ||
− | |||
− |
Revision as of 13:59, 6 September 2010
Provides an interface to create noise with the user's speakers.
Contents
Types
RecordingDevice | Represents an audio input device capable of recording sounds. |
Source | A Source represents audio you can play back. |
Functions
love.audio.getActiveEffects | Gets a list of the names of the currently enabled effects. |
love.audio.getActiveSourceCount | Gets the current number of simultaneously playing sources. |
love.audio.getDistanceModel | Returns the distance attenuation model. |
love.audio.getDopplerScale | Gets the global scale factor for doppler effects. |
love.audio.getEffect | Gets the settings associated with an effect. |
love.audio.getMaxSceneEffects | Gets the maximum number of active effects. |
love.audio.getMaxSourceEffects | Gets the maximum number of active Effects for each Source. |
love.audio.getNumSources | Gets the current number of simultaneously playing sources. |
love.audio.getOrientation | Returns the orientation of the listener. |
love.audio.getPlaybackDevice | Gets the currently active playback device. |
love.audio.getPlaybackDevices | Gets a list of playback devices on the system. |
love.audio.getPosition | Returns the position of the listener. |
love.audio.getRecordingDevices | Gets a list of RecordingDevices on the system. |
love.audio.getSourceCount | Gets the current number of simultaneously playing sources. |
love.audio.getVelocity | Returns the velocity of the listener. |
love.audio.getVolume | Returns the master volume. |
love.audio.isEffectsSupported | Gets whether Effects are supported in the system. |
love.audio.newQueueableSource | Creates a new Source usable for real-time generated sound playback with Source:queue. |
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.setDistanceModel | Sets the distance attenuation model. |
love.audio.setDopplerScale | Sets a global scale factor for doppler effects. |
love.audio.setEffect | Defines an effect that can be applied to a Source. |
love.audio.setMixWithSystem | Sets whether the system should mix the audio with the system's audio. |
love.audio.setOrientation | Sets the orientation of the listener. |
love.audio.setPlaybackDevice | Change or reconnect the audio device. |
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
DistanceModel | The different distance models. |
EffectType | Different types of audio effects. |
EffectWaveform | Types of waveforms for ringmodulator effect. |
SourceType | Types of audio sources. |
StreamType | Types of audio sources. |
TimeUnit | Units that represent time. |