love.audio (Tiếng Việt)

Cung cấp một giao diện để tạo nên âm thanh phát ra loa của máy.

Kiểu

SourceA Source represents audio you can play back.

Hàm

love.audio.getDistanceModelReturns the distance attenuation model.
love.audio.getDopplerScaleGets the global scale factor for doppler effects.
love.audio.getNumSourcesGets the current number of simultaneously playing sources.
love.audio.getOrientationReturns the orientation of the listener.
love.audio.getPositionReturns the position of the listener.
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.newSourceCreates a new Source from a file, SoundData, or Decoder.
love.audio.pausePauses a 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.setOrientationSets the orientation of the listener.
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.

Kiểu liệt kê

DistanceModelThe different distance models.
SourceTypeTypes of audio sources.
TimeUnitUnits that represent time.

Xem thêm

Ngôn ngữ khác