• Home
  • Raw
  • Download

Lines Matching defs:snd_pcm_runtime

351 struct snd_pcm_runtime {  struct
353 struct snd_pcm_substream *trigger_master;
354 struct timespec trigger_tstamp; /* trigger timestamp */
355 bool trigger_tstamp_latched; /* trigger timestamp latched in low-level driver/hardware */
356 int overrange;
357 snd_pcm_uframes_t avail_max;
358 snd_pcm_uframes_t hw_ptr_base; /* Position at buffer restart */
359 snd_pcm_uframes_t hw_ptr_interrupt; /* Position at interrupt time */
360 unsigned long hw_ptr_jiffies; /* Time when hw_ptr is updated */
361 unsigned long hw_ptr_buffer_jiffies; /* buffer time in jiffies */
362 snd_pcm_sframes_t delay; /* extra delay; typically FIFO size */
363 u64 hw_ptr_wrap; /* offset for hw_ptr due to boundary wrap-around */
366 snd_pcm_access_t access; /* access mode */
367 snd_pcm_format_t format; /* SNDRV_PCM_FORMAT_* */
368 snd_pcm_subformat_t subformat; /* subformat */
369 unsigned int rate; /* rate in Hz */
370 unsigned int channels; /* channels */
371 snd_pcm_uframes_t period_size; /* period size */
372 unsigned int periods; /* periods */
373 snd_pcm_uframes_t buffer_size; /* buffer size */
374 snd_pcm_uframes_t min_align; /* Min alignment for the format */
375 size_t byte_align;
376 unsigned int frame_bits;
377 unsigned int sample_bits;
378 unsigned int info;
379 unsigned int rate_num;
380 unsigned int rate_den;
381 unsigned int no_period_wakeup: 1;
384 int tstamp_mode; /* mmap timestamp is updated */
385 unsigned int period_step;
386 snd_pcm_uframes_t start_threshold;
410 void (*private_free)(struct snd_pcm_runtime *runtime); argument
413 struct snd_pcm_hardware hw;
414 struct snd_pcm_hw_constraints hw_constraints;
417 unsigned int timer_resolution; /* timer resolution */
418 int tstamp_type; /* timestamp type */
421 unsigned char *dma_area; /* DMA area */
422 dma_addr_t dma_addr; /* physical bus address (not accessible from main CPU) */
423 size_t dma_bytes; /* size of DMA area */
425 struct snd_dma_buffer *dma_buffer_p; /* allocated buffer */
428 struct snd_pcm_audio_tstamp_config audio_tstamp_config;
429 struct snd_pcm_audio_tstamp_report audio_tstamp_report;
430 struct timespec driver_tstamp;
434 struct snd_pcm_oss_runtime oss;