2012-03-16 21:25:36

Abel Gancsos
put audio in C program for Mac

The following will only work on Apple Mac OSX 10.5 and above

To start: system("afplay [path to audio file] &");

To stop: system("killall afplay");



TIP: REPLACE [] WITH STANDARD HYPERTEXT PROTOCOL.
TIP: REPLACE WHATEVER IS BETWEEN THE [] WITH YOUR INFORMATION.



Hope that helps!