Re: [Qemu-devel] [PATCH 20/25] audio: remove mixeng specific code from backends

2015-08-20 Thread Marc-André Lureau
Hi This commit fails to compile with errors such as: audio/audio.c: In function ‘audio_pcm_hw_run_in’: audio/audio.c:1143:41: error: ‘struct audio_pcm_info’ has no member named ‘bytes_per_frame’ size_t size = samples * hw->info.bytes_per_frame;

Re: [Qemu-devel] [PATCH 20/25] audio: remove mixeng specific code from backends

2015-08-19 Thread Gerd Hoffmann
On Do, 2015-08-06 at 20:28 +0200, Kővágó, Zoltán wrote: > Backends no longer have to deal with mixeng, they just receive a buffer > in the correct sample format, all mixeng logic is now in the audio.c > (and mixeng.c). Backends also do not have to deal with soft voices. > > Backends now have two

[Qemu-devel] [PATCH 20/25] audio: remove mixeng specific code from backends

2015-08-06 Thread Kővágó, Zoltán
Backends no longer have to deal with mixeng, they just receive a buffer in the correct sample format, all mixeng logic is now in the audio.c (and mixeng.c). Backends also do not have to deal with soft voices. Backends now have two way to read/write sound: * write and read functions: similar to ol