Skip to content
Snippets Groups Projects
  • Paolo Bonzini's avatar
    69a80279
    audio: remove QEMU_AUDIO_* and -audio-help support · 69a80279
    Paolo Bonzini authored
    
    These have been deprecated for a long time, and the introduction of
    -audio in 7.1.0 has cemented the new way of specifying an audio backend's
    parameters.  However, there is still a need for simple configuration
    of the audio backend in the desktop case; therefore, if no audiodev is
    passed to audio_init(), go through a bunch of simple Audiodev* structures
    and pick the first that can be initialized successfully.
    
    The only QEMU_AUDIO_* option that is left in, waiting for a better idea,
    is QEMU_AUDIO_DRV=none which is used by qtest.
    
    Remove all the parsing code, including the concept of "can_be_default"
    audio drivers: now that audio_prio_list[] is only used in a single place,
    wav can be excluded directly in that function.
    
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    69a80279
    History
    audio: remove QEMU_AUDIO_* and -audio-help support
    Paolo Bonzini authored
    
    These have been deprecated for a long time, and the introduction of
    -audio in 7.1.0 has cemented the new way of specifying an audio backend's
    parameters.  However, there is still a need for simple configuration
    of the audio backend in the desktop case; therefore, if no audiodev is
    passed to audio_init(), go through a bunch of simple Audiodev* structures
    and pick the first that can be initialized successfully.
    
    The only QEMU_AUDIO_* option that is left in, waiting for a better idea,
    is QEMU_AUDIO_DRV=none which is used by qtest.
    
    Remove all the parsing code, including the concept of "can_be_default"
    audio drivers: now that audio_prio_list[] is only used in a single place,
    wav can be excluded directly in that function.
    
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>