Audio thread processing method and device, computer equipment and storage medium

A processing method and audio processing technology, which is applied in the computer field and can solve problems such as crashes and system freezes

Pending Publication Date: 2022-07-08
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In this way, when a certain audio stops playing, the audio status notification thread and the audio instance destruction thread will run at the same time, which will cause the system to freeze or even crash

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 thread processing method and device, computer equipment and storage medium
  • Audio thread processing method and device, computer equipment and storage medium
  • Audio thread processing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] In order to make the purposes, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only These are some, but not all, embodiments of the present disclosure. The components of the disclosed embodiments generally described and illustrated herein may be arranged and designed in a variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure is not intended to limit the scope of the disclosure as claimed, but rather to represent only selected embodiments of the disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work fall within the protection sco...

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 provides an audio thread processing method and device, computer equipment and a storage medium, and the method comprises the steps: enabling a call entry of an audio instance destruction function corresponding to an application to point to a preset audio processing function; the audio instance destroying function is used for destroying the created audio instance; the audio instance is used for audio playing; under the condition that audio playing is stopped, calling an audio processing function pointed by the audio instance destruction function by using a first thread for operating the audio instance; obtaining the operation state of the audio state notification thread detected by executing the audio processing function; and under the condition that the running state indicates that the audio state notification thread has fed back the audio state notification information for the audio, executing an audio instance destroying function by using the first thread to destroy the audio instance.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular, to an audio thread processing method, apparatus, computer device, and storage medium. Background technique [0002] When an application in the IOS system plays audio, it needs to create an audio instance for playing audio. When the audio stops playing, the thread running the audio instance will call the destroy function to destroy the audio instance. But at the same time, the IOS system also runs an audio state notification thread for notifying the state information of each audio played in the system. When the audio stops playing, it is also necessary to run the audio state notification thread to generate notification information for notifying the audio to stop playing and feed it back to the application. [0003] In this way, when a certain audio stops playing, the audio state notification thread and the thread that destroys the audio instance will run at the same ...

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): G06F9/48
CPCG06F9/4881
Inventor 袁章敬潘风周暄承史岩峰曾镇城张冬孙念
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products