1. A method of driving an audio device supporting two or more audio modes, the method comprising:
associating a first physical device object of an audio device with a first device identifier, the first physical device object representing a first audio mode enumerated by a bus enumerator;
associating a second physical device object of an audio device with a second device identifier, the second physical device object representing a second audio mode enumerated by the bus enumerator; and
if the first device identifier matches the second device identifier, enabling a coupled kernel streaming audio interface compatible with both the first physical device object and the second physical device object.
2. The method of claim 1, further comprising, if the first device identifier matches the second device identifier, representing an audio device having a matching first device identifier and second device identifier as a single coherent audio device.
3. The method of claim 1, further comprising, if the first device identifier does not match the second device identifier, enabling a first uncoupled kernel streaming audio interface compatible with the first physical device object or enabling a second uncoupled kernel streaming audio interface compatible with the second physical device object.
4. The method of claim 1, further comprising using the coupled kernel streaming audio interface to implement the first audio mode if the audio device is operating in a first mode and using the coupled kernel streaming audio interface to implement the second audio mode if the audio device is operating in a second mode.
5. The method of claim 4, further comprising temporarily locking the coupled kernel streaming audio interface to an audio mode.
6. The method of claim 1, where the first audio mode supports mono audio playback and voice capture, and where the second audio mode supports stereo audio playback without voice capture.
7. The method of claim 1, where the coupled kernel streaming interface is characterized by a single audio input end point and a single audio output end point.
8. The method of claim 1, where associating the first physical device object with the first device identifier includes listing the first physical device object in a table with the first device identifier, and where associating the second physical device object with the second device identifier includes listing the second physical device object in the table with the second device identifier.
9. The method of claim 8, where the first device identifier includes a device address, and where the second device identifier includes a device address.
10. The method of claim 1, where upon the audio device initiating an audio output, determining if the coupled kernel streaming audio interface is locked to the first audio mode, if the coupled kernel streaming audio interface is locked to the first audio mode, starting audio output using the first audio mode, if the coupled kernel streaming audio interface is not locked to the first audio mode, determining if the coupled kernel streaming audio interface is locked to the second audio mode, if the coupled kernel streaming audio interface is locked to the second audio mode, starting audio output using the second audio mode, if the coupled kernel streaming audio interface is not locked to the first audio mode or the second audio mode, determining if audio input is active, if audio input is active, starting audio output using the first audio mode, if audio input is not active, starting audio output using the second audio mode.
11. The method of claim 1, where upon the audio device initiating an audio input, determining if the coupled kernel streaming audio interface is locked to the second audio mode, if the coupled kernel streaming audio interface is locked to the second audio mode, failing audio input, if the coupled kernel streaming audio interface is not locked to the second audio mode, determining if audio output is using the second audio mode, if the audio output is using the second audio mode, stopping audio output using the second audio mode, starting audio output using the first audio mode and starting audio input using the first audio mode.
12. The method of claim 1, where upon the audio device closing an audio input, stopping audio input using the first audio mode and determining if the coupled kernel streaming audio interface is locked to the first audio mode, if the coupled kernel streaming audio interface is not locked to the first audio mode, determining if audio output is using the first audio mode, if audio output is using the first audio mode, stopping audio output using the first audio mode and starting audio output using the second audio mode.
13. A computing device comprising computer memory including instructions, that when executed by a logic subsystem, cause the logic subsystem to:
associate a first physical device object of an audio device with a first device identifier, the first physical device object representing a first audio mode enumerated by a bus enumerator;
associate a second physical device object of an audio device with a second device identifier, the second physical device object representing a second audio mode enumerated by the bus enumerator; and
if the first device identifier matches the second device identifier, enable a coupled kernel streaming audio interface compatible with both the first physical device object and the second physical device object.
14. The computing device of claim 13, where the computing device is further configured to, if the first device identifier matches the second device identifier, represent an audio device having a matching first device identifier and second device identifier as a single coherent audio device via a user interface of the computing device.
15. The computing device of claim 13, where the computing device is further configured to, if the first device identifier matches the second device identifier, represent an audio device having a matching first device identifier and second device identifier as a single coherent audio device via a programming interface of the computing device.
16. The computing device of claim 13, where the computing device is further configured to, if the first device identifier does not match the second device identifier, enable a first uncoupled kernel streaming audio interface compatible with the first physical device object or enable a second uncoupled kernel streaming audio interface compatible with the second physical device object.
17. The computing device of claim 13, where the first audio mode supports mono audio playback and voice capture, and where the second audio mode supports stereo audio playback without voice capture.
18. The computing device of claim 13, where the computing device is further configured to use the coupled kernel streaming audio interface to implement the first audio mode if the audio device is operating in a first mode and to implement the second audio mode if the audio device is operating in the second mode.
19. The computing device of claim 17, where the computing device is further configured to characterize the coupled kernel streaming interface by a single audio input end point and a single audio output end point.
20. Computer memory including instructions that, when executed by a logic subsystem, cause a computing device to drive an audio device supporting two or more audio modes by performing a method comprising:
associating a first physical device object of a wireless audio device with a first device address, the first physical device object representing an HFP audio profile enumerated by a bus enumerator;
associating a second physical device object of a wireless audio device with a second device address, the second physical device object representing an A2DP audio profile enumerated by the bus enumerator; and
if the first device identifier matches the second device identifier, enabling a coupled HFP-A2DP kernel streaming audio interface compatible with both the first physical device object and the second physical device object.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A galactosamine derivative represented by the following formula (1):
wherein R1, R2 and R5 each independently represents SO3\u2212 or H, and at least one of them represents SO3\u2212;
R3 represents H, acetyl or SO3\u2212;
R4 represents H, a substituted or unsubstituted alkyl group, a substituted or unsubstituted alkenyl group, a substituted or unsubstituted alkynyl group, a substituted or unsubstituted acyl group, a substituted or unsubstituted aryl group, or a substituted or unsubstituted aralkyl group;
X represents O, S, NH or CH2; and
represents an \u03b1 bond or a \u03b2 bond.
2. The galactosamine derivative according to claim 1, wherein R1 and R2 each is H; R3 is an acetyl group; R4 is a substituted or unsubstituted aryl group; and R5 is SO3\u2212.
3. The galactosamine derivative according to claim 1, wherein R1 is SO3\u2212; R2 and R5 each is H; R3 is an acetyl group; and R4 is a substituted or unsubstituted aryl group.
4. The galactosamine derivative according to claim 1, wherein R1 and R5 each is H; R2 is SO3\u2212; R3 is an acetyl group; and R4 is a substituted or unsubstituted aryl group.
5. A sulfotransferase inhibitor which comprises the galactosamine derivative according to claim 1.
6. The sulfotransferase inhibitor according to claim 5, which inhibits activity of a sulfotransferase having activity of transferring a sulfate group to a hydroxyl group bound to the 6-position carbon atom on the 4-sulfated galactosamine residue in the basic backbone of chondroitin sulfate.
7. A method for inhibiting activity of a sulfotransferase, which comprises allowing the galactosamine derivative according to claim 1 to be present in an enzyme reaction system of the sulfotransferase.
8. (canceled)
9. (canceled)
10. A medicament based on inhibition of sulfotransferase activity, which comprises the galactosamine derivative according to claim 1 as an active ingredient.
11. A medicament for treating or preventing diseases caused by acceleration of sulfotransferase activity, which comprises the galactosamine derivative according to claim 1 as an active ingredient.
12. A method for treating or preventing diseases caused by acceleration of sulfotransfererase activity, which comprises administering to a subject in need thereof an effective amount of the glactosamine derivative according to claim 1.