From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Subject: Re: can I make this =?UTF-8?B?d29ya+KApiAoRm91bmRhdGlvbiBmb3IgYWM=?= =?UTF-8?B?Y2Vzc2liaWxpdHkgcHJvamVjdCk=?= Date: Tue, 18 Nov 2014 14:53:52 +0100 Message-ID: <546B4F70.2020600@redhat.com> References: <546AEBAC.1@eggo.org> <546B4E97.7050208@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Paolo Bonzini , "Eric S. Johansson" , kvm , Gerd Hoffmann Return-path: Received: from mx1.redhat.com ([209.132.183.28]:59192 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753833AbaKRNx6 (ORCPT ); Tue, 18 Nov 2014 08:53:58 -0500 In-Reply-To: <546B4E97.7050208@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Hi, On 11/18/2014 02:50 PM, Paolo Bonzini wrote: > > > On 18/11/2014 07:48, Eric S. Johansson wrote: >> I'm trying to figure out ways of making it possible to drive Linux from >> Windows speech recognition (NaturallySpeaking). The goal is a system >> where Windows runs in a virtual machine (Linux host), audio is passed >> through from a USB headset to the Windows environment. And the output of >> the recognition engine is piped through some magic back to the Linux host. >> >> the hardest part of all of this without question is getting clean >> uninterrupted audio from the USB device all the way through to the >> Windows virtual machine. virtual box, VMware fail mostly in delivering >> reliable audio to the virtual machine. >> >> I expect KVM to not work right with regards to getting clean >> audio/real-time USB but I'm asking in case I'm wrong. if it doesn't work >> or can't work yet, what would it take to make it possible for clean >> audio to be passed through to a guest? > > I'm adding two people who might know. kvm's usb pass-through should be able to handle this without any issues (other then some latency), it uses special buffering for isochronous usb packets, which should take care of usb audio working. I've never tested audio recording, but audio playback and video recording (webcams) work, so I expect audio recording to be fine. Regards, Hans