*参照元 [#t9f6200d] #backlinks *説明 [#idc95343] -パス: [[linux-2.6.33/sound/core/pcm_lib.c]] -FIXME: これは何? --説明 **引数 [#l0ab7799] -struct snd_pcm_substream *substream -- --[[linux-2.6.33/snd_pcm_substream]] **返り値 [#ca09d550] -なし **参考 [#n4b8f462] *実装 [#i4f04ff3] static void xrun(struct snd_pcm_substream *substream) { struct snd_pcm_runtime *runtime = substream->runtime; - --[[linux-2.6.33/snd_pcm_runtime]] if (runtime->tstamp_mode == SNDRV_PCM_TSTAMP_ENABLE) snd_pcm_gettime(runtime, (struct timespec *)&runtime->status->tstamp); - --[[linux-2.6.33/SNDRV_PCM_TSTAMP_ENABLE]] - --[[linux-2.6.33/snd_pcm_gettime()]] - --[[linux-2.6.33/timespec]] snd_pcm_stop(substream, SNDRV_PCM_STATE_XRUN); if (xrun_debug(substream, 1)) { char name[16]; pcm_debug_name(substream, name, sizeof(name)); snd_printd(KERN_DEBUG "XRUN: %s\n", name); dump_stack_on_xrun(substream); } - --[[linux-2.6.33/snd_pcm_stop()]] - --[[linux-2.6.33/SNDRV_PCM_STATE_XRUN]] - --[[linux-2.6.33/xrun_debug()]] - --[[linux-2.6.33/pcm_debug_name()]] - --[[linux-2.6.33/snd_printd()]] - --[[linux-2.6.33/dump_stack_on_xrun()]] } *コメント [#r40c3e98]