Audio data recording method and system and terminal equipment
A technology of audio data and audio, applied in the field of systems and terminal equipment, and audio data recording methods, can solve problems such as users being unable to hear sound
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] like figure 1 As shown, the present embodiment provides a method for recording audio data, which specifically includes:
[0045] Step S101: Identify the recording object according to the recording instruction of the client.
[0046] In a specific application, the recording object includes audio data input through a standard input device (such as a microphone) and audio data played by the client. The client identifies the recording object by obtaining the recording instruction issued by the recording application program installed in the terminal device. It should be noted that the recording instruction above includes a recording object.
[0047] In a specific application, the above-mentioned client is an audio recording client AudioRecord, and when the client AudioRecord recognizes that the recording object is the audio data played within the recording system, the specified input source is MediaRecorder.AudioSource.REMOTE_SUBMIX. Specifically, when it is recognized th...
Embodiment 2
[0070] like image 3 As shown, in this embodiment, step S103 in Embodiment 1 specifically includes:
[0071] Step S201: Control the server to start the first playback thread, and write audio data to the channel of the first playback thread through the audio playback client.
[0072] In a specific application, the control server AudioPolicyService starts the first playback thread, and writes audio data into the channel of the first playback thread through the audio playback client AudioTrack. It should be noted that each playback thread has its corresponding channel through which data transmission is performed.
[0073] Step S202: Transmit the audio data to the audio hardware abstraction layer through the channel of the first playback thread.
[0074] In a specific application, the audio data is correspondingly transmitted to the audio hardware abstraction layer supporting the standard output device through the channel of the first playback thread.
[0075] Step S203: Contro...
Embodiment 3
[0078] like Figure 4 As shown, in this embodiment, step S104 in Embodiment 1 specifically includes:
[0079] Step S301: Control the server to start the second playback thread, and write audio data to the channel of the second playback thread through the audio playback client.
[0080] In a specific application, the control server AudioPolicyService starts the second playback thread PlaybackThread2, and writes audio data into the channel of the second playback thread through the audio playback client AudioTrack.
[0081] Step S302: Create a buffer area in the audio hardware abstraction layer.
[0082] In a specific application, corresponding to the audio data to be stored, a buffer area (buffer storage space) is created at the audio hardware abstraction layer that supports internal recording output.
[0083] In a specific application, a buffer area capable of accommodating the audio data is created according to the required storage space of the audio data.
[0084] Step S30...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com