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

Audio transmission method and electronic device

A technology of an electronic device and a transmission method, applied in the computer field, can solve the problems of unresponsiveness, PCM data transmission delay, etc.

Active Publication Date: 2020-03-27
UBTECH ROBOTICS CORP LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, due to the process scheduling delay of the real-time operating system (RTOS) that schedules the CPU, that is, when the CPU transmits a certain frame of audio data of the audio file and decodes the corresponding pulse code modulation (Pulse Code Modulation, PCM) After the data, when the PCM data corresponding to the soft decoding of the next frame of audio data is transmitted, if the CPU is processing other processes, the PCM data transmission will be delayed
If the priority of the command to transmit PCM data is increased so that the priority of the command to transmit PCM data is higher than that of other processes currently being processed, the CPU needs to wait for all data to be processed and transmitted before processing other tasks, but this processing method will affect other processes. The task process does not get a response for a long time

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
  • Audio transmission method and electronic device
  • Audio transmission method and electronic device
  • Audio transmission method and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0017] See figure 1 , figure 1 It is a schematic flowchart of an audio transmission method provided by an embodiment of the present invention. The execution subject of the audio transmission method in this embodiment is an electronic device, which can be an independent electronic chip, such as a s...

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 embodiment of the invention discloses an audio transmission method and an electronic device. The audio transmission method comprises the steps of when at least two pulse-coded PCM data are obtained by soft decoding an audio file by a central processing unit, the first PCM data is sent to the decoder, at the same time raise the interrupt request, wherein the interrupt processing is used to trigger the direct memory access DMA controller to transmit the second PCM data in the preset storage unit to the decoder. And the second PCM data is PCM data other than the first PCM data when there are at least two PCM data. The audio transmission method makes it real that when the PCM data is transmitted after the central processor decodes the audio file softly, and transmission delay can be avoided and improve CPU utilization.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to an audio transmission method and an electronic device. Background technique [0002] With the development of computer and multimedia technology, audio files can be played on various devices, such as mobile phones, computers, robots, etc. The decoding and playing process of the audio file is that the central processing unit CPU performs soft decoding on the audio file, and then transmits the soft-decoded data to the decoder. [0003] However, due to the process scheduling delay of the real-time operating system (RTOS) that schedules the CPU, that is, when the CPU transmits a certain frame of audio data of the audio file and decodes the corresponding pulse code modulation (Pulse Code Modulation, PCM) After the data, when the PCM data corresponding to the soft decoding of the next frame of audio data is transmitted, if the CPU is processing other processes, the PCM data transmiss...

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 Patents(China)
IPC IPC(8): G06F9/48G06F13/28G06F13/42
CPCG06F9/4812G06F13/28G06F13/4291
Inventor 黄挺爽张礼富熊友军
Owner UBTECH ROBOTICS CORP LTD