[Spice-devel] RFC on sound codec refactoring

Jeremy White jwhite at codeweavers.com
Tue Oct 8 00:22:10 CEST 2013


>   2.  Modify qemu to change the device sample rate dynamically
> 
>       This seems like it should be possible.  I'm working up a
>       hack to try it (basically, we regen the rate at voice_enable
>       time).  This seems to fly in the face of 'normal'
>       practice, so there is probably something horrible wrong with it.
> 
>       But it's fun to play :-).

Attached is a patch that suggests my idea.  I've done some hacks,
and it seems 'safe' to adjust the rate on the fly like this.

I'd appreciate some friendly folks glancing it over before I try to
flesh it out and get myself laughed off the qemu mailing list.

Cheers,

Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qemurate.diff
Type: text/x-patch
Size: 2819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20131007/094181dd/attachment.bin>


More information about the Spice-devel mailing list