*参照元 [#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 *substream, int state) { 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_MSTOP, &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]