Re: [Spice-devel] [usbredir PATCH v6 1/2] usbredirhost: new callback to drop isoc packets

2015-10-30 Thread Victor Toso
Hi, On Fri, Oct 23, 2015 at 03:28:52PM +0200, Hans de Goede wrote: > Hi, > applications *pending writes* buffer size (in bytes). > > (so add the pending writes, drop the "that are ... isoc data", since the > application > is not aware which data is isoc data and which is not. > > Otherwise looks

Re: [Spice-devel] [usbredir PATCH v6 1/2] usbredirhost: new callback to drop isoc packets

2015-10-23 Thread Hans de Goede
Hi, On 10/23/2015 09:53 AM, Victor Toso wrote: For streaming devices it might be necessary from application to drop data for different reasons. This patch provides a new callback that it is called before queueing the most recent isoc packet. usbredirhost uses the device information to set two

[Spice-devel] [usbredir PATCH v6 1/2] usbredirhost: new callback to drop isoc packets

2015-10-23 Thread Victor Toso
For streaming devices it might be necessary from application to drop data for different reasons. This patch provides a new callback that it is called before queueing the most recent isoc packet. usbredirhost uses the device information to set two levels of threshold. In case application's buffer