Any Way to Control Volume for sound.PlayURL

I’m curious if there is a parameter somewhere to control the volume of the streaming audio called by sound.PlayURL. All I see is “3d”, “mono”, “noplay” and “block”.

You can set the volume in the callback function http://wiki.garrysmod.com/page/IGModAudioChannel/SetVolume
[lua]
sound.PlayURL(“filepath”, “” function(audio)
if IsValid(audio) then
audio:Play()
audio:SetVolume(.8)
end
end)
[/lua]

Sweet. Thanks guys, that got it. Should be able to put a Web radio player on my server now :smiley: