for always, you can also specify DAC_DEV and ADC_DEV for different sound cards on your real machine or device null if you have more than one vm
do you mean both alsa or pulseaudio backend were not build in Ubuntu kvm package ? static struct audio_option alsa_options[] = { { .name = "DAC_SIZE_IN_USEC", .tag = AUD_OPT_BOOL, .valp = &conf.size_in_usec_out, .descr = "DAC period/buffer size in microseconds (otherwise in frames)" }, { .name = "DAC_PERIOD_SIZE", .tag = AUD_OPT_INT, .valp = &conf.period_size_out, .descr = "DAC period size (0 to go with system default)", .overriddenp = &conf.period_size_out_overridden }, { .name = "DAC_BUFFER_SIZE", .tag = AUD_OPT_INT, .valp = &conf.buffer_size_out, .descr = "DAC buffer size (0 to go with system default)", .overriddenp = &conf.buffer_size_out_overridden }, { .name = "ADC_SIZE_IN_USEC", .tag = AUD_OPT_BOOL, .valp = &conf.size_in_usec_in, .descr = "ADC period/buffer size in microseconds (otherwise in frames)" }, { .name = "ADC_PERIOD_SIZE", .tag = AUD_OPT_INT, .valp = &conf.period_size_in, .descr = "ADC period size (0 to go with system default)", .overriddenp = &conf.period_size_in_overridden }, { .name = "ADC_BUFFER_SIZE", .tag = AUD_OPT_INT, .valp = &conf.buffer_size_in, .descr = "ADC buffer size (0 to go with system default)", .overriddenp = &conf.buffer_size_in_overridden }, { .name = "THRESHOLD", .tag = AUD_OPT_INT, .valp = &conf.threshold, .descr = "(undocumented)" }, { .name = "DAC_DEV", .tag = AUD_OPT_STR, .valp = &conf.pcm_name_out, .descr = "DAC device name (for instance dmix)" }, { .name = "ADC_DEV", .tag = AUD_OPT_STR, .valp = &conf.pcm_name_in, .descr = "ADC device name" }, { .name = "VERBOSE", .tag = AUD_OPT_BOOL, .valp = &conf.verbose, .descr = "Behave in a more verbose way" }, { /* End of list */ } }; -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1246929 Title: no audio in KVM virtual machines : cannot select alsa or pa To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1246929/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs