*参照元 [#x09ef5ce]
#backlinks

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

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


**参考 [#yed188c5]


*実装 [#pb4d27a5]
 struct snd_pcm_substream {
 	struct snd_pcm *pcm;
-
--[[linux-2.6.33/snd_pcm]]

 	struct snd_pcm_str *pstr;
-
--[[linux-2.6.33/snd_pcm_str]]

 	void *private_data;		/* copied from pcm->private_data */
 	int number;
 	char name[32];			/* substream name */
 	int stream;			/* stream (direction) */
-PCM ストリームが再生方向(Playback)か、録音方向(Capture)か、を表す。
--[[linux-2.6.33/SNDRV_PCM_STREAM_PLAYBACK]]
--[[linux-2.6.33/SNDRV_PCM_STREAM_CAPTURE]]

 	char latency_id[20];		/* latency identifier */
 	size_t buffer_bytes_max;	/* limit ring buffer size */
 	struct snd_dma_buffer dma_buffer;
-
--[[linux-2.6.33/snd_dma_buffer]]

 	unsigned int dma_buf_id;
 	size_t dma_max;
 	/* -- hardware operations -- */
 	struct snd_pcm_ops *ops;
-
--[[linux-2.6.33/snd_pcm_ops]]

 	/* -- runtime information -- */
 	struct snd_pcm_runtime *runtime;
-
--[[linux-2.6.33/snd_pcm_runtime]]

         /* -- timer section -- */
 	struct snd_timer *timer;		/* timer */
-
--[[linux-2.6.33/snd_timer]]

 	unsigned timer_running: 1;	/* time is running */
 	/* -- next substream -- */
 	struct snd_pcm_substream *next;
 	/* -- linked substreams -- */
 	struct list_head link_list;	/* linked list member */
-
--[[linux-2.6.33/list_head]]

 	struct snd_pcm_group self_group;	/* fake group for non linked substream (with substream lock inside) */
-
--[[linux-2.6.33/snd_pcm_group]]

 	struct snd_pcm_group *group;		/* pointer to current group */
 	/* -- assigned files -- */
 	void *file;
 	int ref_count;
 	atomic_t mmap_count;
-
--[[linux-2.6.33/atomic_t]]

 	unsigned int f_flags;
 	void (*pcm_release)(struct snd_pcm_substream *);
 	struct pid *pid;
-
--[[linux-2.6.33/pid]]

 #if defined(CONFIG_SND_PCM_OSS) || defined(CONFIG_SND_PCM_OSS_MODULE)
-
--[[linux-2.6.33/CONFIG_SND_PCM_OSS]]
-
--[[linux-2.6.33/CONFIG_SND_PCM_OSS_MODULE]]

 	/* -- OSS things -- */
 	struct snd_pcm_oss_substream oss;
-
--[[linux-2.6.33/snd_pcm_oss_substream]]

 #endif
 #ifdef CONFIG_SND_VERBOSE_PROCFS
-
--[[linux-2.6.33/CONFIG_SND_VERBOSE_PROCFS]]

 	struct snd_info_entry *proc_root;
-
--[[linux-2.6.33/snd_info_entry]]

 	struct snd_info_entry *proc_info_entry;
 	struct snd_info_entry *proc_hw_params_entry;
 	struct snd_info_entry *proc_sw_params_entry;
 	struct snd_info_entry *proc_status_entry;
 	struct snd_info_entry *proc_prealloc_entry;
 	struct snd_info_entry *proc_prealloc_max_entry;
 #endif
 	/* misc flags */
 	unsigned int hw_opened: 1;
 };


*コメント [#ubc37c3c]

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