Unlock instant, AI-driven research and patent intelligence for your innovation.

High sampling rate direct-connection audio output method and device based on Android

An audio output device and high sampling rate technology, applied in the field of high sampling rate direct audio output methods and devices, can solve problems such as distortion, and achieve the effect of avoiding distortion

Active Publication Date: 2015-04-01
ALLWINNER TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to solve the above problems, the object of the present invention is to provide a high-sampling-rate straight-through audio output method and device based on Android, through which high-sampling-rate playback is performed in a straight-through manner, avoiding the need for re-sampling to bring about high-sampling-rate playback distortion problem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • High sampling rate direct-connection audio output method and device based on Android

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] refer to figure 1 As shown, a kind of Android-based high-sampling-rate straight-through audio output method of the present invention includes creating an audiotrack thread corresponding to the audio stream while the audio stream is playing, and the audiotrack thread detects whether the audio stream supports high-sampling-rate straight-through output, If the high sampling rate direct output is not supported, the original mixing resampling method is used for audio stream output. If the high sampling rate direct output is supported, the direct thread is enabled to transmit the data stream of audiotrack and audio hw, and transmit the audio stream Go to audio hw, open the audio driver in audio hw for audio playback.

[0017] Specifically, the audiotrack thread judges whether the audio stream supports direct output by detecting the audio sampling rate of the audio stream and the sampling rate set by default in the audio system of Android. For direct thru output, refer to fi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a high sampling rate direct-connection audio output method and device based on Android. The method includes the steps that when an audio stream is played, an audiotrack thread corresponding to the audio stream is established, the audiotrack thread detects whether the audio stream supports high sampling rate direct-connection output or not, if the audio stream does not support high sampling rate direct-connection output, an original audio mixing resampling mode is adopted for outputting the audio stream, if the audio stream supports high sampling rate direct-connection output, a direct-connection thread is started to perform audiotrack and audio hw data stream output, the audio stream is transmitted to audio hw, and an audio driver is opened in the audio hw so that audio can be played. The device corresponds to the method. According to the method and device, high sampling rate playing is performed in a direct-connection mode, and distortion caused by resampling is avoided.

Description

technical field [0001] The invention relates to the field of audio playback, in particular to an Android-based high sampling rate direct audio output method and device. Background technique [0002] When the Android system is playing audio, the Android audio system will set a sampling rate (such as 44.1k) by default, and other sampling rates need to be resampled to the set sampling rate (44.1k) for playback, which will inevitably lead to audio Distortion occurs. When solving the distortion problem, the existing technical solutions pay more attention to improving the audio distortion problem caused by resampling from the perspective of the algorithm, such as using cubic interpolation algorithm, finite-order filter algorithm, etc. These algorithms can solve the problem of audio distortion Although there has been a great improvement, the distortion problems caused by SRC, such as high-frequency attenuation and intermodulation distortion, are unavoidable due to the sample rate ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/16G06F9/54
CPCG06F3/165G06F9/466
Inventor 黄新
Owner ALLWINNER TECH CO LTD