mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
audio: poll mode infrastructure
Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
parent
435c247a9f
commit
713a98f8f1
2 changed files with 87 additions and 11 deletions
|
@ -68,6 +68,7 @@ typedef struct SWVoiceCap SWVoiceCap;
|
|||
|
||||
typedef struct HWVoiceOut {
|
||||
int enabled;
|
||||
int poll_mode;
|
||||
int pending_disable;
|
||||
struct audio_pcm_info info;
|
||||
|
||||
|
@ -87,6 +88,7 @@ typedef struct HWVoiceOut {
|
|||
|
||||
typedef struct HWVoiceIn {
|
||||
int enabled;
|
||||
int poll_mode;
|
||||
struct audio_pcm_info info;
|
||||
|
||||
t_sample *conv;
|
||||
|
@ -222,6 +224,8 @@ int audio_pcm_hw_get_live_out2 (HWVoiceOut *hw, int *nb_live);
|
|||
int audio_bug (const char *funcname, int cond);
|
||||
void *audio_calloc (const char *funcname, int nmemb, size_t size);
|
||||
|
||||
void audio_run (const char *msg);
|
||||
|
||||
#define VOICE_ENABLE 1
|
||||
#define VOICE_DISABLE 2
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue