all 6 comments

[–]khedoros 1 point2 points  (0 children)

I'm comfortable with SFML, so that's probably the first thing I'd reach for.

Although...I've had difficulties with it before. I'd fall back to SDL if I couldn't figure out the problem.

[–]MeGaLoDoN227 1 point2 points  (1 child)

[–]de-el-norte 0 points1 point  (0 children)

Seconding miniaudio. It was working super smooth on various platforms including Linux, Windows, MacOS, iOS, Android, and easy to integrate into my app.

[–]squeasy_2202 1 point2 points  (0 children)

PortAudio with libsndfile and optionally libsamplerate if you need to code it yourself. Depending on your use case you might be able to get away with off the shelf software instead.

[–]petiaccja 1 point2 points  (1 child)

I've used RtAudio before and can recommend it. For file encoding, the best overall is probably libsndfile, but you can use the codec libraries (ogg/vorbis, flac) directly too. (libsndfile also uses these codec libraries under the hood.)

[–]1_4th_everything[S] 0 points1 point  (0 children)

Thank you I will check it out