W3C home > Mailing lists > Public > public-audio@w3.org > October to December 2012

[Bug 20505] merge getInput, getOutput -> getPort() or getPortById()

From: <bugzilla@jessica.w3.org>
Date: Wed, 26 Dec 2012 18:12:03 +0000
To: public-audio@w3.org
Message-ID: <bug-20505-5429-Xz4e79pLER@http.www.w3.org/Bugs/Public/>

--- Comment #8 from Jussi Kalliokoski <jussi.kalliokoski@gmail.com> ---
(In reply to comment #7)
> I don't believe the system would ever confuse an input and an output
> fingerprint.  In my shim implementation, I'll simply prepend "i" or "o" to
> identify.  The confusion potential with fingerprints is across sessions,
> when you have multiple ports with the same name in the system, when the
> indices change (e.g. when a device is added or removed from the system) -
> For example, I have two Novation Launchpads (not an uncommon thing).  If I
> add a controller that ends up (according to the OS) showing up in the list
> of interfaces before those, suddenly one of those might be at index 5
> instead of 4 - and the other one is at index 4, and looks just like the
> other one used to in terms of name, manufacturer, index... everything that
> persists.

You're probably right, it seems unlikely that the IDs would get confused.
Sounds good, I'm fine with going ahead and merging the methods.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 26 December 2012 18:12:05 UTC

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