Re: ExtAudioFileRead fails after reaching EOF, despite new seek position
Re: ExtAudioFileRead fails after reaching EOF, despite new seek position
- Subject: Re: ExtAudioFileRead fails after reaching EOF, despite new seek position
- From: Christopher Liscio <email@hidden>
- Date: Mon, 19 May 2008 20:13:39 -0400
On May 19, 2008, at 7:17 PM, William Stewart wrote:
AUFilePlayer sits on top of the AUScheduledSlicePlayer - which is an
audio unit that you push buffers of audio too from any thread and it
will play them back. It is more work, but you could certainly do
what you are talking about here.
Well, this would also require me using the ExtAudioFile API, right? I
mean, I'd still have to read the buffers from start to finish, then
seek again. I'm back in the same boat here. :/
I didnt say afplay - I said PlayFile (which is in the SimpleSDK
directory). In any case, it may not provide what you need if you
want to reverse playback files...
Sorry - I suppose I skipped ahead and anticipated a potential follow-
up suggestion to use the PublicUtility classes. :)
PlayFile used AUFilePlayer and hence I just treated them as one
suggestion for a better alternative...
sure - that's what you would need
And I've implemented it that way, so we possibly ruled that out as a
problem here.
So, despite all this, I'm having problems calling ExtAudioFileRead()
after seeking to the end of a file and then seeking back within the
middle of the file.
From the sounds of things, it's probably just me, and I have more
debugging to do. If I can come up with a tiny sample that reproduces
this behavior I'll be sure to update the thread with it.
I have a feeling I'll be slapping my forehead once I get to the bottom
of this... :P
Thanks,
Chris Liscio
http://SuperMegaUltraGroovy.com
Acoustic measurement software for Mac OS X -- http://www.FuzzMeasure.com
_______________________________________________
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