Release 1.2, Copyright ©1995 by Sean Luke. All Rights Reserved.
MiscTapper |
Inherits From: | Object | |
Declared In: | MiscTapper.h |
Class Description |
The MiscTapper has only one purpose in life: to jam open the recording stream for NeXT's sound device. Since
NeXT's NXStream objects only return volume information when a sound object is recording, ordinarily there's no way
for the MiscVolumeMeter or MiscVolumeLight objects to constantly reflect incoming sound without always recording
to a sound object, which fills up memory very quickly. The MiscTapper solves this by pretending to record sounds as
long as it's on, when it's actually just throwing the sound data away.
To use the MiscTapper, initialize it in the standard way, then start it running with the run: method. Stop the MiscTapper (lightening system load) with the stop: method. It's fine to resume MiscTapper with run: after suspending it with stop:. Bugs: Note: |
Instance Variables |
NXSoundIn* | tapper_device; | |
NXRecordStream* | tapper_stream; | |
DPSTimedEntry | teNum; | |
int | tapper_load; | |
tapper_device | ![]() | |
tapper_stream | ![]() | |
teNum | ![]() | |
tapper_load | ![]() |
Method Types |
Creating and freeing instances | - init - free | |
Starting and Stopping the Tapper | - run: |
- stop: |
Instance Methods |
free |
- free |
Stops the MiscTapper, frees its sound device and stream, and frees the MiscTapper.
See also: - free (Object)
init |
- init |
Initializes the MiscTapper and generates its sound device and stream.
See also: - init (Object)
run: |
- run:sender |
Runs or resumes running the MiscTapper.
See also: - stop:
stop |
- stop:sender |
Stops or suspends the MiscTapper.
See also: - run: |