Welcome, Guest
Username: Password: Remember me
NOTE: This forum is community powered. Please be mindful that long time community members are here to help as part of a community effort. If you have a specific issue (e.g. hardware, failure), please use our tech support portal (Support menu - > Contact Us). Thanks a lot of your help in making a better community. :-)

TOPIC: How to get audio sample by using C++ on Windows?

How to get audio sample by using C++ on Windows? 2 months 5 days ago #37705

  • Junchao
  • Junchao's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Hi Mr/Mrs,

There is an example that get audio sample by using Matlab, i.e. use function 'audioDeviceReader'. But how to do this if I am using C++? any demo? thanks.

Is it possible that use APIs in library 'winmm.lib' to do that ? APIs listed as below:
(1) waveInOpen
(2) waveInStart
(3) waveInAddBuffer
...

Best Regards,
Junchao Cai
The administrator has disabled public write access.

How to get audio sample by using C++ on Windows? 1 month 3 weeks ago #37804

  • devteam
  • devteam's Avatar
  • Offline
  • Administrator
  • Posts: 7727
  • Thank you received: 898
  • Karma: 150
@Junchao

I'm afraid that we don't have such example/app notes. It would be outside our tech support to go into that details of coding but knowing the interface is a standard UAC2 interface (USB Audio Class2), I'm sure that google would pop a lot of options to be able to record/stream audio from your app.

DevTeam
MiniDSP, building a DIY DSP community one board at a time.
The administrator has disabled public write access.
Moderators: devteam
Time to create page: 0.092 seconds