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

Re: [Xen-devel] [PATCH 2/3] xen-sndfront: switch to the v2 driver

On 19/01/15 08:19, Oleksandr Dmytryshyn wrote:
> From: Iurii Konovalenko <iurii.konovalenko@xxxxxxxxxxxxxxx>
> Now this driver registers an virtual sound card
> and sends an PCM streams to the backend driver.
> Backend driver is an user-space application and
> uses ALSA with dmix plugin to play audio.
>  struct sndif_request_open {
> -     unsigned int dev_num;
> -     unsigned int card_num;
> -     unsigned int dev_type;
> +     struct alsa_hwparams hwparams;

Don't put ALSA specific structures in the ABI.  The protocol needs to be
suitable for frontend drivers that aren't ALSA.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.