Grabbing audio data from the soundcard


I’m looking at the AudioDemo.cpp in the juce demo and I’m trying to get some audio data from the soundcard (e.g. via a microphone).

I thought that the data should be in the variable inputChannelData inside the function audioDeviceIOCallback() or did I understand something wrong? Maybe my soundcard is not working propperly?

Thanks for any help (I’m a juce newbie)!


Yes, that’s where it should be… If the demo isn’t showing a waveform of the incoming signal, then it mustn’t be looking at the right soundcard/channel/etc. or some other setup problem.