Difference between revisions of "love.audio (Русский)"
Line 20: | Line 20: | ||
* [[parent::love_(Русский)]] | * [[parent::love_(Русский)]] | ||
* [[Tutorial:Audio]] | * [[Tutorial:Audio]] | ||
+ | == Другие языки == | ||
+ | {{i18n|love.audio}} |
Revision as of 13:18, 14 July 2010
Предоставляет интерфейс для работы с динамиками пользователя.
Типы
RecordingDevice | Represents an audio input device capable of recording sounds. |
Source | A Source represents audio you can play back. |
Функции
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. |
Смотрите так же
Другие языки
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