# develop-11 9208 August 1992 — source transcripts, page 2

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-develop-11-9208-august-1992-ef8ff7/2)

## Transcribed source material

Machine transcriptions and image descriptions; uncertain copy may be marked [illegible]. Verify against the linked originals. Historical rights remain with the original owners.

These are transcribed excerpts, not the full publications. Open the originals for remaining pages.

### PDF page 12

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-11-9208-august-1992-ef8ff7/2#scan-004b8f1945495000298e14c16cd42df3a2865dac5174ed2b2c6a639c117e0a4e)

Transcribed text:

When your application terminates, it calls Helper’s kill routine. Helper’s method of
communication with the application minimizes processing overhead. By using the
attention flag scheme, your application calls Helper’s idle routine only when it’s really
necessary. This could be important in game and multimedia applications where CPU
bandwidth is pushed to the limit.
HELPER’S INTERFACE
Now let’s take a look at the interfaces and the basic uses of the routines provided by
Helper. Later we’ll go into more detail about how the routines work and how to use
them.
INITIALIZATION, IDLE, AND TERMINATION
pascal   OSErr   SHInitSoundHelper(Boolean   *attnFlag,   short   numChannels);
pascal   void   SHIdle(void);
pascal   void   SHKillSoundHelper(void);
SHInitSoundHelper initializes Helper. It allocates memory, so you should call it near
the beginning of your application. The application passes to SHInitSoundHelper the
address of the Boolean attention flag that Helper uses to inform the application when
it needs attention.
d e v e l o p   August 1992
Helper is written in C,   but all public routines
are declared as Pascal so that they can be called
from other languages.•
10
Application
Helper
1   2   3   4
Application
5
callBackCmd
Sound
Manager
SHIdle
Asynchronous sound
Channel
Attention flag
SHPlayByID
Helper   Helper
Application
Figure 2
Application-Sound Manager Interface

Reading notes: Running headers and figure labels in the source may have been partially lost; reading order of figure text is uncertain.

Printed dates: August 1992

Languages: English

[Original PDF page 12](https://www.vintageapple.net/files/9b26255bcf2a8fbf4caafd9b6612dd89d45a33b4bdc4a1c781017a93daa39a19/develop-11_9208_August_1992.pdf#page=12)

[Previous transcribed scans](https://www.vintageapple.net/transcripts/media/va-develop-11-9208-august-1992-ef8ff7/1.md)
