/openbmc/qemu/audio/ |
H A D | audio_int.h | 85 typedef struct HWVoiceIn { struct 103 QLIST_ENTRY (HWVoiceIn) entries; argument 104 } HWVoiceIn; typedef 132 HWVoiceIn *hw; 181 void (*fini_in) (HWVoiceIn *hw); 183 void (*run_buffer_in)(HWVoiceIn *hw); 184 void *(*get_buffer_in)(HWVoiceIn *hw, size_t *size); 186 void (*enable_in)(HWVoiceIn *hw, bool enable); 187 void (*volume_in)(HWVoiceIn *hw, Volume *vol); 190 void audio_generic_run_buffer_in(HWVoiceIn *hw); [all …]
|
H A D | noaudio.c | 40 HWVoiceIn hw; 74 static int no_init_in(HWVoiceIn *hw, struct audsettings *as, void *drv_opaque) in no_init_in() 84 static void no_fini_in (HWVoiceIn *hw) in no_fini_in() 89 static size_t no_read(HWVoiceIn *hw, void *buf, size_t size) in no_read() 98 static void no_enable_in(HWVoiceIn *hw, bool enable) in no_enable_in()
|
H A D | spiceaudio.c | 55 HWVoiceIn hw; 209 static int line_in_init(HWVoiceIn *hw, struct audsettings *as, void *drv_opaque) in line_in_init() 235 static void line_in_fini (HWVoiceIn *hw) in line_in_fini() 242 static size_t line_in_read(HWVoiceIn *hw, void *buf, size_t len) in line_in_read() 260 static void line_in_enable(HWVoiceIn *hw, bool enable) in line_in_enable() 281 static void line_in_volume(HWVoiceIn *hw, Volume *vol) in line_in_volume()
|
H A D | sdlaudio.c | 52 HWVoiceIn hw; 269 HWVoiceIn *hw = &sdl->hw; in sdl_callback_in() 320 SDL_WRAPPER_FUNC(read, size_t, (HWVoiceIn *hw, void *buf, size_t size), 322 SDL_WRAPPER_FUNC(get_buffer_in, void *, (HWVoiceIn *hw, size_t *size), 324 SDL_WRAPPER_VOID_FUNC(put_buffer_in, (HWVoiceIn *hw, void *buf, size_t size), 390 static void sdl_fini_in(HWVoiceIn *hw) in sdl_fini_in() 397 static int sdl_init_in(HWVoiceIn *hw, audsettings *as, void *drv_opaque) in sdl_init_in() 446 static void sdl_enable_in(HWVoiceIn *hw, bool enable) in sdl_enable_in()
|
H A D | dbusaudio.c | 71 HWVoiceIn hw; 252 dbus_init_in_listener(QemuDBusDisplay1AudioInListener *listener, HWVoiceIn *hw) in dbus_init_in_listener() 269 dbus_init_in(HWVoiceIn *hw, struct audsettings *as, void *drv_opaque) in dbus_init_in() 288 dbus_fini_in(HWVoiceIn *hw) in dbus_fini_in() 304 dbus_volume_in_listener(HWVoiceIn *hw, in dbus_volume_in_listener() 325 dbus_volume_in(HWVoiceIn *hw, Volume *vol) in dbus_volume_in() 342 dbus_read(HWVoiceIn *hw, void *buf, size_t size) in dbus_read() 377 dbus_enable_in(HWVoiceIn *hw, bool enable) in dbus_enable_in() 572 HWVoiceIn *hw; in dbus_audio_register_listener()
|
H A D | sndioaudio.c | 33 HWVoiceIn in; 259 static void *sndio_get_buffer_in(HWVoiceIn *hw, size_t *size) in sndio_get_buffer_in() 282 static void sndio_put_buffer_in(HWVoiceIn *hw, void *buf, size_t size) in sndio_put_buffer_in() 474 static void sndio_enable_in(HWVoiceIn *hw, bool enable) in sndio_enable_in() 494 static int sndio_init_in(HWVoiceIn *hw, struct audsettings *as, void *opaque) in sndio_init_in() 514 static void sndio_fini_in(HWVoiceIn *hw) in sndio_fini_in()
|
H A D | dsound_template.h | 32 #define HWVOICE HWVoiceIn 133 static void dsound_fini_in (HWVoiceIn *hw) in dsound_fini_in() 160 static int dsound_init_in(HWVoiceIn *hw, struct audsettings *as, in dsound_init_in()
|
H A D | ossaudio.c | 52 HWVoiceIn hw; 127 static void oss_poll_in (HWVoiceIn *hw) in oss_poll_in() 627 static int oss_init_in(HWVoiceIn *hw, struct audsettings *as, void *drv_opaque) in oss_init_in() 674 static void oss_fini_in (HWVoiceIn *hw) in oss_fini_in() 681 static size_t oss_read(HWVoiceIn *hw, void *buf, size_t len) in oss_read() 712 static void oss_enable_in(HWVoiceIn *hw, bool enable) in oss_enable_in()
|
H A D | paaudio.c | 37 HWVoiceIn hw; 99 static void *qpa_get_buffer_in(HWVoiceIn *hw, size_t *size) in qpa_get_buffer_in() 127 static void qpa_put_buffer_in(HWVoiceIn *hw, void *buf, size_t size) in qpa_put_buffer_in() 152 static size_t qpa_read(HWVoiceIn *hw, void *data, size_t length) in qpa_read() 562 static int qpa_init_in(HWVoiceIn *hw, struct audsettings *as, void *drv_opaque) in qpa_init_in() 644 static void qpa_fini_in (HWVoiceIn *hw) in qpa_fini_in() 708 static void qpa_volume_in(HWVoiceIn *hw, Volume *vol) in qpa_volume_in()
|
H A D | audio.c | 518 static size_t audio_pcm_hw_get_live_in(HWVoiceIn *hw) in audio_pcm_hw_get_live_in() 553 HWVoiceIn *hw = sw->hw; in audio_pcm_sw_resample_in() 584 HWVoiceIn *hw = sw->hw; in audio_pcm_sw_read() 808 HWVoiceIn *hwi = NULL; in audio_is_timer_needed() 886 HWVoiceIn *hw; in AUD_read() 961 HWVoiceIn *hw; in AUD_set_active_in() 1293 HWVoiceIn *hw = NULL; in audio_run_in() 1410 void audio_generic_run_buffer_in(HWVoiceIn *hw) in audio_generic_run_buffer_in() 1595 HWVoiceIn *hwi = NULL; in audio_vm_change_state_handler() 1615 HWVoiceIn *hwi, *hwin; in free_audio_state() [all …]
|
H A D | jackaudio.c | 86 HWVoiceIn hw; 357 static size_t qjack_read(HWVoiceIn *hw, void *buf, size_t len) in qjack_read() 537 static int qjack_init_in(HWVoiceIn *hw, struct audsettings *as, in qjack_init_in() 612 static void qjack_fini_in(HWVoiceIn *hw) in qjack_fini_in() 626 static void qjack_enable_in(HWVoiceIn *hw, bool enable) in qjack_enable_in()
|
H A D | alsaaudio.c | 55 HWVoiceIn hw; 260 static int alsa_poll_in (HWVoiceIn *hw) in alsa_poll_in() 793 static int alsa_init_in(HWVoiceIn *hw, struct audsettings *as, void *drv_opaque) in alsa_init_in() 824 static void alsa_fini_in (HWVoiceIn *hw) in alsa_fini_in() 831 static size_t alsa_read(HWVoiceIn *hw, void *buf, size_t len) in alsa_read() 874 static void alsa_enable_in(HWVoiceIn *hw, bool enable) in alsa_enable_in()
|
H A D | dsoundaudio.c | 61 HWVoiceIn hw; 491 static void dsound_enable_in(HWVoiceIn *hw, bool enable) in dsound_enable_in() 537 static void *dsound_get_buffer_in(HWVoiceIn *hw, size_t *size) in dsound_get_buffer_in() 579 static void dsound_put_buffer_in(HWVoiceIn *hw, void *buf, size_t len) in dsound_put_buffer_in()
|
H A D | pwaudio.c | 65 HWVoiceIn hw; 220 qpw_read(HWVoiceIn *hw, void *data, size_t len) in qpw_read() 566 qpw_init_in(HWVoiceIn *hw, struct audsettings *as, void *drv_opaque) in qpw_init_in() 627 qpw_fini_in(HWVoiceIn *hw) in qpw_fini_in() 648 qpw_enable_in(HWVoiceIn *hw, bool enable) in qpw_enable_in() 683 qpw_volume_in(HWVoiceIn *hw, Volume *vol) in qpw_volume_in()
|
H A D | audio_template.h | 34 #define HW HWVoiceIn
|