Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Streaming Graph to file without a sound



I understand that I can use ExtAudioFileWriteAsync (etc.) to create a file and stream the output of my graph to it. Here's the twist... I don't want to hear the output while I'm writing the file. So, this is more like Export to file. My graph currently consists of custom generator unit(s), connected to a matrix mixer, connected to the default output unit. I need the graph to generate the output because I rely on event timing from the MusicSequence and the graph drives this nicely.

I suppose for my export I could spoof the output unit by filling its buffers with zeros while writing the actual data to file. This seems a bit much. Am I missing something simple? Should I switch to AUHAL rather than the default unit for the export? Is there support in AUHAL for this that I've missed?

Thanks for any help.


Craig Hopson Red Rock Software



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.