[Alsaplayer-commits] alsaplayer commit by cvs

Alsaplayer CVS alsaplayer-commits@lists.tartarus.org
Wed, 29 Dec 1999 04:59:03 +0100


CVSROOT:	/home/cvsroot/alsaplayer
Module name:	alsaplayer
Changes by:	cvs	99/12/29 04:59:02

Modified files:
	app            : AlsaNode.cpp AlsaNode.h CorePlayer.cpp Main.cpp 

Log message:
Hmm, these are the real changes for the -F (--frequency) flag. The previous
commit added a separate -d (--device) flag to specify the subchannel device
for the ALSA output plugin.

With this new -F flag you can for instance use AlsaPlayer on soundcards or
subchannel devices that don't support 44KHz sampling. The Trident 4DWave
NX SP/DIF PCM output device is one such example.  It only supports 32KHz
and 48KHz sampling rates. 44.1KHz requires an external crystal, whatever
that means. Since I now own a DTT2500 which is hooked up to the SP/DIF,
supporting this option is suddenly very important *grin*

Changes to AlsaNode include a boolean return value for SetSamplingRate and
SetStreamBuffer and the addition of the SamplingRate() function which returns
the current rate of the Node.