/external/qemu/audio/ |
D | audio_int.h | 71 typedef struct HWVoiceOut { struct 88 QLIST_ENTRY (HWVoiceOut) entries; argument 89 } HWVoiceOut; typedef 120 HWVoiceOut *hw; 158 int (*init_out)(HWVoiceOut *hw, struct audsettings *as); 159 void (*fini_out)(HWVoiceOut *hw); 160 int (*run_out) (HWVoiceOut *hw, int live); 162 int (*ctl_out) (HWVoiceOut *hw, int cmd, ...); 178 HWVoiceOut hw; 197 QLIST_HEAD (hw_out_listhead, HWVoiceOut) hw_head_out; [all …]
|
D | noaudio.c | 32 HWVoiceOut hw; 41 static int no_run_out (HWVoiceOut *hw, int live) in no_run_out() 66 static int no_init_out (HWVoiceOut *hw, struct audsettings *as) in no_init_out() 73 static void no_fini_out (HWVoiceOut *hw) in no_fini_out() 78 static int no_ctl_out (HWVoiceOut *hw, int cmd, ...) in no_ctl_out()
|
D | fmodaudio.c | 33 HWVoiceOut hw; 94 HWVoiceOut *hw = &fmd->hw; in fmod_clear_sample() 135 static void fmod_write_sample (HWVoiceOut *hw, uint8_t *dst, int dst_len) in fmod_write_sample() 227 static int fmod_run_out (HWVoiceOut *hw, int live) in fmod_run_out() 330 static void fmod_fini_out (HWVoiceOut *hw) in fmod_fini_out() 344 static int fmod_init_out (HWVoiceOut *hw, struct audsettings *as) in fmod_init_out() 382 static int fmod_ctl_out (HWVoiceOut *hw, int cmd, ...) in fmod_ctl_out()
|
D | wavaudio.c | 37 HWVoiceOut hw; 57 static int wav_out_run (HWVoiceOut *hw, int live) in wav_out_run() 116 static int wav_out_init (HWVoiceOut *hw, struct audsettings *as) in wav_out_init() 183 static void wav_out_fini (HWVoiceOut *hw) in wav_out_fini() 211 static int wav_out_ctl (HWVoiceOut *hw, int cmd, ...) in wav_out_ctl()
|
D | esdaudio.c | 71 HWVoiceOut hw; 117 HWVoiceOut *hw = &esd->hw; in qesd_thread_out() 198 static int qesd_run_out (HWVoiceOut *hw, int live) in qesd_run_out() 225 static int qesd_init_out (HWVoiceOut *hw, struct audsettings *as) in qesd_init_out() 292 static void qesd_fini_out (HWVoiceOut *hw) in qesd_fini_out() 315 static int qesd_ctl_out (HWVoiceOut *hw, int cmd, ...) in qesd_ctl_out()
|
D | paaudio.c | 44 HWVoiceOut hw; 90 HWVoiceOut *hw = &pa->hw; in qpa_thread_out() 154 static int qpa_run_out (HWVoiceOut *hw, int live) in qpa_run_out() 325 static int qpa_init_out (HWVoiceOut *hw, struct audsettings *as) in qpa_init_out() 433 static void qpa_fini_out (HWVoiceOut *hw) in qpa_fini_out() 473 static int qpa_ctl_out (HWVoiceOut *hw, int cmd, ...) in qpa_ctl_out()
|
D | coreaudio.c | 458 HWVoiceOut hw; 465 static int coreaudio_run_out (HWVoiceOut *hw, int live) in coreaudio_run_out() 503 HWVoiceOut *hw = hwptr; in audioOutDeviceIOProc() 562 static int coreaudio_init_out (HWVoiceOut *hw, struct audsettings *as) in coreaudio_init_out() 577 static void coreaudio_fini_out (HWVoiceOut *hw) in coreaudio_fini_out() 585 coreaudio_ctl_out (HWVoiceOut *hw, int cmd, ...) in coreaudio_ctl_out()
|
D | ossaudio.c | 46 HWVoiceOut hw; 145 static int oss_poll_out (HWVoiceOut *hw) in oss_poll_out() 386 HWVoiceOut *hw = &oss->hw; in oss_write_pending() 424 static int oss_run_out (HWVoiceOut *hw, int live) in oss_run_out() 484 static void oss_fini_out (HWVoiceOut *hw) in oss_fini_out() 507 static int oss_init_out (HWVoiceOut *hw, struct audsettings *as) in oss_init_out() 615 static int oss_ctl_out (HWVoiceOut *hw, int cmd, ...) in oss_ctl_out()
|
D | audio.c | 850 HWVoiceOut *hw = &cap->hw; in audio_recalc_and_notify_capture() 863 static void audio_detach_capture (HWVoiceOut *hw) in audio_detach_capture() 891 static int audio_attach_capture (HWVoiceOut *hw) in audio_attach_capture() 900 HWVoiceOut *hw_cap = &cap->hw; in audio_attach_capture() 963 int audio_pcm_hw_clip_out (HWVoiceOut *hw, void *pcm_buf, in audio_pcm_hw_clip_out() 1064 static int audio_pcm_hw_find_min_out (HWVoiceOut *hw, int *nb_livep) in audio_pcm_hw_find_min_out() 1081 static int audio_pcm_hw_get_live_out (HWVoiceOut *hw, int *nb_live) in audio_pcm_hw_get_live_out() 1237 HWVoiceOut *hwo = NULL; in audio_is_timer_needed() 1306 HWVoiceOut *hw; in AUD_set_active_out() 1441 static void audio_capture_mix_and_clear (HWVoiceOut *hw, int rpos, int samples) in audio_capture_mix_and_clear() [all …]
|
D | winaudio.c | 91 HWVoiceOut hw; 128 winaudio_out_fini (HWVoiceOut *hw) in winaudio_out_fini() 159 winaudio_out_init (HWVoiceOut *hw, struct audsettings *as) in winaudio_out_init() 254 winaudio_out_run (HWVoiceOut *hw, int live) in winaudio_out_run() 321 winaudio_out_ctl (HWVoiceOut *hw, int cmd, ...) in winaudio_out_ctl()
|
D | dsoundaudio.c | 76 HWVoiceOut hw; 352 static void dsound_write_sample (HWVoiceOut *hw, uint8_t *dst, int dst_len) in dsound_write_sample() 379 static void dsound_clear_sample (HWVoiceOut *hw, LPDIRECTSOUNDBUFFER dsb) in dsound_clear_sample() 511 static int dsound_ctl_out (HWVoiceOut *hw, int cmd, ...) in dsound_ctl_out() 568 static int dsound_run_out (HWVoiceOut *hw, int live) in dsound_run_out()
|
D | dsound_template.h | 152 static void dsound_fini_out (HWVoiceOut *hw) in dsound_fini_in() 179 static int dsound_init_out (HWVoiceOut *hw, struct audsettings *as) in dsound_init_in()
|
D | alsaaudio.c | 116 HWVoiceOut hw; 374 static int alsa_poll_out (HWVoiceOut *hw) in alsa_poll_out() 784 HWVoiceOut *hw = &alsa->hw; in alsa_write_pending() 845 static int alsa_run_out (HWVoiceOut *hw, int live) in alsa_run_out() 864 static void alsa_fini_out (HWVoiceOut *hw) in alsa_fini_out() 877 static int alsa_init_out (HWVoiceOut *hw, struct audsettings *as) in alsa_init_out() 952 static int alsa_ctl_out (HWVoiceOut *hw, int cmd, ...) in alsa_ctl_out()
|
D | audio_template.h | 29 #define HW HWVoiceOut
|
/external/qemu/docs/ |
D | AUDIO.TXT | 10 HWVoiceOut: models an audio output (backend) on the host. 25 Each SWVoiceOut is associated to a single HWVoiceOut, each SWVoiceIn is 28 However you can have several SWVoiceOut associated to the same HWVoiceOut 34 Each HWVoiceOut has the following too: 79 copy/mix them to the corresponding HWVoiceOut's stereo buffer. 82 already been mixed into the target HWVoiceOut stereo buffer (starting from the 83 HWVoiceOut's 'rpos' offset). NOTE: this is a count of samples in the HWVoiceOut 104 | HWVoiceOut stereo buffer 108 - a 'ratio' value, which is the ratio of the target HWVoiceOut's frequency by 111 So, if the HWVoiceOut has a frequency of 44kHz, and the SWVoiceOut has a frequency [all …]
|