~ubuntu-branches/ubuntu/trusty/alsa-tools/trusty-proposed

« back to all changes in this revision

Viewing changes to .pc/manpage_spelling.patch/sb16_csp/cspctl.1

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2010-06-21 13:37:56 UTC
  • mfrom: (2.2.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100621133756-pchht2gfhd1qtwfo
Tags: 1.0.23-2ubuntu1
* Merge from debian unstable.  Remaining changes:
  - envy24control should use /sbin/alsactl
  - Vcs-Bzr uri
  - Use dh_installudev to install udev rules file

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH cspctl 1 "April 27, 2000"
 
2
.LO 1
 
3
.SH NAME
 
4
cspctl \- Sound Blaster 16 ASP/CSP control program
 
5
 
 
6
.SH SYNOPSIS
 
7
.B cspctl
 
8
command [\-options] <filename>
 
9
 
 
10
.SH DESCRIPTION
 
11
.B cspctl
 
12
is a simple CSP microcode loader for Crative Sound Blaster 16ASP and some Sound Blaster AWE32 sound cards with Creative Signal Processor (CSP) chip (CT1748A) installed.
 
13
.B cspctl
 
14
can also be used as a post-install function to
 
15
.I snd\-sb16\-csp
 
16
module to load default codec at module installation. If CSP chip is succesfully detected and initialized, it will be installed as a hardware dependant device
 
17
.I hwC0D2
 
18
into /dev/snd directory. Currently, following codecs can be loaded to CSP device:
 
19
.IP "" 4
 
20
.Sp
 
21
.nf
 
22
.ta \w'\fBwfm0000a.csp\fP  'u
 
23
\&\fBwfm0001a.csp\fP    QSound decoder
 
24
\&\fBwfm0006a.csp\fP    A\-law codec
 
25
\&\fBwfm0007a.csp\fP    u\-law codec
 
26
\&\fBwfm0011a.csp\fP    IMA ADPCM codec (distorted output for IMA test files)
 
27
\&\fBwfm0200a.csp\fP    Creative ADPCM codec (sounds like Intel/DVI IMA ADPCM compatible)
 
28
\&\fBwfm0202a.csp\fP    Fast Speech 8 codec
 
29
\&\fBwfm0203a.csp\fP    Fast Speech 10 codec
 
30
.Sp
 
31
.fi
 
32
.PP
 
33
These codecs are not yet supported by ALSA:
 
34
.IP "" 4
 
35
.ta \w'\fBwfm0000a.csp\fP  'u
 
36
\&\fBwfm0201a.csp\fP    Text2Speech decoder
 
37
.Sp
 
38
.fi
 
39
.PP
 
40
Qsound microcode file has
 
41
.B four functions,
 
42
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
 
43
.B two functions,
 
44
the first one is for capture and the second one is for playback. A\-law and u\-law codecs have only
 
45
.B one function.
 
46
To load for example function #2 from QSound microcode file (decoder for 22050Hz), run as follows:
 
47
.IP "" 4
 
48
% cspctl load \-f 2 \-d QSound wfm0001a.csp
 
49
.PP
 
50
After successful loading, /proc/asound/SB16/cspD2 will show:
 
51
.IP "" 4
 
52
.Sp
 
53
.nf
 
54
Creative Signal Processor [v1.0]
 
55
State: \-x\-\-L
 
56
Codec: QSound [func #2]
 
57
Sample rates: 22050Hz
 
58
QSound decoder disabled
 
59
.Sp
 
60
.fi
 
61
.PP
 
62
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
 
63
.I 3DEffect1\-space
 
64
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:
 
65
.IP "" 4
 
66
.Sp
 
67
.nf
 
68
Creative Signal Processor [v1.0]
 
69
State: Qx\-RL
 
70
Codec: QSound [func #2]
 
71
Sample rates: 22050Hz
 
72
QSound decoder enabled
 
73
Processing 16bit mono PCM samples
 
74
Qsound position: left = 0x9, right = 0x9
 
75
.Sp
 
76
.fi
 
77
.PP
 
78
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
 
79
.IP "" 4
 
80
% cspctl unload
 
81
.PP
 
82
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:
 
83
.IP "" 4
 
84
.Sp
 
85
.nf
 
86
Creative Signal Processor [v1.0]
 
87
State: \-x\-\-L
 
88
Codec: IMA\-ADPCM [func #2]
 
89
Sample rates: All
 
90
PCM format ID: 0x400000 (16bit/\-) [mono/stereo] [playback/\-]
 
91
.Sp
 
92
.fi
 
93
.PP
 
94
.SH COMMANDS
 
95
.TP
 
96
.B load
 
97
Load microcode from filename to CSP.
 
98
.TP
 
99
.B unload
 
100
Unload microcode from CSP.
 
101
.SH OPTIONS
 
102
.TP
 
103
.B \-h, \-\-help
 
104
Display a short help.
 
105
.TP
 
106
.B \-c card
 
107
Select a card number. Option defaults to 0.
 
108
.TP
 
109
.B \-f function
 
110
Select a function from microcode file. Option defaults to 1.
 
111
.TP
 
112
.B \-d description
 
113
Optional microcode description string.
 
114
 
 
115
.SH AUTHOR
 
116
Uros Bizjak <uros@kss\-loka.si>.
 
117
 
 
118
 
 
119
 
 
120
 
 
121