!
! @(#)common.cfg	6.18 96/01/10
!
! Common configuration file
!
!   xmcd  - Motif(tm) CD Audio Player
!   cda   - Command-line CD Audio Player
!   libdi - CD Audio Player Device Interface Library
!
!   Copyright (C) 1993-1996  Ti Kan
!   E-mail: ti@amb.org
!
!   This program is free software; you can redistribute it and/or modify
!   it under the terms of the GNU General Public License as published by
!   the Free Software Foundation; either version 2 of the License, or
!   (at your option) any later version.
!
!   This program is distributed in the hope that it will be useful,
!   but WITHOUT ANY WARRANTY; without even the implied warranty of
!   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
!   GNU General Public License for more details.
!
!   You should have received a copy of the GNU General Public License
!   along with this program; if not, write to the Free Software
!   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! Install this file as LIBDIR/config/common.cfg.  LIBDIR is the
! XMcd.libdir X resource (or XMCD_LIBDIR env variable).
!
! Users can also override these parameters by specifying them
! in an optional $HOME/.xmcdcfg/common.cfg file.
!

!*
!* CD-player behavior control resources
!*
!* You may want to modify these parameters to suit your set-up.
!*
!* Unless otherwise marked, these parameters are used by both the cda
!* and xmcd utilities.
!*
!* In parameters below that specifies audio blocks, each audio block is
!* 1/75 second of playback time.
!*
!* Note that all msec time parameters used below are subject to the
!* resolution of your system software timer as provided in the
!* XtAppAddTimeOut() library call.
!*

! Default device to open for the CD-ROM player interface
!
! Examples:
! /dev/scsi/3			(Apple A/UX, SCSI ID 3)
! /dev/scsi/scsi(ncsc@7(FFFB0000,7),2,0)	(DG/UX, SCSI ID 2, LUN 0)
! /dev/rrz4c			(Digital Ultrix and OSF/1)
! /dev/rcd0c			(FreeBSD)
! /dev/rdsk/c201d4s0		(HP-UX 9.x, SCSI ID 4)
! /dev/rdsk/c0t4d0		(HP-UX 10.x, SCSI ID 4)
! /dev/rcd0			(IBM AIX)
! /dev/sr0			(Linux)
! /dev/rcd0d			(NetBSD)
! /dev/rcd0c			(NetBSD/sparc)
! /dev/rcd0			(SCO ODT)
! /dev/scsi/sc0d3l0		(SGI IRIX, controller 0, SCSI ID 3, LUN 0)
! /dev/ios0/rsdisk005s0		(SNI SINIX)
! /dev/rsd06c			(Sony NEWS-OS)
! /dev/rcdrom/c4a1d5		(Stratus FTX SVR4, slot 4, bus 1, SCSI ID 5)
! /dev/rsr0			(SunOS 4.x)
! /dev/rdsk/c0t6d0s0		(SunOS 5.x w/o Solaris Volume Manager)
! /vol/dev/aliases/cdrom	(SunOS 5.x w/ Solaris Volume Manager)
! /dev/rcdrom/cd0		(UNIX SVR4.0/x86)
! /dev/rcdrom/cdrom1		(UNIX SVR4.2/x86, SVR4.2MP/x86)
! /dev/rdsk/m187_c0d3s7		(UNIX SVR4.0/88k, m187 controller 0, SCSI ID 3)
! DKA500:			(Digital OpenVMS)
! 
device:				/vol/dev/aliases/cdrom0

! CD database search path.  Items are separated by a semi-colon ';'
! character.  Each item can be:
!	- An absolute directory path.  Tilde expansion '~' is supported.
!	  Examples:
!		/usr/local/lib/cddb/classical
!		~john/cddb/jazz
!		~/mycddb/rock
!	- A relative directory path (which is taken to be relative
!	  to the LIBDIR/xmcd/cddb directory)
!	  Examples:
!		blues
!		reggae
!		soundtrack
!	- A remote CD database server (syntax: @hostname[:port])
!	  Examples:
!		@cddbsrv.xyz.com
!		@cddbsrv.xyz.com:888
!		@127.0.0.1
!
! (The XMCD_CDDBPATH environment variable overrides this)
cddbPath: rock;jazz;blues;newage;classical;reggae;folk;country;soundtrack;misc;data;@sunsite.unc.edu;@cddb.dartmouth.edu;@cddb.netads.com;@cddb.sonic.net;@cddb.moonsoft.com;@cddb.celestial.com

! CD database file permissions
cddbFileMode:		0664

! Remote CD database default port number
cddbDefaultPort:	888

! Remote CD database timeout interval (seconds).  An attempt to connect
! to a remote CDDB server will be aborted if the server does not respond
! in this time interval.  You may need to increase this limit if the
! CDDB server is on a slow network link to your host (such as an on-demand
! dial-up PPP or SLIP connection).
cddbTimeOut:		20

! Play status poll interval during audio playback. (msec)
! This should be less than 500 to get satisfactory display update
! response.
! (xmcd only)
statusPollInterval:	260

! If no disc, poll interval for disc insertion (msec)
! (xmcd only)
insertPollInterval:	4000

! When previous track/index button pressed, if this number of audio blocks
! has been played in the current track/index, then playback will start from
! the beginning of the current track/index instead of the previous one.
! (xmcd only)
previousThreshold:	100

! During FF/REW search operations, the number of audio blocks to skip
! to the next audible sample
! (xmcd only)
searchSkipBlocks:	145

! During FF/REW search operations, the amount of time to pause between
! each audio sample (msec)
! (xmcd only)
searchPauseInterval:	55

! During FF/REW search operations, after this many audio samples the
! search speed will be tripled (i.e., the searchSkipBlocks parameter is
! internally multiplied by 3).  If this parameter is set to 0, then
! no speedup will occur.
! (xmcd only)
searchSpeedUpCount:	15

! During FF/REW search operations, the percentage of the current normal
! playback volume to be used for audio samples.  This is used only if
! the volumeControlSupport device specific parameter is set to True.
! (xmcd only)
searchVolumePercent:	35

! During FF/REW search operations, the minimum volume setting for audio
! samples.  This is used only if the volumeControlSupport device specific
! parameter is set to True.
! (xmcd only)
searchMinVolume:	2

! During Sample playback operations, the number of audio blocks to play
! in each track.
! (xmcd only)
sampleBlocks:		750

! Whether Solaris 2.x Volume Manager is running.  This is used only
! on the SunOS 5.x/Solaris 2.x platform with the Volume Manager.
solaris2VolumeManager:	True

! Whether error messages are output to stderr when xmcd encounters
! errors when delivering commands to the CD-ROM drive.  You should
! only set this to False if you have a non SCSI-2 compliant CD-ROM
! drive that causes xmcd to display lots of error messages.
showScsiErrMsg:		True

! Whether verbose debug diagnostics should be generated on stderr.
debugMode:		False

