Welcome, Guest
Username: Password: Remember me

NOTE: This is a "Community" forum. Please be mindful that community members are here to help as part of a community effort. We therefore appreciate your effort in keeping this forum a happy place!

If you have a specific issue (e.g. hardware, failure) and want help from our support team, please use our tech support portal (Support menu - > Contact Us).
Thanks a lot of your help in making a better community.
  • Page:
  • 1

TOPIC:

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

  • Junchao
  • Junchao's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 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

Please Log in or Create an account to join the conversation.

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

  • devteam
  • devteam's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9173
  • Thank you received: 1480
@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 DSP community one board at a time.

For any official support, please contact our technical support team directly @ support.minidsp.com/support/home

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: devteam