linux-2.6.33/snd_pcm_post_stop()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#k15699c8]
#backlinks
*説明 [#id036cd3]
-パス: [[linux-2.6.33/sound/core/pcm_native.c]]
-FIXME: これは何?
--説明
**引数 [#p4fcf9ba]
-struct snd_pcm_substream *substream
--
--[[linux-2.6.33/snd_pcm_substream]]
-int state
--
**返り値 [#e515fb2c]
-なし
**参考 [#u0d486cf]
*実装 [#y3fdac36]
static void snd_pcm_post_stop(struct snd_pcm_substream *...
{
struct snd_pcm_runtime *runtime = substream->runtime;
-
--[[linux-2.6.33/snd_pcm_runtime]]
if (runtime->status->state != state) {
snd_pcm_trigger_tstamp(substream);
if (substream->timer)
snd_timer_notify(substream->timer, SNDRV_TIMER_EVENT_...
&runtime->trigger_tstamp);
runtime->status->state = state;
}
wake_up(&runtime->sleep);
-runtime->status は snd_pcm_mmap_status 型のメンバ
--[[linux-2.6.33/snd_pcm_mmap_status]]
-
--[[linux-2.6.33/snd_pcm_trigger_tstamp()]]
-
--[[linux-2.6.33/snd_timer_notify()]]
-
--[[linux-2.6.33/SNDRV_TIMER_EVENT_MSTOP]]
-
--[[linux-2.6.33/wake_up()]]
}
*コメント [#k29ec392]
終了行:
*参照元 [#k15699c8]
#backlinks
*説明 [#id036cd3]
-パス: [[linux-2.6.33/sound/core/pcm_native.c]]
-FIXME: これは何?
--説明
**引数 [#p4fcf9ba]
-struct snd_pcm_substream *substream
--
--[[linux-2.6.33/snd_pcm_substream]]
-int state
--
**返り値 [#e515fb2c]
-なし
**参考 [#u0d486cf]
*実装 [#y3fdac36]
static void snd_pcm_post_stop(struct snd_pcm_substream *...
{
struct snd_pcm_runtime *runtime = substream->runtime;
-
--[[linux-2.6.33/snd_pcm_runtime]]
if (runtime->status->state != state) {
snd_pcm_trigger_tstamp(substream);
if (substream->timer)
snd_timer_notify(substream->timer, SNDRV_TIMER_EVENT_...
&runtime->trigger_tstamp);
runtime->status->state = state;
}
wake_up(&runtime->sleep);
-runtime->status は snd_pcm_mmap_status 型のメンバ
--[[linux-2.6.33/snd_pcm_mmap_status]]
-
--[[linux-2.6.33/snd_pcm_trigger_tstamp()]]
-
--[[linux-2.6.33/snd_timer_notify()]]
-
--[[linux-2.6.33/SNDRV_TIMER_EVENT_MSTOP]]
-
--[[linux-2.6.33/wake_up()]]
}
*コメント [#k29ec392]
ページ名: