I want to display an oscilliscope but without playing sounds. I looked at the dsppluginviewer demo, but when I remove de gSystem->playSound calls it won’t display anything when I play an mp3 with winamp. If I leave this call it will display something, however because of the sound playing it records its own sounds back and will start looping the music.
- Mr Andresson asked 12 years ago
I would like to display an oscilliscope like the dsppluginviewer, only with the sound coming from windows wave out mix. So when I play a mp3 in for example winamp I get to see the oscilliscope in de dsppluginviewer. Hower when I put the output to FMOD_OUTPUTTYPE_NOSOUND the ossciliscope does not react to any sound played.
- Mr Andresson answered 12 years ago
you are using the recording api to do this?
That is because the recording device matches the output device that you selected, and nosound has a null recording device.
If you just want it to be silent you might want to try muting the output using the DSP engine.
Try something like
and instead of using system->getWaveData use channel->getWaveData or masterchannelgroup->getWaveData (masterchannelgroup retrieved from System::getMasterChannelGroup).
This should mute the output just before it hits the soundcard, but not before it hits the channel or master channelgroup wavedata processor.
Please login first to submit.