*参照元 [#icf8d45e] #backlinks *説明 [#w800b22c] -パス: [[linux-4.4.1/include/sound/pcm.h]] -FIXME: これは何? --説明 **参考 [#vc81951a] *実装 [#l62bf94e] struct snd_pcm { struct snd_card *card; struct list_head list; - --[[linux-4.4.1/snd_card]] --[[linux-4.4.1/list_head]] int device; /* device number */ unsigned int info_flags; unsigned short dev_class; unsigned short dev_subclass; char id[64]; char name[80]; struct snd_pcm_str streams[2]; - --[[linux-4.4.1/snd_pcm_str]] struct mutex open_mutex; wait_queue_head_t open_wait; - --[[linux-4.4.1/mutex]] --[[linux-4.4.1/wait_queue_head_t]] void *private_data; void (*private_free) (struct snd_pcm *pcm); bool internal; /* pcm is for internal use only */ bool nonatomic; /* whole PCM operations are in non-atomic context */ #if defined(CONFIG_SND_PCM_OSS) || defined(CONFIG_SND_PCM_OSS_MODULE) - --[[linux-4.4.1/CONFIG_SND_PCM_OSS]] --[[linux-4.4.1/CONFIG_SND_PCM_OSS_MODULE]] struct snd_pcm_oss oss; - --[[linux-4.4.1/snd_pcm_oss]] #endif }; *コメント [#sfbbf6d3]