Puzzled over Offline units
Puzzled over Offline units
- Subject: Puzzled over Offline units
- From: Craig Hopson <email@hidden>
- Date: Fri, 8 Jul 2005 13:16:27 -0600
I need to be able to play a sound forward or backward. I have a
class with two buffers, one for normal (forward) play, one for
reversed play. I can load the normal buffer from a file and play
it. I want to fill the other buffer with the reversed sound. It
looks like the ReverseOfflineUnit (from the SampleAUs) will do the
dirty work of reversing a buffer. Here's the question... How do I
use it? Do I create a separate 'Offline' AUGraph temporarily? Or, do
I load and use the OfflineUnit directly? The main question is, how
do I set the input to be my normal buffer and my output to be my
reversed buffer?
Sorry to seem dense, I simply haven't been able to puzzle this out
yet. Also, I cannot find any sample code that USES an Offline AU,
nor is there much documentation for this. Thanks very much for any
help.
-Craig
***************************************************
Craig Hopson, Managing Partner
Red Rock Software, Inc.
10 West Broadway, Suite 850
Salt Lake City, UT 84101
office: 801.322.4322 x103
cell: 801.949.3526
http://www.redrocksw.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