views:

1103

answers:

2

I was wondering if anyone had an opinion on what they think is the best linux audio library for c. I'm just learning and was experimenting with audio output on libao.

edit: right now all I'm trying to do is put out frequency tones.

+1  A: 

There's an open source audio api called OpenAL available. I haven't used it but I have heard good things about it.

zooropa
I strongly advise against OpenAL. I wrote the audio backend for my program only to discover that OpenAL's default Linux implementation in Linux (SI) is essentially broken, and the other one (Soft) still suffers from performance and compatibility issues.
Yuvi Masory
+2  A: 

You could try FMod. You can get it here. It has a high level api, supports lots of programming languages and operating systems. Lots of audio formats can be played, and encoded, there is also support for 3d-sound and much more. It is free for non-commercial use and has various licensing models for commercial uses.

codymanix