Re: Problems with first CoreAudio Example : (
Re: Problems with first CoreAudio Example : (
- Subject: Re: Problems with first CoreAudio Example : (
- From: William Stewart <email@hidden>
- Date: Mon, 31 Oct 2005 11:16:14 -0800
You might also want to start having a look at the PlayFile example in
the "Simple" directory of the SDK - it too will want an file
specified to play as passed through the argument list, but its code
is alot simpler to follow than the afplay code is.
Bill
On 30/10/2005, at 9:01 PM, Jens Alfke wrote:
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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