*参照元 [#q5d03968]
#backlinks

*説明 [#hea7daee]
-パス: [[linux-2.6.33/include/sound/pcm.h]]

-FIXME: これは何?
--説明


**引数 [#df389ef5]
-struct snd_pcm_substream *substream
--
--[[linux-2.6.33/snd_pcm_substream]]


**返り値 [#t32280e1]
-int
--


**参考 [#p9be0167]


*実装 [#b5678957]
 static inline int snd_pcm_running(struct snd_pcm_substream *substream)
 {
 	return (substream->runtime->status->state == SNDRV_PCM_STATE_RUNNING ||
 		(substream->runtime->status->state == SNDRV_PCM_STATE_DRAINING &&
 		 substream->stream == SNDRV_PCM_STREAM_PLAYBACK));
-
--substream->runtime は snd_pcm_runtime 型のメンバ
--[[linux-2.6.33/snd_pcm_runtime]]
-
--[[linux-2.6.33/SNDRV_PCM_STATE_RUNNING]]
-
--[[linux-2.6.33/SNDRV_PCM_STATE_DRAINING]]
-
--[[linux-2.6.33/SNDRV_PCM_STREAM_PLAYBACK]]

 }


*コメント [#sf9c63ee]


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS