![]() |
| | #1 |
| Registered User Join Date: Jun 2008
Posts: 2
| C++ program to play sound on Mac OS X Essentially I want the program to play a wav file, using whatever player the computer normally uses. The most promising information I've come across, however, involves PlaySound() and #include<windows.h>, which isn't very useful, as I'm using a Mac. Also I thought there might exist some kind of more general command that isn't platform specific. Any ideas? |
| amelia25 is offline | |
| | #2 |
| Ethernal Noob Join Date: Nov 2001
Posts: 1,888
| http://www.libsdl.org/ SDL is a multiplatform multimedia library, http://www.libsdl.org/download-1.2.php They have a mac OS X and classic binary for the library. |
| indigo0086 is offline | |
| | #3 |
| Registered User Join Date: Jun 2008
Posts: 2
| Thanks, I'll have a mess around and see if I can make sense of it. A. |
| amelia25 is offline | |
| | #4 |
| Ethernal Noob Join Date: Nov 2001
Posts: 1,888
| download the documentation as well to help you out. |
| indigo0086 is offline | |
![]() |
| Tags |
| mac, os x, program, sound, wav |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C program to play a sound | cucamunga | Linux Programming | 13 | 08-27-2008 09:30 AM |
| write a program to play dice rolling game between two player | JC041214 | C++ Programming | 9 | 11-11-2007 02:31 PM |
| Using variables in system() | Afro | C Programming | 8 | 07-03-2007 12:27 PM |
| fopen(); | GanglyLamb | C Programming | 8 | 11-03-2002 12:39 PM |
| no program sound | Unregistered | Windows Programming | 2 | 07-18-2002 07:24 AM |