# Sample environment variables for people willing to use Mustajuuri.
# 
# Author: Tommi Ilmonen 2001
#

export OS=`uname -s`

if test $OS = IRIX64  ; then
  export OS=IRIX
fi

if test $OS = IRIX  ; then
  export MJPLATFORM=$OS-`uname -r`
else
  export MJPLATFORM=$OS-`uname -m`
fi


export MUSTAJUURI_PATH=/usr/local/projects/tilmonen/mustajuuri-current
export MUSTAJUURI_PLUGIN_PATH=$MUSTAJUURI_PATH/plugins/$MJPLATFORM/

export PATH=$MUSTAJUURI_PATH/bin/$MJPLATFORM/:$PATH
export LD_LIBRARY_PATH=$MUSTAJUURI_PATH/lib/$MJPLATFORM/:$LD_LIBRARY_PATH
export LD_LIBRARYN32_PATH=$MUSTAJUURI_PATH/lib/$MJPLATFORM/:$LD_LIBRARYN32_PATH

# If you are using IRIX, or you only have stereo sound card in your
# machine you can stop here.

# The next section is necessary if you have exotic hardware on your
# system. These examples relate to systems with ALSA-0.9 sound
# drivers, see Mustajuuri installation instructions for hints for
# other systems.

# Uncomment the following to use the first device as a stereo I/O
# device (For example SoundBlaster 128) and the second audio device in
# eight-channel -mode (for example MidiMan Delta66). Note that you
# cannot use them simultaneously unless the cards have their sample
# clocks synchoronized somehow (usually impossible - at least on
# Linux).

# export MJ_AUDIO_CONF="Input=2=hw:0,0|Output=2=hw:0,0|Input=8=hw:1,0|Output=8=hw:1,0"

# This is just for a system with a stereo card and one big audio card
# (RME 9632 for example)

# export MJ_AUDIO_CONF="Input=2=hw:0,0|Output=2=hw:0,0|Input=16=hw:1,0|Output=16=hw:1,0"


