• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: playfile.cpp, afplay
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: playfile.cpp, afplay


  • Subject: Re: playfile.cpp, afplay
  • From: William Stewart <email@hidden>
  • Date: Mon, 10 Jul 2006 11:32:38 -0700

Try passing a full path to the file (xcode has some problems in passing through abreviated path names (and a relative path from xcode is NOT from your home directory). The sample code may not deal correctly with a relative path either - some of our code does, some doesn't.

Bill

On 10/07/2006, at 6:15 AM, Robert Carroll wrote:

Hi,

I'm quite new to both xcode and core audio. So far i have been unable to get either sample code for playfile or afplay to successfully play a short stereo aif file.

With playfile, I get the following debugger error message:

mi_cmd_stack_list_frames: Not enough frames in stack.

With afplay, it just exits with status 1.

In both cases I'm passing the argument desktop/Equinox.aif which is a stereo file on my desktop about 1.2 mb in size.

Any suggestions would be greatly appreciated.

thanks

Rob


_______________________________________________ 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


References: 
 >playfile.cpp, afplay (From: Robert Carroll <email@hidden>)

  • Prev by Date: Re: split multi-channel bus to multiple mono buses
  • Next by Date: Re: What is a -6 result from ExtAudioFileOpen?
  • Previous by thread: playfile.cpp, afplay
  • Next by thread: DRM and Apple Loops
  • Index(es):
    • Date
    • Thread