sounds.c File Reference

#include "frontier.h"
#include "standard.h"
#include "error.h"
#include "strings.h"
#include "sounds.h"

Include dependency graph for sounds.c:

Go to the source code of this file.

Defines

#define squareWaveSynth   1
#define ampCmd   43
#define freqDurationCmd   40

Functions

boolean dosound (short duration, short amplitude, short frequency)
void motorsound (void)
void ouch (void)
boolean playnamedsound (bigstring bsname)


Define Documentation

#define ampCmd   43
 

Definition at line 36 of file sounds.c.

Referenced by dosound().

#define freqDurationCmd   40
 

Definition at line 37 of file sounds.c.

Referenced by dosound().

#define squareWaveSynth   1
 

Definition at line 35 of file sounds.c.

Referenced by dosound().


Function Documentation

boolean dosound short  duration,
short  amplitude,
short  frequency
 

Definition at line 84 of file sounds.c.

References ampCmd, freqDurationCmd, infinity, min, nil, oserror(), and squareWaveSynth.

Referenced by langfunctionvalue(), and motorsound().

Here is the call graph for this function:

void motorsound void   ) 
 

Definition at line 156 of file sounds.c.

References dosound().

Here is the call graph for this function:

void ouch void   ) 
 

Definition at line 162 of file sounds.c.

References sysbeep.

Referenced by opreturnkey(), shellbuttonhit(), shellhandlemenu(), shellouch(), shellwindowmenuselect(), tablekeystrokecallback(), and tableruncursor().

boolean playnamedsound bigstring  bsname  ) 
 

Definition at line 177 of file sounds.c.

References copyptocstring(), nil, noErr, and NULL.

Referenced by langfunctionvalue().

Here is the call graph for this function:


Generated on Tue Jun 13 13:15:36 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6