Re: [javax-usb-devel] speed of submitting UsbIrp to an iso pipe

2005-08-08 Thread ddstreet
On Mon, 8 Aug 2005, Charles Chen wrote: > I also found that if I set the length of the queue[] to 50 instead of 2, no > data missing is seen in my 2-second long recording. But it is certainly not a > good work around. 50 may be overkill, but why do you think increasing the queue size is "not a

Re: [javax-usb-devel] UsbException extention(s)

2003-01-14 Thread ddstreet
On Tue, 14 Jan 2003, Brad BARCLAY wrote: >On Tue, 14 Jan 2003 19:13:44 -0500 (EST), [EMAIL PROTECTED] wrote: > >Hey Dan: > >>perhaps all exceptions in javax.usb should be prefixed with 'Usb'... > > That's not such a bad idea. If a developer is working with >another developers code, it can

[javax-usb-devel] naming

2003-01-14 Thread ddstreet
On a related note to the (Usb)NotActiveException discussion, the control-type UsbIrp is currently called ControlUsbIrp; but a suggestion was made to rename it to UsbControlIrp. This keeps consistency of the Usb prefix. While we're at it though, let's review all the names: UsbHub UsbPort UsbD

Re: [javax-usb-devel] UsbException extention(s)

2003-01-14 Thread ddstreet
On Tue, 14 Jan 2003, Brad BARCLAY wrote: >On Tue, 14 Jan 2003 13:31:03 -0500 (EST), [EMAIL PROTECTED] wrote: > > It would be best to have something in javax.usb., but with a >different name (perhaps USBNotActiveException). This is for two >reasons: > > 1) As some users will want to u

[javax-usb-devel] UsbException extention(s)

2003-01-14 Thread ddstreet
One of the known todos is to create more meaningful USB-specific UsbExceptions. While talking to a coworker, we discussed what to do about platform-specific errors, i.e. those that aren't USB-specific. We came up with PlatformException extends UsbException { public Exception getException();

[javax-usb-devel] irp offset/length

2003-01-13 Thread ddstreet
In regard to the new irp offset and length settings, I was orignally thinking that the default settings should be the most common - I'm always for that. For the offset, the most common setting is 0, so that's ok, but for the length, the most common setting will be the data.length. So, I was

Re: [javax-usb-devel] 0.10 implementation

2003-01-13 Thread ddstreet
On Mon, 13 Jan 2003, Roger Lindsjo wrote: >On Sat, 11 Jan 2003 [EMAIL PROTECTED] wrote: > >> On Sat, 11 Jan 2003, Roger Lindsjo wrote: >> >After looking some more at the specs I realized that some methods actually >use Hungarian Notation (i -> Index, bcd -> BCS, id -> ID) but sometimes b >is u

Re: [javax-usb-devel] 0.10 implementation

2003-01-11 Thread ddstreet
On Sat, 11 Jan 2003, Roger Lindsjo wrote: >I'm not to fond of setting the variable storage type (not variable type) >in front of the methods. Hungarian notation at least tells what type of >value the variable holds. But I see your point of following the PSecs >notation. My feeling is, as long