Welcome, Guest. Please login or register.

Author Topic: Getting access to internal mic on a Mac  (Read 53 times)

0 Members and 1 Guest are viewing this topic.

jasonnelson618

  • Newbie
  • *
  • Posts: 1
    • View Profile
Getting access to internal mic on a Mac
« on: December 03, 2018, 08:16:25 pm »
Hello!

Thank so much for reading;

So I'm working with the audio module and learning the various classes and functions. An area in which I'm particularly interested is the recording classes.

I set up a program in an attempt to record from my Mac's internal mic, but the only device listed when I used the "getDevices()" function(Ik I'm paraphrasing the function name) was "CoreAudio Default."

I know that CoreAudio is Apple's base audio system, but beyond that I have no idea what to do. Am I supposed to link SFML to the hardware using CoreAudio's API? Or is there something I'm missing to connect to the mic?

I would love access to the internal mic because I'm working on a 4-track recorder, and I know I can use external mic's, but I've used the internal mic on tons of garageband projects and it gives the user options instead of NEEDING an external mic.

Apparently CoreAudio is one of the most poorly documented libraries in the Mac world, so I'm hoping someone will know how to help me out!

Thanks in advance,

Jason

 

anything