Re: Problems with first CoreAudio Example : (
Re: Problems with first CoreAudio Example : (
- Subject: Re: Problems with first CoreAudio Example : (
- From: Jens Alfke <email@hidden>
- Date: Sun, 30 Oct 2005 21:01:06 -0800
On 30 Oct '05, at 4:23 PM, sam aspin wrote: its saying theres an error opening the file but i havent specified a file for it to open???
afplay is a command-line tool; you have to specify a file on the command line. The "Usage" message is telling you what to put on the command line.
You can run it from within Xcode by choosing Project > Edit Active Executable, then click the Arguments tab, then the "+" button and enter the full path to the file as an argument. Now when you run afplay in Xcode, it'll get that file.
But usually you would run afplay from Terminal by entering the path to the binary (down in build/) plus the command-line options.
--Jens |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden