s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Audio
MultiChannelBuffer
chevron_left Audio
class
MultiChannelBuffer

Constructors

functionsMultiChannelBuffer

Properties

data_objectChannelCount

Methods

functionsCopyFromfunctionsCopyFromUpmixfunctionsDisposefunctionsGetfunctionsMixFromfunctionsScalefunctionsSilence
MultiChannelBuffer
Holds up to 8 mix buffers, which usually represent output speakers.
class Sandbox.Audio .
sealedSandbox.Engine

build Constructors 1

MultiChannelBuffer (channelCount)

data_object Properties 1

ChannelCount
int
How many channels do we have

functions Methods 7

CopyFrom (other)
Set this buffer to this value
CopyFromUpmix (other)
Copies from one buffer to the other. If the other has less channels, we'll upmix
Dispose ()
Delete and release all resources. Cannot be used again.
Get (i)
MixBuffer
Get MixBuffer number i
MixFrom (samples, mix)
Mix the target buffer into this buffer
Scale (volume)
Scale volume of this buffer
Silence ()
Silence all buffers
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter