linux-2.6.33/snd_pcm_pre_stop()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#z3b91622]
#backlinks
*説明 [#oe887042]
-パス: [[linux-2.6.33/sound/core/pcm_native.c]]
-FIXME: これは何?
--説明
**引数 [#we2f2086]
-struct snd_pcm_substream *substream
--
--[[linux-2.6.33/snd_pcm_substream]]
-int state
--
**返り値 [#y2f4e971]
-int
--
**参考 [#ud5b230b]
*実装 [#c7746602]
/*
* stop callbacks
*/
static int snd_pcm_pre_stop(struct snd_pcm_substream *su...
{
struct snd_pcm_runtime *runtime = substream->runtime;
-
--[[linux-2.6.33/snd_pcm_runtime]]
if (runtime->status->state == SNDRV_PCM_STATE_OPEN)
return -EBADFD;
runtime->trigger_master = substream;
-
--[[linux-2.6.33/SNDRV_PCM_STATE_OPEN]]
return 0;
}
*コメント [#c7d275b7]
終了行:
*参照元 [#z3b91622]
#backlinks
*説明 [#oe887042]
-パス: [[linux-2.6.33/sound/core/pcm_native.c]]
-FIXME: これは何?
--説明
**引数 [#we2f2086]
-struct snd_pcm_substream *substream
--
--[[linux-2.6.33/snd_pcm_substream]]
-int state
--
**返り値 [#y2f4e971]
-int
--
**参考 [#ud5b230b]
*実装 [#c7746602]
/*
* stop callbacks
*/
static int snd_pcm_pre_stop(struct snd_pcm_substream *su...
{
struct snd_pcm_runtime *runtime = substream->runtime;
-
--[[linux-2.6.33/snd_pcm_runtime]]
if (runtime->status->state == SNDRV_PCM_STATE_OPEN)
return -EBADFD;
runtime->trigger_master = substream;
-
--[[linux-2.6.33/SNDRV_PCM_STATE_OPEN]]
return 0;
}
*コメント [#c7d275b7]
ページ名: