*参照元 [#h08f32bb]
#backlinks

*説明 [#odabdc87]
-パス: [[linux-2.6.33/sound/core/pcm_native.c]]

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


**引数 [#rbcb13ed]
-struct action_ops *ops
--
--[[linux-2.6.33/action_ops]]
-struct snd_pcm_substream *substream
--
--[[linux-2.6.33/snd_pcm_substream]]
-int state
--


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


**参考 [#z1b1de9d]


*実装 [#hc6579cb]
 /*
  *  Note: call with stream lock
  */
 static int snd_pcm_action_single(struct action_ops *ops,
 				 struct snd_pcm_substream *substream,
 				 int state)
 {
 	int res;
 	
 	res = ops->pre_action(substream, state);
 	if (res < 0)
 		return res;
 	res = ops->do_action(substream, state);
 	if (res == 0)
 		ops->post_action(substream, state);
 	else if (ops->undo_action)
 		ops->undo_action(substream, state);
 	return res;
 }


*コメント [#i853ac7f]


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