Patent ID: 7747010

Claim:
A method implemented by a client application for use with telephony software operating on a computer having an operating system and one or more logical audio devices, said client application for handling the insertion and removal of logical audio devices, said client application performing the method comprising the steps of: (a) opening a logical audio device having priority status as an open logical audio device; (b) waiting for notification of insertion or removal of a logical audio device; (c) if notification is received of the insertion of said logical audio device, said logical audio device is an inserted replacement logical audio device: (i) determining if said inserted replacement logical audio device has priority status, (ii) if said inserted replacement logical audio device has priority status, returning to said step of opening said logical audio device having priority status as said open logical audio device using said inserted replacement logical audio device as said logical audio device; and (iii) if said inserted replacement logical audio device does not have priority status, returning to said step of waiting for notification; and (d) if notification is received of the removal of said logical audio device, said logical audio device is an original removed logical audio device: (i) determining if said original removed logical audio device is said open logical audio device or if said original removed logical audio device has priority status; (ii) if said original removed logical audio device is not said open logical audio device or if said original removed logical audio device does not have priority status, returning to said step of waiting for notification; and (iii) if said original removed logical audio device is said open logical audio device or if said original removed logical audio device has priority status, returning to said step of opening said logical audio device having priority status as said open logical audio device using an assuming replacement logical audio device as said logical audio device.