Difference between revisions of "love.audio"

m (See Also)
(Перевод на русский язык)
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 17: Line 16:
 
}}
 
}}
 
[[Category:Modules]]
 
[[Category:Modules]]
{{#set:Description=Provides an interface to create noise with the user's speakers.}}
+
{{#set:Description=Предоставляет интерфейс для воспроизведения звука.}}
== See Also ==
+
== Смотри также ==
 
* [[parent::love]]
 
* [[parent::love]]
 
* [[Tutorial:Audio]]
 
* [[Tutorial:Audio]]
 +
== Другие языки ==
 +
{{i18n|love}}

Revision as of 11:57, 6 September 2010

Предоставляет интерфейс для воспроизведения звука

Типы

RecordingDeviceRepresents an audio input device capable of recording sounds.
SourceA Source represents audio you can play back.

Функции

love.audio.getActiveEffectsGets a list of the names of the currently enabled effects.
love.audio.getActiveSourceCountGets the current number of simultaneously playing sources.
love.audio.getDistanceModelReturns the distance attenuation model.
love.audio.getDopplerScaleGets the global scale factor for doppler effects.
love.audio.getEffectGets the settings associated with an effect.
love.audio.getMaxSceneEffectsGets the maximum number of active effects.
love.audio.getMaxSourceEffectsGets the maximum number of active Effects for each Source.
love.audio.getNumSourcesGets the current number of simultaneously playing sources.
love.audio.getOrientationReturns the orientation of the listener.
love.audio.getPlaybackDeviceGets the currently active playback device.
love.audio.getPlaybackDevicesGets a list of playback devices on the system.
love.audio.getPositionReturns the position of the listener.
love.audio.getRecordingDevicesGets a list of RecordingDevices on the system.
love.audio.getSourceCountGets the current number of simultaneously playing sources.
love.audio.getVelocityReturns the velocity of the listener.
love.audio.getVolumeReturns the master volume.
love.audio.isEffectsSupportedGets whether Effects are supported in the system.
love.audio.newQueueableSourceCreates a new Source usable for real-time generated sound playback with Source:queue.
love.audio.newSourceCreates a new Source from a file, SoundData, or Decoder.
love.audio.pausePauses specific or all currently played Sources.
love.audio.playPlays the specified Source.
love.audio.resumeResumes all audio.
love.audio.rewindRewinds all playing audio.
love.audio.setDistanceModelSets the distance attenuation model.
love.audio.setDopplerScaleSets a global scale factor for doppler effects.
love.audio.setEffectDefines an effect that can be applied to a Source.
love.audio.setMixWithSystemSets whether the system should mix the audio with the system's audio.
love.audio.setOrientationSets the orientation of the listener.
love.audio.setPlaybackDeviceChange or reconnect the audio device.
love.audio.setPositionSets the position of the listener.
love.audio.setVelocitySets the velocity of the listener.
love.audio.setVolumeSets the master volume.
love.audio.stopStops currently played sources.

Перечисления

DistanceModelThe different distance models.
EffectTypeDifferent types of audio effects.
EffectWaveformTypes of waveforms for ringmodulator effect.
SourceTypeTypes of audio sources.
StreamTypeTypes of audio sources.
TimeUnitUnits that represent time.

Смотри также

Другие языки