2
\$\begingroup\$

I am developing a music visualizer software for Vive so I am trying to get FFT data from music that users listen to. However, I couldn't take any data from USB audio devices versus my soundcard.

What I have done is

  1. Using FMOD, I could access recording devices but there is no usb-audio device in the recording device list so I can only access the speaker(What U Hear)

system->recordStart(0, sound, true); // only I can capture data from recording devices
system->playSound(FMOD_CHANNEL_FREE, sound, false, &channel);

  1. Using WASAPI in Windows SDK, I tried to get the data although It also takes only data from the speaker not USB-Audio. I am not sure I did correct here but the SDK's example, WASAPICaptureSharedTimerDriven, doesn't seem to work for USB-AUDIO but it works fine with data from my soundcard (What U Hear)

If anyone has captured any audio data through USB-audio, please tell me the approach.

\$\endgroup\$
2
  • \$\begingroup\$ Does it transfer audio over USB? Not HDMI? \$\endgroup\$ Commented Jan 27, 2017 at 1:18
  • \$\begingroup\$ @Byte56 Yes over USB not HDMI \$\endgroup\$ Commented Jan 27, 2017 at 1:20

1 Answer 1

0
\$\begingroup\$

This is a bit outside my expertise, but you might need to use the USBAudio class system driver.

\$\endgroup\$

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.