*参照元 [#mf362745] #backlinks *説明 [#xfa3de27] -パス: [[linux-2.6.33/sound/core/pcm_native.c]] -FIXME: これは何? --説明 **引数 [#y9552059] -struct snd_pcm_substream *substream -- --[[linux-2.6.33/snd_pcm_substream]] -int state -- **返り値 [#z8775ed1] -int -- **参考 [#z55af244] *実装 [#wb38fb8f] static int snd_pcm_do_stop(struct snd_pcm_substream *substream, int state) { if (substream->runtime->trigger_master == substream && snd_pcm_running(substream)) substream->ops->trigger(substream, SNDRV_PCM_TRIGGER_STOP); -substream->runtime は snd_pcm_runtime 型のメンバ --[[linux-2.6.33/snd_pcm_runtime]] -substream->ops は snd_pcm_ops 型のメンバ --[[linux-2.6.33/snd_pcm_ops]] - --[[linux-2.6.33/SNDRV_PCM_TRIGGER_STOP]] - --[[linux-2.6.33/snd_pcm_running()]] return 0; /* unconditonally stop all substreams */ } *コメント [#gf330dfd]