Difference between revisions of "love.audio"
m (→See Also) |
Gerichhome (talk | contribs) (Перевод на русский язык) |
||
Line 1: | Line 1: | ||
− | + | Предоставляет интерфейс для воспроизведения звука | |
− | + | == Типы == | |
− | == | ||
{{#ask: [[Category:Types]] [[parent::love.audio]] | {{#ask: [[Category:Types]] [[parent::love.audio]] | ||
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
}} | }} | ||
− | == | + | == Функции == |
{{#ask: [[Category:Functions]] [[parent::love.audio]] | {{#ask: [[Category:Functions]] [[parent::love.audio]] | ||
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
}} | }} | ||
− | == | + | == Перечисления == |
{{#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= | + | {{#set:Description=Предоставляет интерфейс для воспроизведения звука.}} |
− | == | + | == Смотри также == |
* [[parent::love]] | * [[parent::love]] | ||
* [[Tutorial:Audio]] | * [[Tutorial:Audio]] | ||
+ | == Другие языки == | ||
+ | {{i18n|love}} |
Revision as of 11:57, 6 September 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. |
Перечисления
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