NeXtStep

Tracker 4.42

### 4.5.7: NeXtStep port

There used to be a problem with big endians/little endians machines. It should be solved these days. Look around in ``Arch/Next/audio.c`' for `SNDSwapSoundToHost`.

Please double-check that your machine does support audio output, as this is not the case with all NeXtStep machines.

In case you have a problem that is specific to the NeXtStep port, you might ask Rolf Grossman (see Credits).

The NeXTstep port of tracker was originally done on m68k hardware, but other people have tried it on the other NeXTStep platforms as well (and submitted patches when necessary ).

These are the main changes Rolf had to make, in case someone is interested:

- Added support for sgtty (``old'' BSD) style terminal settings to ``Arch/Unix/ui.c`'. Also cleaned this up and made it architecture independent. Verified that it works on Suns, too. See ``Arch/config.h.sample`' for the way to use it.
- Created a new variable `play_ahead` that tells how many buffer blocks are queued before waiting for the sound to actually play. The buffering is required to ensure continous play, even if the program is not running continously (like when you're actually working with the computer) the value could have been settable with a command line option, but this would be architecture dependent. Instead it uses the environment variable ``BUFFER_BLOCKS`' right now.
- Added call to `SNDSwapSoundToHost` before actually playing the sound, so it should work on NS/intel now.
- Thanks to recent changes to the ``Makefile`' it should even work with NeXT's native make (at least it does for Rolf).