Help for dumb ass's
Help for dumb ass's
- Subject: Help for dumb ass's
- From: Matthew Johnson <email@hidden>
- Date: Tue, 26 Mar 2002 13:08:49 +1100
Hi,
I am a 10 years veterin solaris C programmer (all server/client/maths/database no GUI) by trade and I have been flirting
with Cocoa which seems to be quite excellent. I am however finding it very hard to find samples directed at dumb ass's
like myself.
In particular I cannot find any samples of how I should be recording audio data as a wav and playing back audio. If
someone could either point me at a ***simple*** example of recording and playing back wav files or if they could send me
some code I would appreciate it alot.
I did dicover the daisy example /Developer/Examples/CoreAudio/HAL/daisy and I did work out how to set the volume and
gain using it. Thank you authors :)
But I could not work out the recording and playback. As I said before I am a dumb ass and I expected to find a nice
routines for dumb ass's like:
err=startRecordAudioToDiskFromDevice(myindev,"/Users/matt/mywav.wav",maxtime,format);
err=stopRecordToDiskFromDevice(myindev);
and
playAudioFromDisk(myoutdev,"/Users/matt/mywav.wav",format,maxtime,loop);
<not_a_troll> why don't you people use stuff like fopen fwrite etc etc?!?!? (yes i really don't understand what is the
matter with standard C functions) </not_a_troll>
Any help would be appreciated
Matt
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.