W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2013

Re: [web-midi-api] Virtual MIDI ports (#45)

From: Jussi Kalliokoski <notifications@github.com>
Date: Mon, 26 Aug 2013 14:03:34 -0700
To: WebAudio/web-midi-api <web-midi-api@noreply.github.com>
Message-ID: <WebAudio/web-midi-api/issues/45/23294551@github.com>
> I'm not sure about using 0 as meaning both 0 latency and unknown

I can't think of any case where the default behavior in the case of unknown latency would not be to assume zero latency, so for most cases there would be no extra work to account for the unknown latency situation, hence the suggestion. If we're able to come up with sane scenarios where you'd benefit from it being non-zero and unknown, I'll be happy to use another value.

> I prefer these were constructors instead of a factory

I agree, but we'll have to carefully assess whether there's a security risk in that.

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-midi-api/issues/45#issuecomment-23294551
Received on Thursday, 29 August 2013 03:09:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:10 UTC