linux-2.6.33/snd_pcm_release_substream()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#ra38b131]
#backlinks
*説明 [#i5ec5d88]
-パス: [[linux-2.6.33/sound/core/pcm_native.c]]
-FIXME: これは何?
--説明
**引数 [#ia0eb606]
-struct snd_pcm_substream *substream
--
--[[linux-2.6.33/snd_pcm_substream]]
**返り値 [#gfaada2d]
-なし
**参考 [#wc8b2dcf]
*実装 [#q23511db]
void snd_pcm_release_substream(struct snd_pcm_substream ...
{
substream->ref_count--;
if (substream->ref_count > 0)
return;
snd_pcm_drop(substream);
-
--[[linux-2.6.33/snd_pcm_drop()]]
if (substream->hw_opened) {
if (substream->ops->hw_free != NULL)
substream->ops->hw_free(substream);
substream->ops->close(substream);
substream->hw_opened = 0;
}
if (substream->pcm_release) {
substream->pcm_release(substream);
substream->pcm_release = NULL;
}
snd_pcm_detach_substream(substream);
-
--[[linux-2.6.33/snd_pcm_detach_substream()]]
}
EXPORT_SYMBOL(snd_pcm_release_substream);
-ライセンスに関係なくシンボルを公開する。
--[[linux-2.6.33/EXPORT_SYMBOL()]]
*コメント [#n947d672]
終了行:
*参照元 [#ra38b131]
#backlinks
*説明 [#i5ec5d88]
-パス: [[linux-2.6.33/sound/core/pcm_native.c]]
-FIXME: これは何?
--説明
**引数 [#ia0eb606]
-struct snd_pcm_substream *substream
--
--[[linux-2.6.33/snd_pcm_substream]]
**返り値 [#gfaada2d]
-なし
**参考 [#wc8b2dcf]
*実装 [#q23511db]
void snd_pcm_release_substream(struct snd_pcm_substream ...
{
substream->ref_count--;
if (substream->ref_count > 0)
return;
snd_pcm_drop(substream);
-
--[[linux-2.6.33/snd_pcm_drop()]]
if (substream->hw_opened) {
if (substream->ops->hw_free != NULL)
substream->ops->hw_free(substream);
substream->ops->close(substream);
substream->hw_opened = 0;
}
if (substream->pcm_release) {
substream->pcm_release(substream);
substream->pcm_release = NULL;
}
snd_pcm_detach_substream(substream);
-
--[[linux-2.6.33/snd_pcm_detach_substream()]]
}
EXPORT_SYMBOL(snd_pcm_release_substream);
-ライセンスに関係なくシンボルを公開する。
--[[linux-2.6.33/EXPORT_SYMBOL()]]
*コメント [#n947d672]
ページ名: