主权项 |
1. A method of managing audio data in a computing device, the computing device comprising a processor chip, storage, and an audio processor chip, the audio processor chip providing a plurality of signal processing effects, each signal processing effect respectively implementing a different type of audio signal processing algorithm, the method performed by an operating system and/or a kernel-mode component of the computing device, the method comprising:
accessing association information associating audio types and the signal processing effects, respectively, wherein each audio type is associated with a corresponding one of the signal processing effects; providing and managing audio streams that concurrently pass through the audio processor chip for respective applications executing on the computing device; receiving from the applications requests to initiate the audio streams, each request having associated therewith an indication indicating a respective audio type provided by the corresponding requesting application, wherein the audio types are associated with the audio streams on a stream-by-stream basis such that different concurrent audio streams of a same application are able to have different respective audio types associated therewith; and each time one of the requests is received from one of the applications, initiating the corresponding audio stream by selecting one of the signal processing effects for the audio stream, wherein the signal processing effect is selected according to the audio type indicated by the indication and according to the association information, wherein a first request to initiate a first audio stream is received from a first application, and while the first audio stream is streaming from the first application, a second request to initiate a second audio stream is received from the first application, the first request having associated therewith a first indication indicating a first audio type, the second request having associated therewith a second indication indicating a second audio type, the first audio stream being processed by a first signal processing effect while the second audio stream is being processed by a second signal processing effect. |