Library for playing audio in C
Author |
Message |
Panphobia
![](http://compsci.ca/v3/uploads/user_avatars/62033050050c6b61548706.png)
|
Posted: Tue Feb 04, 2014 7:02 pm Post subject: Library for playing audio in C |
|
|
I am kind of new to C so don't blame me if I don't know that much. So I was playing around in C on my raspberry pi and was trying to create a morse code translator, my program converts properly to and from morse code. But now I am trying to add in sounds so that it beeps like real morse code. I have a C library that plays audio files but I don't know how to integrate it into the program, I asked some of my friends and they told me to make a lib/ directory in your program directory, then adjust your Makefile to look in that lib/ directory. How would I do this? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Insectoid
![](http://compsci.ca/v3/uploads/user_avatars/13760332514cbd0ce972eaa.jpg)
|
Posted: Tue Feb 04, 2014 7:17 pm Post subject: RE:Library for playing audio in C |
|
|
You need to tell your compiler to link the library. The specific procedure differs between compilers and IDEs so you'll have to look that up yourself. |
|
|
|
|
![](images/spacer.gif) |
|
|