Skip to content
Snippets Groups Projects
Commit aaa6a6f9 authored by Martin Kletzander's avatar Martin Kletzander Committed by Paolo Bonzini
Browse files

audio: Require AudioState in AUD_add_capture


Since all callers require a valid audiodev this function can now safely
abort in case of missing AudioState.

Signed-off-by: default avatarMartin Kletzander <mkletzan@redhat.com>
Message-ID: <c6e87e678e914df0f59da2145c2753cdb4a16f63.1650874791.git.mkletzan@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 9e58d7a7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment