Re: Looking for some sample appletalk ATP code...

Date: Sat, 27 Mar 1993 14:30:39 -0800

I was trying to get Think Pascal 4.0.2 to play anynchronous sounds (sounds
that play while other things are happening). It turns out that you have to
remove the [D] Debug compile option or else the machine crashes.

On the road to discovering this, I made a 'minimal' anynchronous sound
playing
program. A sample sound playing program is provided by Jim Reekes in the
DTS
folder of apple.com, but it is very elaborate and complex. What I offer
here
is a minimum piece of source code that a beginner could look at to see the
essential elements of async sound production, done by-the-book (vol VI of
Inside Apple, in this case).
--------
Marv Westrom
Faculty of Education, UBC
Vancouver, B.C. Canada V6T 1Z4

#### TEXT atp-sample-code-c.txt ****

Date: Wed, 2 Sep 92 18:11:08 GMT

In article <1992Sep1.033635.28604@sunb10.cs.uiuc.edu> Alex Bratton,
bratton@sparc3.cs.uiuc.edu writes:
>If you have some sample code (ATP) that opens, registers, and dumps some
>data, I'd really appreciate seeing it. This has been bugging me for a
while
>and I think I need to look at some working code to see what I'm missing.

Here is some more sample code, which opens and registers an ATP socket.
It is from the Macintosh User Authenticator mentioned in a previous post
be me.

The code is written for Think C 5.

#include
#include
#include

Path: /www/exparrot/files.tidbits.com/info-mac/dev/src/async-sound-sample-pas.hqx

AttachmentSize
File async-sound-sample-pas.hqx96.05 KB
Architecture: 
File Type: 
License: 
Year: 
Archive: