Received: from eggs.gnu.org ([2001:4830:134:3::10]:35725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPRt8-0005XL-Vd for qemu-devel@nongnu.org; Thu, 04 Sep 2014 03:55:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPRsz-0001uH-U5 for qemu-devel@nongnu.org; Thu, 04 Sep 2014 03:55:26 -0400 Received: from nm34.bullet.mail.ne1.yahoo.com ([98.138.229.27]:47691) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPRsz-0001uA-O4 for qemu-devel@nongnu.org; Thu, 04 Sep 2014 03:55:17 -0400 Message-ID: <1409815341.80202.YahooMailNeo@web141206.mail.bf1.yahoo.com> Date: Thu, 4 Sep 2014 00:22:21 -0700 From: Harry Cruise MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-1489213645-111333147-1409815341=:80202" Subject: [Qemu-devel] Audio stream handling in QEMU device model Reply-To: Harry Cruise List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Qemu-devel , "av1474@comtv.ru" , "kraxel@redhat.com" ---1489213645-111333147-1409815341=:80202 Content-Type: text/plain; charset=us-ascii Hello, I am trying to comprehend QEMU AUDIO backend functionality and need to implementing device which has few audio channels from which it receives audio streams (sampled at some specific frequency), and further process that data stream like mixing two stream. I am new for the QEMU, Please help me in following queries: 1) Please suggest some document and example/device implement which has use qemu audio backend. 2) To implement audio stream read/write functionality, can anyone please suggest pseudocode for the implementation in which audio stream data (samples at some specific frequency ) is stored into some device buffers. 3) What steps I need to add into device to setup audio support as per the requirement I mentioned above ? 4) what is the basic working flow of audio backend and accessing audio streams using dma ? ---1489213645-111333147-1409815341=:80202 Content-Type: text/html; charset=us-ascii
Hello,

I am trying to comprehend QEMU AUDIO backend functionality and need to implementing device which has few audio channels from which it receives audio streams (sampled at some specific frequency), and further process that data stream like mixing two stream.

I am new for the QEMU, Please help me in following queries:

1) Please suggest some document and example/device implement which has use qemu audio backend.

2) To implement audio stream read/write functionality, can anyone please suggest pseudocode for the implementation in which audio stream data (samples at some specific frequency ) is stored into some device buffers.

3) What steps I need to add into device to setup audio support as per the requirement I mentioned above ?

4) what is the basic working flow of audio backend and accessing audio streams using dma ?

---1489213645-111333147-1409815341=:80202--