Advertisement

Setting Volume for Ogg Vorbis files

Started by October 16, 2005 02:14 PM
2 comments, last by gamer_1234 19 years, 1 month ago
I'm writing a sound manager to support wavs, and ogg vorbis files, and everything seems to work except for when i try to set the volume for the ogg files. Can anyone help me on what the proper function or way to set the volume is in c++. Thanks.
First question is - what API are you using to play the files? C++ itself has no way of playing back music files, let alone setting their volume.
Advertisement
direct sound
I solved it, the problem was that i was not setting the dwflags values for the DSBUFFERDESC struct.

This topic is closed to new replies.

Advertisement