Home | History | Annotate | Download | only in audio

Lines Matching defs:hw

32     HWVoiceOut hw;
37 HWVoiceIn hw;
41 static int no_run_out (HWVoiceOut *hw, int live)
43 NoVoiceOut *no = (NoVoiceOut *) hw;
51 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ());
53 samples = bytes >> hw->info.shift;
57 hw->rpos = (hw->rpos + decr) % hw->samples;
66 static int no_init_out (HWVoiceOut *hw, struct audsettings *as)
68 audio_pcm_init_info (&hw->info, as);
69 hw->samples = 1024;
73 static void no_fini_out (HWVoiceOut *hw)
75 (void) hw;
78 static int no_ctl_out (HWVoiceOut *hw, int cmd, ...)
80 (void) hw;
85 static int no_init_in (HWVoiceIn *hw, struct audsettings *as)
87 audio_pcm_init_info (&hw->info, as);
88 hw->samples = 1024;
92 static void no_fini_in (HWVoiceIn *hw)
94 (void) hw;
97 static int no_run_in (HWVoiceIn *hw)
99 NoVoiceIn *no = (NoVoiceIn *) hw;
100 int live = audio_pcm_hw_get_live_in (hw);
101 int dead = hw->samples - live;
108 muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ());
112 samples = bytes >> hw->info.shift;
121 int total = sw->hw->total_samples_captured - sw->total_hw_samples_acquired;
127 static int no_ctl_in (HWVoiceIn *hw, int cmd, ...)
129 (void) hw;