Re: [PATCH] Allow ioplugins to override snd_pcm_delay()

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

 



Takashi Iwai wrote:
> 
> The change is OK, but please remind that the API has been already
> public, so we need to keep the compatibility as much as possible.
> This addition will break the binary compatibility.
> 
> First, we need the increase of version number
> (SND_PCM_IOPLUG_VERSION) if we modify API.  If the version of the
> object is older, either reject or allow it as compatible.
> 
> One way to keep it binary-compatible is to append the new method to
> the end of the callback table, and check the version before accessing
> the new method (and handle as NULL for older version).
> 
> Could you rewrite the patch in that manner?
> 

No problem. I'll have it fixed later this afternoon.

-- 
Rgds
Pierre Ossman                Telephone: +46-13-21 46 00
Cendio AB                    Web: http://www.cendio.com

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux