Re: [PATCH 2/2] vga_switcheroo: Add the support for audio clients

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

 



At Thu, 10 May 2012 12:20:05 +0100,
Alan Cox wrote:
> 
> On Thu, 10 May 2012 09:10:16 +0200
> Takashi Iwai <tiwai@xxxxxxx> wrote:
> 
> > Add the support for audio clients to VGA-switcheroo for handling the
> > HDMI audio controller together with VGA switching.  The id of the
> > audio controller should be given explicity at registration time unlike
> > the video controller.
> 
> It would I think be a lot cleaner and more future proof to pass a 
> 
> struct hdmi_audio_switch_ops
> 
> or some similar named object with an array of function pointers ?

That would be a good option, indeed.

In my patch series, I just didn't want to break the existing API,
so I kept the current style.


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


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux