Please can anyone explain me how to change/set volume for audio while it is playing.
Edit from comment: I am using ffmpeg as a decoder and using it with SDL_MIXER. I have added 'volume' filter and set initial volume value. When it is playing i want to set new value of volume. One more thing i am streaming the audio.
ffmpeg
can actually be used as a media player via the various output devices (such as sdl).