First of all, Thanks for a great library.
I am working on a simple shoutcast player project that plays a hardcoded url. Everything works fine so far and I am trying a volume control function in my project. I chose to use trackBar in Visual Studio Tools. Here's my code so far but it does not change the volume at all. All I want is volume control in my application only (not windows master volume). Here's my code for trackBar.
private void trackBar_Scroll(object sender, EventArgs e)
Bass.BASS_ChannelSetAttribute(-1, BASSAttribute.BASS_ATTRIB_VOL, trackBar.Value / (float)10);
// Also I am not sure if -1 used above is the right choice.
And this is how my stream is setup and works as it should..
Bass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_DEFAULT, IntPtr.Zero);
int channel = Bass.BASS_StreamCreateURL("http://184.108.40.206:1725", 0,
BASSFlag.BASS_DEFAULT, null, IntPtr.Zero);
if (currentState == "paused")
Any help will be so much appreciated. I have tried to explain the best I could. Please let me know.