Path: utzoo!censor!geac!torsqnt!hybrid!scifi!bywater!uunet!cs.utexas.edu!garnett From: garnett@cs.utexas.edu (John William Garnett) Newsgroups: comp.sys.next Subject: loading Soundfiles from a Mach-O Sound Segment Keywords: sound mach-o segment load Message-ID: <1050@tokio.cs.utexas.edu> Date: 20 Jan 91 21:50:23 GMT Organization: UT at Austin, Dept. of CS Lines: 15 I wish to use C to do the equivalent of the following Objective-C statement: id mySound = [Sound newFromMachO:"SonicBoom.snd"]; That is, I wish to use the SND* routines to read a sound file from a Mach-O sound segment. I do know about the SNDReadSoundFile() function which allows one to read a sound file from disk. If anyone has an idea of how to do this, please let me know. Thanks. -- John Garnett University of Texas at Austin garnett@cs.utexas.edu Department of Computer Science Austin, Texas