Click here to Skip to main content
15,888,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I’m new to DirektShow in .NET, but so far I made very good experience with it.

I am currently writing a little player for sound and video, just to get a grip on the basic functionalities.

The first real problem I encountered is the Volume control.

I use the “IBasicAudio“-interface and the “put_Volume”-function, were I set values between -10000 an 0.

For most Audio and Video this works pretty well to controll the volume level.

However, I have a few .wav-files that are multi-channel (up to 6-channels), and when I set the volume here, only one channel changes volume.

Before I load the File, I select a certain output-Device (DsDevice) that will be used to play the sound.



So I would like to know, if it is somehow possible to set the volume for all channels, or to use DirektShow to set the volume of a DsDevice. Which ever is easier.



Best Regards, Marc
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900