Playing and recoding audio files...

konan

Registered
Are there any cocoa and or carbon routines for high level multimedia manipulation, like the ability to record and playback audio files. For example, in windows there is a "Media Control Interface" (MCI) which allows the programmer access to these features via simple string commands like

mciSendString("OPEN NEW TYPE WAVEAUDIO ALIAS MySound", NULL, 0, Handle);

What is the best way to access sound recording and playback features in OS X?

Konan
 
the quicktime API seems the best way 4 audio and/or video.
For audio, you can directly call HAL's prototypes in your carbon programs.
 
HAL means Hardware Abstraction Layer. It's the lowest level of the audio system.

see the exemples in the /Developer/Examples/CoreAudio folder for info
 
Back
Top