Re: Opus, alternative video codec and hardware acceleration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Hi,

> And, finally, you actually need someone to do the work.  I don't really
> have a sense how much work the qemu side would be.

Nothing ;)

You just have to get the interface changes in server/spice.h right.
Basically you'll go bump the interface minor version
(SPICE_INTERFACE_PLAYBACK_MINOR) from 2 to 3 and change the sample rate
(SPICE_INTERFACE_PLAYBACK_FREQ) from 44100 to 48000.  Same for
recording.  Done.

Then spice-server has to check the minor version field when qemu
registers a sound interface.  When the minor is 2 or smaller qemu was
compiled against older libspice-server and expects/sends 44.1k samples.
When it is 3 or greater 48k is used.

cheers,
  Gerd

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]