git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
Documentation
/
sound
/
alsa
/
hda_codec.txt
diff --git
a/Documentation/sound/alsa/hda_codec.txt
b/Documentation/sound/alsa/hda_codec.txt
index
e9d07b8
..
0be57ed
100644
(file)
--- a/
Documentation/sound/alsa/hda_codec.txt
+++ b/
Documentation/sound/alsa/hda_codec.txt
@@
-63,7
+63,7
@@
The bus instance is created via snd_hda_bus_new(). You need to pass
the card instance, the template, and the pointer to store the
resultant bus instance.
the card instance, the template, and the pointer to store the
resultant bus instance.
-int snd_hda_bus_new(s
nd_card_t
*card, const struct hda_bus_template *temp,
+int snd_hda_bus_new(s
truct snd_card
*card, const struct hda_bus_template *temp,
struct hda_bus **busp);
It returns zero if successful. A negative return value means any
struct hda_bus **busp);
It returns zero if successful. A negative return value means any
@@
-166,14
+166,14
@@
The ops field contains the following callback functions:
struct hda_pcm_ops {
int (*open)(struct hda_pcm_stream *info, struct hda_codec *codec,
struct hda_pcm_ops {
int (*open)(struct hda_pcm_stream *info, struct hda_codec *codec,
- s
nd_pcm_substream_t
*substream);
+ s
truct snd_pcm_substream
*substream);
int (*close)(struct hda_pcm_stream *info, struct hda_codec *codec,
int (*close)(struct hda_pcm_stream *info, struct hda_codec *codec,
- s
nd_pcm_substream_t
*substream);
+ s
truct snd_pcm_substream
*substream);
int (*prepare)(struct hda_pcm_stream *info, struct hda_codec *codec,
unsigned int stream_tag, unsigned int format,
int (*prepare)(struct hda_pcm_stream *info, struct hda_codec *codec,
unsigned int stream_tag, unsigned int format,
- s
nd_pcm_substream_t
*substream);
+ s
truct snd_pcm_substream
*substream);
int (*cleanup)(struct hda_pcm_stream *info, struct hda_codec *codec,
int (*cleanup)(struct hda_pcm_stream *info, struct hda_codec *codec,
- s
nd_pcm_substream_t
*substream);
+ s
truct snd_pcm_substream
*substream);
};
All are non-NULL, so you can call them safely without NULL check.
};
All are non-NULL, so you can call them safely without NULL check.
@@
-284,7
+284,7
@@
parameter, and PCI subsystem IDs. If the matching entry is found, it
returns the config field value.
snd_hda_add_new_ctls() can be used to create and add control entries.
returns the config field value.
snd_hda_add_new_ctls() can be used to create and add control entries.
-Pass the zero-terminated array of s
nd_kcontrol_new_t
. The same array
+Pass the zero-terminated array of s
truct snd_kcontrol_new
. The same array
can be passed to snd_hda_resume_ctls() for resume.
Note that this will call control->put callback of these entries. So,
put callback should check codec->in_resume and force to restore the
can be passed to snd_hda_resume_ctls() for resume.
Note that this will call control->put callback of these entries. So,
put callback should check codec->in_resume and force to restore the
@@
-292,7
+292,7
@@
given value if it's non-zero even if the value is identical with the
cached value.
Macros HDA_CODEC_VOLUME(), HDA_CODEC_MUTE() and their variables can be
cached value.
Macros HDA_CODEC_VOLUME(), HDA_CODEC_MUTE() and their variables can be
-used for the entry of s
nd_kcontrol_new_t
.
+used for the entry of s
truct snd_kcontrol_new
.
The input MUX helper callbacks for such a control are provided, too:
snd_hda_input_mux_info() and snd_hda_input_mux_put(). See
The input MUX helper callbacks for such a control are provided, too:
snd_hda_input_mux_info() and snd_hda_input_mux_put(). See