IGModAudioChannel
IGModAudioChannel
Metatable function | Description |
---|---|
__tostring |
Returns a formated string of the IGModAudioChannel -> IGModAudioChannel [file name/url] |
__gc |
Internally deletes the IGModAudioChannel turning it invalid |
Methods
IGModAudioChannel:Destroy()
Destroys the audio channel.
Computes the DFT of the sound channel.
What even is that.
What even is that.
IGModAudioChannel:Get3DCone()
Not implemented / throws a error when used.
IGModAudioChannel:Get3DEnabled()
Not implemented / throws a error when used.
IGModAudioChannel:Get3DFadeDistance()
Not implemented / throws a error when used.
number IGModAudioChannel:GetAverageBitRate( )
Returns the average bit rate.
number IGModAudioChannel:GetBitsPerSample( )
Returns the bits per sample.
number IGModAudioChannel:GetBufferedTime( )
Returns the buffered time of the channel.
If it's playing a file, it will just return the length of it.
number IGModAudioChannel:GetChannelPan( )
Returns the channel pan.
string IGModAudioChannel:GetFileName( )
Returns the filename or URL the channel is playing.
Returns the level of the channel.
First value is left, second is right.
number IGModAudioChannel:GetPlaybackRate( )
Returns the playback rate of the channel.
IGModAudioChannel:GetPos()
Not implemented / throws a error when used.
number IGModAudioChannel:GetSampleRate( )
Returns the samplerate of the channel.
boolean IGModAudioChannel:IsBlockStreamed( )
Returns
true
if the sound is received in chunks.
IGModAudioChannel:Pause()
Pauses the channel.
IGModAudioChannel:Play()
Plays the channel.
IGModAudioChannel:Restart()
Restarts the channel.
IGModAudioChannel:Set3DCone()
Not implemented / throws a error when used.
IGModAudioChannel:Set3DEnabled()
Not implemented / throws a error when used.
IGModAudioChannel:Set3DFadeDistance()
Not implemented / throws a error when used.
IGModAudioChannel:SetChannelPan( number pan )
Sets the channel pan.
IGModAudioChannel:SetLooping( boolean looping )
Sets looping for the channel.
IGModAudioChannel:SetPos()
Not implemented / throws a error when used.
Sets the volume of the channel.
It's serverside... how does volume even play a role
IGModAudioChannel:Stop()
Stops the channel.