# ##############################################################################
#
# YIFF Sound Server Configuration File
#
# Generated by YIFF Configuration Wizard 2.06
#


# Configuration file version:
#
VersionMajor = 2
VersionMinor = 6


# Listening port number:
#
Port = 9433


# Refresh interval (in microseconds):
#
RefreshInterval = 30000000


# Audio device:
#
Device = /dev/dsp


# Mixer device:
#
Mixer = /dev/mixer


# Command to execute to play an MIDI Sound Object (a .mid file). Since
# MIDI implmentation is still under development on most platforms, you
# will need to consult your sound driver documentation on the proper
# procedure to play .mid files.
#
# Known MIDI playing implmentations are:
#
#    ALSA drivers uses the `pmidi' driver program.
#    OSS drivers uses the `drvmidi' driver program.
#    Other possible programs include `playmidi'.
#
# The following substitutions will be made to the command:
#
#    %f         Full path to the MIDI Sound Object on file.
#
MIDIPlayCommand = /usr/bin/pmidi -p 65:0 %f


# ##############################################################################
#
# Preset Audio modes:
#
# All timming values are in microseconds unless noted otherwise. Values for
# FragmentSize are in values of 2^n, where n is a value from 8 to 14 (some
# Sound drivers may have greater restrictions on the value of n, please read
# the documentation that pertains to your Sound driver).
#

# Default mode, this must be defined and should be the first entry.
# YIFF will start up running in this mode.
#
BeginAudioMode
    Name = Default
    Cycle = 30000
    WriteAhead = 45000
    SampleSize = 8
    Channels = 1
    SampleRate = 11025
    AllowFragmenting = yes
    Fragments = 2
    FragmentSize = 512
    FlipStereo = no
    Direction = Play
EndAudioMode

BeginAudioMode
    Name = PlayMono8000
    Cycle = 42000
    WriteAhead = 63000
    SampleSize = 8
    Channels = 1
    SampleRate = 8000
    AllowFragmenting = yes
    Fragments = 2
    FragmentSize = 512
    FlipStereo = no
    Direction = Play
EndAudioMode

BeginAudioMode
    Name = PlayStereo8000
    Cycle = 42000
    WriteAhead = 63000
    SampleSize = 8
    Channels = 2
    SampleRate = 8000
    AllowFragmenting = yes
    Fragments = 2
    FragmentSize = 1024
    FlipStereo = no
    Direction = Play
EndAudioMode

BeginAudioMode
    Name = PlayMono11025
    Cycle = 30000
    WriteAhead = 45000
    SampleSize = 8
    Channels = 1
    SampleRate = 11025
    AllowFragmenting = yes
    Fragments = 2
    FragmentSize = 512
    FlipStereo = no
    Direction = Play
EndAudioMode

BeginAudioMode
    Name = PlayStereo11025
    Cycle = 30000
    WriteAhead = 45000
    SampleSize = 8
    Channels = 2
    SampleRate = 11025
    AllowFragmenting = yes
    Fragments = 2
    FragmentSize = 1024
    FlipStereo = no
    Direction = Play
EndAudioMode

BeginAudioMode
    Name = PlayMono22050
    Cycle = 30000
    WriteAhead = 45000
    SampleSize = 8
    Channels = 1
    SampleRate = 22050
    AllowFragmenting = yes
    Fragments = 2
    FragmentSize = 1024
    FlipStereo = no
    Direction = Play
EndAudioMode

BeginAudioMode
    Name = PlayStereo22050
    Cycle = 30000
    WriteAhead = 45000
    SampleSize = 8
    Channels = 2
    SampleRate = 22050
    AllowFragmenting = yes
    Fragments = 2
    FragmentSize = 2048
    FlipStereo = no
    Direction = Play
EndAudioMode

BeginAudioMode
    Name = PlayMono44100
    Cycle = 30000
    WriteAhead = 45000
    SampleSize = 8
    Channels = 1
    SampleRate = 44100
    AllowFragmenting = yes
    Fragments = 2
    FragmentSize = 2048
    FlipStereo = no
    Direction = Play
EndAudioMode

BeginAudioMode
    Name = PlayStereo44100
    Cycle = 30000
    WriteAhead = 46000
    SampleSize = 8
    Channels = 2
    SampleRate = 44100
    AllowFragmenting = yes
    Fragments = 2
    FragmentSize = 4096
    FlipStereo = no
    Direction = Play
EndAudioMode


# ##############################################################################
#
# Sound Paths:
#
# Sound Objects who's paths are not absolute are searched through these
# Sound Paths (directories).
#
# You may specify as many Sound Paths as you wish, keep in mind that the
# Sound Paths are searched through in the order from first to last.
#

BeginSoundPath
    Path = /usr/share
EndSoundPath

BeginSoundPath
    Path = /usr/share/sounds
EndSoundPath

BeginSoundPath
    Path = /tmp
EndSoundPath


#
# End of file.
# ##############################################################################
