linux-2.6.33/snd_soc_set_runtime_hwparams()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#zaeb3b10]
#backlinks
*説明 [#f93d1f63]
-パス: [[linux-2.6.33/sound/soc/soc-core.c]]
-FIXME: これは何?
--説明
**引数 [#a6d7ec11]
-struct snd_pcm_substream *substream
--
--[[linux-2.6.33/snd_pcm_substream]]
-const struct snd_pcm_hardware *hw
--
--[[linux-2.6.33/snd_pcm_hardware]]
**返り値 [#f3758b2c]
-int
--成功ならば 0、エラーならば 0 以外を返す。
--現状の実装では必ず成功する。
**参考 [#gbd054df]
*実装 [#p304d9cb]
/**
* snd_soc_set_runtime_hwparams - set the runtime hardwa...
* @substream: the pcm substream
* @hw: the hardware parameters
*
* Sets the substream runtime hardware parameters.
*/
int snd_soc_set_runtime_hwparams(struct snd_pcm_substrea...
const struct snd_pcm_hardware *hw)
{
struct snd_pcm_runtime *runtime = substream->runtime;
-
--[[linux-2.6.33/snd_pcm_runtime]]
runtime->hw.info = hw->info;
runtime->hw.formats = hw->formats;
runtime->hw.period_bytes_min = hw->period_bytes_min;
runtime->hw.period_bytes_max = hw->period_bytes_max;
runtime->hw.periods_min = hw->periods_min;
runtime->hw.periods_max = hw->periods_max;
runtime->hw.buffer_bytes_max = hw->buffer_bytes_max;
runtime->hw.fifo_size = hw->fifo_size;
return 0;
}
EXPORT_SYMBOL_GPL(snd_soc_set_runtime_hwparams);
-GPL のモジュールにのみシンボルを公開する。
--[[linux-2.6.33/EXPORT_SYMBOL_GPL()]]
*コメント [#l051790c]
終了行:
*参照元 [#zaeb3b10]
#backlinks
*説明 [#f93d1f63]
-パス: [[linux-2.6.33/sound/soc/soc-core.c]]
-FIXME: これは何?
--説明
**引数 [#a6d7ec11]
-struct snd_pcm_substream *substream
--
--[[linux-2.6.33/snd_pcm_substream]]
-const struct snd_pcm_hardware *hw
--
--[[linux-2.6.33/snd_pcm_hardware]]
**返り値 [#f3758b2c]
-int
--成功ならば 0、エラーならば 0 以外を返す。
--現状の実装では必ず成功する。
**参考 [#gbd054df]
*実装 [#p304d9cb]
/**
* snd_soc_set_runtime_hwparams - set the runtime hardwa...
* @substream: the pcm substream
* @hw: the hardware parameters
*
* Sets the substream runtime hardware parameters.
*/
int snd_soc_set_runtime_hwparams(struct snd_pcm_substrea...
const struct snd_pcm_hardware *hw)
{
struct snd_pcm_runtime *runtime = substream->runtime;
-
--[[linux-2.6.33/snd_pcm_runtime]]
runtime->hw.info = hw->info;
runtime->hw.formats = hw->formats;
runtime->hw.period_bytes_min = hw->period_bytes_min;
runtime->hw.period_bytes_max = hw->period_bytes_max;
runtime->hw.periods_min = hw->periods_min;
runtime->hw.periods_max = hw->periods_max;
runtime->hw.buffer_bytes_max = hw->buffer_bytes_max;
runtime->hw.fifo_size = hw->fifo_size;
return 0;
}
EXPORT_SYMBOL_GPL(snd_soc_set_runtime_hwparams);
-GPL のモジュールにのみシンボルを公開する。
--[[linux-2.6.33/EXPORT_SYMBOL_GPL()]]
*コメント [#l051790c]
ページ名: