linux-2.6.33/snd_pcm_lib_read()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#kac84f13]
#backlinks
*説明 [#y0829127]
-パス: [[linux-2.6.33/sound/core/pcm_lib.c]]
-FIXME: これは何?
--説明
**引数 [#h1634526]
-struct snd_pcm_substream *substream
--
--[[linux-2.6.33/snd_pcm_substream]]
-void __user *buf
--
-snd_pcm_uframes_t size
--
--[[linux-2.6.33/snd_pcm_uframes_t]]
**返り値 [#rab38c26]
-snd_pcm_sframes_t
--
--[[linux-2.6.33/]]
**参考 [#qf0b6d82]
*実装 [#xe9f66a7]
snd_pcm_sframes_t snd_pcm_lib_read(struct snd_pcm_substr...
{
struct snd_pcm_runtime *runtime;
int nonblock;
int err;
-
--[[linux-2.6.33/snd_pcm_runtime]]
err = pcm_sanity_check(substream);
if (err < 0)
return err;
-
--[[linux-2.6.33/pcm_sanity_check()]]
runtime = substream->runtime;
nonblock = !!(substream->f_flags & O_NONBLOCK);
if (runtime->access != SNDRV_PCM_ACCESS_RW_INTERLEAVED)
return -EINVAL;
-
--[[linux-2.6.33/SNDRV_PCM_ACCESS_RW_INTERLEAVED]]
return snd_pcm_lib_read1(substream, (unsigned long)buf,...
-
--[[linux-2.6.33/snd_pcm_lib_read1()]]
-
--[[linux-2.6.33/snd_pcm_lib_read_transfer()]]
}
EXPORT_SYMBOL(snd_pcm_lib_read);
-ライセンスに関係なくシンボルを公開する。
--[[linux-2.6.33/EXPORT_SYMBOL()]]
*コメント [#x6277498]
終了行:
*参照元 [#kac84f13]
#backlinks
*説明 [#y0829127]
-パス: [[linux-2.6.33/sound/core/pcm_lib.c]]
-FIXME: これは何?
--説明
**引数 [#h1634526]
-struct snd_pcm_substream *substream
--
--[[linux-2.6.33/snd_pcm_substream]]
-void __user *buf
--
-snd_pcm_uframes_t size
--
--[[linux-2.6.33/snd_pcm_uframes_t]]
**返り値 [#rab38c26]
-snd_pcm_sframes_t
--
--[[linux-2.6.33/]]
**参考 [#qf0b6d82]
*実装 [#xe9f66a7]
snd_pcm_sframes_t snd_pcm_lib_read(struct snd_pcm_substr...
{
struct snd_pcm_runtime *runtime;
int nonblock;
int err;
-
--[[linux-2.6.33/snd_pcm_runtime]]
err = pcm_sanity_check(substream);
if (err < 0)
return err;
-
--[[linux-2.6.33/pcm_sanity_check()]]
runtime = substream->runtime;
nonblock = !!(substream->f_flags & O_NONBLOCK);
if (runtime->access != SNDRV_PCM_ACCESS_RW_INTERLEAVED)
return -EINVAL;
-
--[[linux-2.6.33/SNDRV_PCM_ACCESS_RW_INTERLEAVED]]
return snd_pcm_lib_read1(substream, (unsigned long)buf,...
-
--[[linux-2.6.33/snd_pcm_lib_read1()]]
-
--[[linux-2.6.33/snd_pcm_lib_read_transfer()]]
}
EXPORT_SYMBOL(snd_pcm_lib_read);
-ライセンスに関係なくシンボルを公開する。
--[[linux-2.6.33/EXPORT_SYMBOL()]]
*コメント [#x6277498]
ページ名: