is a simple CSP microcode loader for Creative Sound Blaster 16ASP and some Sound Blaster AWE32 sound cards with Creative Signal Processor (CSP) chip (CT1748A) installed.
module to load default codec at module installation. If CSP chip is successfully detected and initialized, it will be installed as a hardware dependent device
into /dev/snd directory. Currently, following codecs can be loaded to CSP device:
.IP""4
.Sp
.nf
.ta\w'\fBwfm0000a.csp\fP'u
\&\fBwfm0001a.csp\fP QSound decoder
\&\fBwfm0006a.csp\fP A\-law codec
\&\fBwfm0007a.csp\fP u\-law codec
\&\fBwfm0011a.csp\fP IMA ADPCM codec (distorted output for IMA test files)
\&\fBwfm0200a.csp\fP Creative ADPCM codec (sounds like Intel/DVI IMA ADPCM compatible)
\&\fBwfm0202a.csp\fP Fast Speech 8 codec
\&\fBwfm0203a.csp\fP Fast Speech 10 codec
.Sp
.fi
.PP
These codecs are not yet supported by ALSA:
.IP""4
.ta\w'\fBwfm0000a.csp\fP'u
\&\fBwfm0201a.csp\fP Text2Speech decoder
.Sp
.fi
.PP
Qsound microcode file has
.Bfourfunctions,
each function is a decoder for different sample rate. Rates for QSound functions #1, #2, #3 and #4 are 44100, 22050, 11025 and 8000Hz respectively. IMA ADPCM and FastSpeech codecs are formed of
.Btwofunctions,
the first one is for capture and the second one is for playback. A\-law and u\-law codecs have only
.Bonefunction.
To load for example function #2 from QSound microcode file (decoder for 22050Hz), run as follows:
With QSound decoder microcode loaded, all simple PCM file formats can be played with QSound 180 degree positioning applied. QSound element is dynamically added into mixer structure as
.I3DEffect1\-space
element. It will only show if support for CSP has been compiled into ALSA drivers, CSP chip has been found, and QSound codec is loaded into CSP. When enabled, QSound position can be dynamically changed by mixer slider, and proc interface should follow the state of CSP chip and its current QSound position:
Driver supports autoloading of u\-Law, A\-Law and Ima\-ADPCM hardware codecs. Autoloading is active only when there is no microcode loaded to CSP, and there is no need to preload appropriate *.csp files. To unload manually loaded microcode, you should run
.IP""4
% cspctl unload
.PP
If hardware codec microcode has been manually loaded, then CSP will support only loaded PCM format and autoloading will be disabled. In such case, proc interface will show loaded codec properties: