Recording FLACC audio?

I’m playing around with the Google speech to text API and I’m wondering if anyone knows of a plugin that will net me record audio from my mic in FLACC format? I’d prefer it to be cross-platform but I’d also be alright if it only worked on WIndows.

Can anyone point me in the right direction?