mixer

How to emulate/replace/re-enable classical Sound Mixer controls (or commands) in Windows Vista? [answered]

Hi. I have a problem (and have been having it for some time now) -- the new sound mixer stack in Vista features new cool things, but also re-invents the wheel. Many applications that used to use Volume Mixer on a Windows system to mix different voiced outputs into one input (for example Wave-out + Line-in --> Stereo Mix) have since stopp...

Mapping ISpMMSysAudio::SetLineId and mixerLineId

I want to set the lineId for SAPI by calling ISpMMSysAudio::SetLineId. I find out the line which I wish to set from the mixer handle I have. However the line id I get from the mixer is not what SAPI assumes. It results in SAPI listening to the wrong input line for mic thus getting no input. I'm getting the mux control for "DST_WAVEIN" f...

volume/mixer manipulation in GNOME

What is the Right Way for a well-behaved program in a GNOME environment to manipulate the mixer? (volume, muting, etc) DBus? ALSA directly? something else? ...

Wrong control id for mixer API in Windows XP

Hi. I am having a problem with the Mixer API in Windows XP. I am trying to change the microphone recording level and mute state for a distinct sound device (I have multiple devices installed). Do do this, I need the MIXERLINE.dwLineID member in order to obtain MIXERCONTROL.dwControlID. I am trying to do this by passing MIXERLINE_COMP...

How to realize a multi channel audio pre-mixer in .net

I'd like to use C# to implement an application that can play multiple audio streams at the same time. Peanuts - now the interesting part: assuming every stream is single channel (mono) I want to adjust the volume for every speaker (5.1 or even 7.1) for every stream separately. I can use the windows mixer to do this, but the problem is, t...

YouTube Autosuggest API - where to find samples or documentation?

I want to create a YouTube video search box with the same autocomplete feature. Any idea where can I find samples or and documentation? Thanks ...

DirectSound: how to change the input volume of a microphone?

Hi, I have some questions about Directsound and windows mixers. My goal is to enumerate all microphones and be able to change the input volume of each one. I think i'm not far from the solution, but I don't find what is wrong in my code. Here is what I have done: - I enumerate all input devices and get a GUID for each one - I use a meth...

How to mix audio samples?

My question is not completely programming-related, but nevertheless I think SO is the right place to ask. In my program I generate some audio data and save the track to a WAV file. Everything works fine with one sound generator. But now I want to add more generators and mix the generated audio data into one file. Unfortunately it is mor...

Server side audio mixer. What's available? (Can cSounds do this?)

I am interested in finding out if there exists a program or library which can perform the following task, and would be suitable for running as part of a server side process on a web site. (it's okay if it takes longer than the 200 milisecond maximum that is reasonable for a single page request-I can run it as an asynchronous process) Th...

How to globally mute and unmute sound in Vista and 7, and to get a mute state?

I'm using the old good Mixer API right now, but it does not work as expected on Windows Vista & 7 in the normal, not in XP compatibility mode. It mutes the sound for the current app only, but I need a global (hardware) mute. How to rearch the goal? Is there any way to code this w/o COM interfaces and strange calls, in pure C/C++? ...

Get Master Sound Volume in c#

Hi, I need to get the current volume of what that outs to the sound card, for example, this value: Any ideas how? Thank you. ...

How to adjust microphone gain from C# (needs to work on XP & W7)...

First, note that I know there are a few questions like this already posted; however they don't seem to address the problem adequately. I have a C# application, with all the pInvoke hooks to talk to the waveXXX API, and I'm able to do capture and play back of audio with that. I'm also able to adjust speaker (WaveOut) volume with that AP...

How to get volume on line in Java

I'd like to check my systemmixers for volume in Java. So I loop through all mixers and create a line. Is there a possibility to get an integer of the volume currently active on that line? I only seem to find adjustments to the systemvolume or linevolume but not the current actual volume. Or should I try to record a little part of every...

iPhone SDK Audio Mixer

What I need to do is be able to mix 4 channels of audio (not from a live source, just prerecorded audio files in the app bundle), and change their volumes individually, in real time, preferably with MP3s. What's the best/correct road for me to take, regarding all the various sound APIs for the iPhone? Thanks! ...

Mp3 audio sequencer and mixer in C#

I want to create a VERY simple audio sequencer in C# that would work mostly with MP3 files or optionally any other compressed format, like Ogg or FLAC. Not WAV. User arranges audio files into a grid with multiple channels/tracks (i.e. multiple audio files playing simultaneously) The whole mix (all audio files in the grid) can then be p...