CN118802865A - Audio sharing method, device and electronic device - Google Patents
Audio sharing method, device and electronic device Download PDFInfo
- Publication number
- CN118802865A CN118802865A CN202410632426.2A CN202410632426A CN118802865A CN 118802865 A CN118802865 A CN 118802865A CN 202410632426 A CN202410632426 A CN 202410632426A CN 118802865 A CN118802865 A CN 118802865A
- Authority
- CN
- China
- Prior art keywords
- terminal
- target
- audio stream
- stream
- target audio
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1083—In-session procedures
- H04L65/1089—In-session procedures by adding media; by removing media
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Telephone Function (AREA)
Abstract
本申请公开了一种音频分享方法、装置及电子设备,属于物联网领域。该方法包括:第一终端在与第二终端通话的过程中,所述第一终端的音频数字信号处理器ADSP将所述第一终端本地播放的目标音频流混入所述第一终端的通话上行数据以及将混入的所述目标音频流静音;响应于共享所述目标音频流的指令,所述第一终端的ADSP解除混入所述通话上行数据中的所述目标音频流的静音,使得所述第二终端接收所述目标音频流。通过上述方法,可以使得用户在通话时将本地播放的音频分享给另一个用户。
The present application discloses an audio sharing method, device and electronic device, which belongs to the field of Internet of Things. The method comprises: during a call between a first terminal and a second terminal, an audio digital signal processor ADSP of the first terminal mixes a target audio stream played locally by the first terminal into the call uplink data of the first terminal and mutes the mixed target audio stream; in response to an instruction to share the target audio stream, the ADSP of the first terminal unmutes the target audio stream mixed into the call uplink data, so that the second terminal receives the target audio stream. Through the above method, a user can share the locally played audio with another user during a call.
Description
技术领域Technical Field
本申请属于物联网领域,具体涉及一种音频分享方法、装置及电子设备。The present application belongs to the field of Internet of Things, and specifically relates to an audio sharing method, device and electronic equipment.
背景技术Background Art
相关的在拨号通话时进行音频共享的技术,只能用某些应用程序(application,APP)提供的播放通话背景音的方式将音频流路由到通话上行中,不能将本设备播放的音频流分享给另一个用户,使用场景有限,限制较多。The related technology for sharing audio during dial-up calls can only route the audio stream to the call uplink by playing the call background sound provided by certain applications (APPs). The audio stream played by this device cannot be shared with another user. The usage scenarios are limited and there are many restrictions.
发明内容Summary of the invention
本申请实施例的目的是提供一种音频分享方法、装置及电子设备,能够解决解决通话时共享音频的使用场景有限的问题。The purpose of the embodiments of the present application is to provide an audio sharing method, device and electronic device, which can solve the problem of limited usage scenarios of sharing audio during calls.
第一方面,本申请实施例提供了一种音频分享方法,该方法包括:In a first aspect, an embodiment of the present application provides an audio sharing method, the method comprising:
第一终端在与第二终端通话的过程中,所述第一终端的音频数字信号处理器ADSP将所述第一终端本地播放的目标音频流混入所述第一终端的通话上行数据以及将混入的目标音频流静音;During a call between a first terminal and a second terminal, an audio digital signal processor ADSP of the first terminal mixes a target audio stream played locally by the first terminal into call uplink data of the first terminal and mutes the mixed target audio stream;
响应于共享所述目标音频流的指令,所述第一终端的ADSP解除混入所述通话上行数据中的所述目标音频流的静音,使得所述第二终端接收所述目标音频流。In response to the instruction to share the target audio stream, the ADSP of the first terminal unmutes the target audio stream mixed into the call uplink data, so that the second terminal receives the target audio stream.
第二方面,本申请实施例提供了一种音频分享装置,该装置包括:In a second aspect, an embodiment of the present application provides an audio sharing device, the device comprising:
静音模块,用于第一终端在与第二终端通话的过程中,将所述第一终端本地播放的目标音频流混入所述第一终端的通话上行数据以及将混入的目标音频流静音;A mute module, used for mixing a target audio stream played locally by the first terminal into the call uplink data of the first terminal and muting the mixed target audio stream during a call between the first terminal and the second terminal;
共享模块,用于响应于共享所述目标音频流的指令,解除混入所述通话上行数据中的所述目标音频流的静音,使得所述第二终端接收所述目标音频流。The sharing module is used to, in response to an instruction to share the target audio stream, unmute the target audio stream mixed into the call uplink data, so that the second terminal receives the target audio stream.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
在本申请实施例中,第一终端在与第二终端通话的过程中,第一终端的音频数字信号处理器ADSP可以将第一终端本地播放的目标音频流混入第一终端的通话上行数据并且将混入的目标音频流静音;响应于共享目标音频流的指令,第一终端的ADSP可以解除混入通话上行数据中的目标音频流的静音,使得第二终端接收目标音频流。通过本申请实施例提供的音频分享方法,在拨号通话中,可以分享本地播放的音频,且没有限制,使用范围更广。In an embodiment of the present application, during a call between a first terminal and a second terminal, an audio digital signal processor ADSP of the first terminal can mix a target audio stream played locally by the first terminal into the call uplink data of the first terminal and mute the mixed target audio stream; in response to an instruction to share the target audio stream, the ADSP of the first terminal can unmute the target audio stream mixed into the call uplink data, so that the second terminal receives the target audio stream. Through the audio sharing method provided in an embodiment of the present application, locally played audio can be shared in a dial-up call without restriction, and has a wider range of uses.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1示出本申请实施例提供的一种音频分享方法的流程示意图;FIG1 is a schematic diagram showing a flow chart of an audio sharing method provided in an embodiment of the present application;
图2示出本申请实施例提供的拨号通话未共享设备内部音频的示意图;FIG2 is a schematic diagram showing a dial-up call provided by an embodiment of the present application that does not share the internal audio of the device;
图3示出本申请实施例提供的拨号通话共享设备内部音频的示意图;FIG3 is a schematic diagram showing the internal audio of a dial-up call sharing device provided in an embodiment of the present application;
图4示出本申请实施例提供的另一种音频分享方法的流程示意图;FIG4 is a schematic diagram showing a flow chart of another audio sharing method provided in an embodiment of the present application;
图5示出本申请实施例提供的一种音频分享装置的结构示意图;FIG5 is a schematic diagram showing the structure of an audio sharing device provided in an embodiment of the present application;
图6示出了本申请一示例性实施例提供的一种电子设备的结构框图;FIG6 shows a structural block diagram of an electronic device provided by an exemplary embodiment of the present application;
图7示出了本申请一示例性实施例提供的另一种电子设备的结构框图。FIG. 7 shows a structural block diagram of another electronic device provided by an exemplary embodiment of the present application.
具体实施方式DETAILED DESCRIPTION
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally indicates that the objects associated with each other are in an "or" relationship.
在相关技术中,音频范围(Audio Reach)架构中的音频校准数据库(AudioCalibration Database,ACDB)较之前架构中的ACDB拥有更强的灵活性和扩展性。AudioReach中的ACDB由音频流和音频设备构成,是一种新的实现方式。每个设备和每个音频流都是独立的,一个设备可以对应多个音频流,一个音频流也可以对应多个设备,可以通过修改ACDB达到在音频数字信号处理器(Audio Digital Signal Processor,ADSP)中静音音频流和将一个音频流混入留一个音频流的目的。In the related art, the Audio Calibration Database (ACDB) in the Audio Reach architecture has greater flexibility and scalability than the ACDB in the previous architecture. The ACDB in AudioReach is composed of audio streams and audio devices, which is a new implementation method. Each device and each audio stream are independent. One device can correspond to multiple audio streams, and one audio stream can also correspond to multiple devices. The purpose of muting the audio stream and mixing one audio stream into the remaining audio stream in the Audio Digital Signal Processor (ADSP) can be achieved by modifying the ACDB.
通话背景音指在拨号通话时播放一段音频模仿一个场景,该背景音通话双方都可以听见。在相关技术中,可以在终端上设置一个专用于播放通话背景音的通路,以APP提供的特定方式播放制定路径的音频以通话背景音的方式将该音频路由到通话上行,但不能将本设备播放的所有音频流传递给另一个用户,使用场景有限。例如,手机等移动终端在拨号通话的情况下,用户一在连接耳机且不以播放背景音的方式播放音频文件时,用户二只能听到用户一手机麦克风采集的声音,无法听到用户一手机内部播放的音频声音。Background sound of a call refers to playing an audio clip to imitate a scene during a dial-up call, and the background sound can be heard by both parties on the call. In the related technology, a channel dedicated to playing background sound of calls can be set up on the terminal, and the audio of the specified path can be played in a specific way provided by the APP to route the audio to the call uplink as background sound of the call, but all audio streams played by this device cannot be passed to another user, and the usage scenarios are limited. For example, when a mobile terminal such as a mobile phone is making a dial-up call, when user one connects to headphones and does not play an audio file as background sound, user two can only hear the sound collected by the microphone of user one's mobile phone, and cannot hear the audio sound played inside user one's mobile phone.
相关播放通话背景音的技术,一般着重于选择通话背景的音乐题材,音频文件必须是手机可以访问的音频文件,如果想将任意应用中的在线音乐资源共享给另一个用户听,或者将游戏中的背景音共享给另一个用户,相关专利技术是无法做到的。The related technology for playing background sound of calls generally focuses on selecting the music theme of the call background. The audio file must be an audio file that can be accessed by the mobile phone. If you want to share online music resources in any application with another user, or share the background sound in the game with another user, the related patent technology cannot do it.
有一些音频资源需要解码才能播放,相关技术对解码的支持不友好,且硬解码相比软解码可以获得更好的播放体验,相关专利技术无法将硬解码的数据混入通话上行。Some audio resources need to be decoded before they can be played. The relevant technology is not friendly to decoding support, and hard decoding can obtain a better playback experience than soft decoding. The relevant patented technology cannot mix the hard-decoded data into the call uplink.
游戏等使用的音频流一般与音乐播放使用的音频流是不同的,如果想任意选择其中一种或多种音频流进行共享,相关技术是无法做到的。The audio streams used for games and the like are generally different from the audio streams used for music playback. If you want to arbitrarily select one or more of the audio streams for sharing, the relevant technology cannot do so.
针对上述问题,本申请实施例提供了一种音频分享方法,以至少解决上述至少之一的问题。In view of the above problems, an embodiment of the present application provides an audio sharing method to at least solve at least one of the above problems.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的音频分享方法进行详细地说明。The audio sharing method provided in the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.
图1示出了本申请一示例性实施例提供的一种音频分享方法,该方法100可以由电子设备执行,该电子设备可以为手机等终端设备。如图1所示,该方法主要包括如下步骤:FIG1 shows an audio sharing method provided by an exemplary embodiment of the present application. The method 100 can be executed by an electronic device, which can be a terminal device such as a mobile phone. As shown in FIG1 , the method mainly includes the following steps:
S101:第一终端在与第二终端通话的过程中,所述第一终端的ADSP将所述第一终端本地播放的目标音频流混入所述第一终端的通话上行数据以及将混入的所述目标音频流静音。S101: During a call between a first terminal and a second terminal, an ADSP of the first terminal mixes a target audio stream played locally by the first terminal into call uplink data of the first terminal and mutes the mixed target audio stream.
本申请实施例可以通过ADSP将设备内部音频流混入通话上行音频通路的音频流,第一终端在与第二终端通话的过程中,第一终端的ADSP可以将第一终端本地播放的目标音频流混入第一终端的通话上行数据并且将混入的目标音频流静音。In the embodiment of the present application, the internal audio stream of the device can be mixed into the audio stream of the call uplink audio path through ADSP. When the first terminal is talking with the second terminal, the ADSP of the first terminal can mix the target audio stream played locally by the first terminal into the call uplink data of the first terminal and mute the mixed target audio stream.
其中,ADSP可以为目标音频流建立音频通道,将该音频通道的音量设置为0即为将该目标音频流静音。Among them, ADSP can establish an audio channel for the target audio stream, and setting the volume of the audio channel to 0 is to mute the target audio stream.
在一种可选的实现方式中,所述方法还包括:在第一终端在与第二终端通话的过程中,所述第一终端采用外接音频设备播放所述目标音频流。In an optional implementation, the method further includes: during a call between the first terminal and the second terminal, the first terminal uses an external audio device to play the target audio stream.
在本申请实施例的上述可选的实现方式中,第一终端在与第二终端通话的过程中,第一终端采用外接音频设备方式播放目标音频流。相比较采用扬声器播放目标音频流,采用外接音频设备,例如,有线耳机、蓝牙耳机、蓝牙音响等方式播放目标音频流,第一终端可以获取更为清楚的目标音频流,避免外界因素干扰,使用体验更佳。In the above optional implementation of the embodiment of the present application, during the call between the first terminal and the second terminal, the first terminal uses an external audio device to play the target audio stream. Compared with using a speaker to play the target audio stream, using an external audio device, such as a wired headset, a Bluetooth headset, a Bluetooth speaker, etc. to play the target audio stream, the first terminal can obtain a clearer target audio stream, avoid interference from external factors, and provide a better user experience.
在某些终端(例如手机)的操作系统和硬件可能只能支持一个音频输出流,因此,无法同时播放两个音频,如果采用某些多媒体框架,可以实现同时播放多个音频,但是会有一定的限制条件,而且可能会对手机的性能产生一定的影响,而采用外接音频设备可以实现同时播放多个音频的效果,因此,在上述实现方式中,第一终端在与第二终端进行通话的过程中,可以通过外接音频设备播放目标音频流,通过第一终端自带的音频播放设置播放通话语音,实现多种功能终端的兼容。The operating system and hardware of some terminals (such as mobile phones) may only support one audio output stream, so two audios cannot be played at the same time. If certain multimedia frameworks are used, multiple audios can be played simultaneously, but there will be certain restrictions and it may have a certain impact on the performance of the mobile phone. The use of external audio devices can achieve the effect of playing multiple audios simultaneously. Therefore, in the above implementation method, during a call between the first terminal and the second terminal, the target audio stream can be played through the external audio device, and the call voice can be played through the audio playback setting of the first terminal, thereby achieving compatibility with terminals with multiple functions.
在一种可选的实现方式中,在所述第一终端的ADSP将所述第一终端本地播放的目标音频流混入所述第一终端的通话上行数据以及将混入的所述目标音频流静音之前,所述方法还包括:在所述目标音频流为压缩状态的情况下,第一终端采用硬解码对所述目标音频流进行解码。In an optional implementation, before the ADSP of the first terminal mixes the target audio stream played locally by the first terminal into the call uplink data of the first terminal and mutes the mixed target audio stream, the method also includes: when the target audio stream is in a compressed state, the first terminal uses hard decoding to decode the target audio stream.
在上述可选的实现方式中,在目标音频流为压缩状态的情况下,第一终端可以采用硬解码对该目标音频流进行解码。通过硬解码对目标音频流进行解码,获得的音质更好,可以支持流畅播放目标音频流,且不需要占用中央处理器(Central Processing Unit,CPU),CPU可以承担更多的其他任务。在相同条件下,相比较软解码,硬解码的速度更快,而且省电,有助于节约资源。In the above optional implementation, when the target audio stream is in a compressed state, the first terminal can decode the target audio stream by hard decoding. By decoding the target audio stream by hard decoding, the sound quality obtained is better, and the target audio stream can be played smoothly without occupying the central processing unit (CPU), and the CPU can take on more other tasks. Under the same conditions, compared with soft decoding, hard decoding is faster, saves power, and helps save resources.
S102:响应于共享所述目标音频流的指令,所述第一终端的ADSP解除混入所述通话上行数据中的所述目标音频流的静音,使得所述第二终端接收所述目标音频流。S102: In response to an instruction to share the target audio stream, the ADSP of the first terminal unmutes the target audio stream mixed into the call uplink data, so that the second terminal receives the target audio stream.
在本申请实施例中,响应于共享目标音频流的指令,第一终端的ADSP可以解除混入通话上行数据中的目标音频流的静音,使得第二终端接收所述目标音频流。因此,在通话过程中,响应于共享目标音频流的指令,第一终端的ADSP解除混入通话上行数据中的目标音频流的静音后,第二终端可以接收到第一终端想要分享的目标音频流,不会受到使用场景的限制。In an embodiment of the present application, in response to an instruction to share a target audio stream, the ADSP of the first terminal can unmute the target audio stream mixed into the call uplink data, so that the second terminal receives the target audio stream. Therefore, during a call, in response to an instruction to share a target audio stream, after the ADSP of the first terminal unmutes the target audio stream mixed into the call uplink data, the second terminal can receive the target audio stream that the first terminal wants to share, without being restricted by the usage scenario.
在一种可选的实现方式中,所述目标音频流包括目标音乐流和目标非音乐流;响应于共享所述目标音频流的指令,所述第一终端的ADSP解除混入所述通话上行数据中的所述目标音频流的静音,包括:In an optional implementation, the target audio stream includes a target music stream and a target non-music stream; in response to an instruction to share the target audio stream, the ADSP of the first terminal unmutes the target audio stream mixed into the call uplink data, including:
响应于共享所述目标音乐流的指令,所述第一终端的ADSP解除混入所述通话上行数据中的目标音乐流的静音,使得所述第二终端接收所述目标音乐流;In response to the instruction to share the target music stream, the ADSP of the first terminal unmutes the target music stream mixed into the call uplink data, so that the second terminal receives the target music stream;
和/或,and/or,
响应于共享所述目标非音乐流的指令,所述第一终端的ADSP解除混入所述第一终端的通话上行数据的目标非音乐流的静音,使得所述第二终端接收所述目标非音乐流。In response to the instruction to share the target non-music stream, the ADSP of the first terminal unmutes the target non-music stream mixed into the call uplink data of the first terminal, so that the second terminal receives the target non-music stream.
本申请实施例的上述可选实现方式中,第一终端的ADSP可以将本地播放的所有音频流在ADSP中混入通话上行,并且默认将混入的音频流静音,有音乐和非音乐两种音频流可选,音乐流指播放音乐、视频等输出的声音,非音乐流指游戏、通知音、铃声等输出的声音。建立通话连接后,默认不选择音频流共享。用户可以通过应用选择要共享的音频流,此时应用可以向ADSP发送消息,当ADSP接收到消息后将需要共享的音频流解除静音,此时共享的音频流可以被另一个通话用户听到。如果选择共享目标音乐流,响应于共享该目标音乐流的指令,第一终端的ADSP可以解除混入通话上行数据中的目标音乐流的静音,使得第二终端接收目标音乐流,正在通话的两个用户可以同时接收目标音乐流;如果选择共享目标非音乐流,响应于共享该目标非音乐流的指令,第一终端的ADSP可以解除混入通话上行数据中的目标非音乐流的静音,使得第二终端接收该目标非音乐流,正在通话的两个用户可以同时接收目标非音乐流。In the above optional implementation of the embodiment of the present application, the ADSP of the first terminal can mix all locally played audio streams into the call uplink in the ADSP, and mute the mixed audio streams by default. There are two audio streams to choose from: music and non-music. The music stream refers to the sound output by playing music, videos, etc., and the non-music stream refers to the sound output by games, notification sounds, ringtones, etc. After the call connection is established, audio stream sharing is not selected by default. The user can select the audio stream to be shared through the application. At this time, the application can send a message to the ADSP. When the ADSP receives the message, it will unmute the audio stream that needs to be shared. At this time, the shared audio stream can be heard by another call user. If you choose to share the target music stream, in response to the instruction to share the target music stream, the ADSP of the first terminal can unmute the target music stream mixed in the call uplink data, so that the second terminal receives the target music stream, and the two users who are talking on the phone can receive the target music stream at the same time; if you choose to share the target non-music stream, in response to the instruction to share the target non-music stream, the ADSP of the first terminal can unmute the target non-music stream mixed in the call uplink data, so that the second terminal receives the target non-music stream, and the two users who are talking on the phone can receive the target non-music stream at the same time.
如图2所示,用户使用终端设备1进行通话,当电话接通后,用户可以在设备中播放铃声或音乐,终端设备1听到的声音为终端设备2麦克风采集的声音以及音乐与铃声的声音,终端设备2只能听到终端设备1麦克风录制的声音。As shown in Figure 2, the user uses terminal device 1 to make a call. When the call is connected, the user can play a ringtone or music on the device. The sound heard by terminal device 1 is the sound collected by the microphone of terminal device 2 as well as the sound of music and ringtone. Terminal device 2 can only hear the sound recorded by the microphone of terminal device 1.
如图3所示,用户使用终端设备1进行通话,当电话接通后,用户可以选择共享音乐流或非音乐流,此时播放音乐(可以使用硬解码,音质更好)与铃声,终端设备1听到的声音为终端设备2麦克风采集的声音以及音乐与铃声的声音,终端设备2听到的声音为终端设备1麦克风采集的声音以及终端设备1播放的音乐与铃声的声音。As shown in Figure 3, the user uses terminal device 1 to make a call. When the call is connected, the user can choose to share the music stream or the non-music stream. At this time, music (hard decoding can be used for better sound quality) and ringtones are played. The sound heard by terminal device 1 is the sound collected by the microphone of terminal device 2 as well as the sound of music and ringtones. The sound heard by terminal device 2 is the sound collected by the microphone of terminal device 1 as well as the sound of music and ringtones played by terminal device 1.
在一种可选的实现方式中,在响应于共享所述目标音频流的指令,所述第一终端的ADSP解除混入所述通话上行数据中的所述目标音频流的静音之后,所述方法还包括:In an optional implementation, after the ADSP of the first terminal unmutes the target audio stream mixed into the call uplink data in response to the instruction to share the target audio stream, the method further includes:
响应于放弃共享所述目标音频流的指令,所述第一终端的ADSP将混入所述通话上行数据中的所述目标音频流静音。In response to the instruction to give up sharing the target audio stream, the ADSP of the first terminal mutes the target audio stream mixed into the call uplink data.
在本申请实施例中,当用户不想共享音频流时,可以通过应用选择关闭音频流,应用下发放弃共享目标音频流的指令,响应于放弃共享目标音频流的指令,第一终端的ADSP可以将不需共享的音频流静音,另一个用户将不能听到未被共享的音频流。In an embodiment of the present application, when the user does not want to share the audio stream, he can choose to close the audio stream through the application. The application sends an instruction to abandon sharing the target audio stream. In response to the instruction to abandon sharing the target audio stream, the ADSP of the first terminal can mute the audio stream that does not need to be shared, and the other user will not be able to hear the unshared audio stream.
在一种可选的实现方式中,响应于放弃共享所述目标音频流的指令,所述第一终端的ADSP将混入所述通话上行数据中的所述目标音频流静音,包括:In an optional implementation, in response to an instruction to abandon sharing of the target audio stream, the ADSP of the first terminal mutes the target audio stream mixed into the call uplink data, including:
响应于放弃共享所述目标音乐流的指令,所述第一终端的ADSP将混入所述通话上行数据中的所述目标音乐流静音;In response to the instruction to abandon sharing the target music stream, the ADSP of the first terminal mutes the target music stream mixed into the call uplink data;
和/或,and/or,
响应于放弃共享所述目标非音乐流的指令,所述第一终端的ADSP将混入所述通话上行数据中的所述目标非音乐流静音。In response to the instruction to give up sharing the target non-music stream, the ADSP of the first terminal mutes the target non-music stream mixed into the call uplink data.
可选地,目标音频流包括目标音乐流和目标非音乐流两种,如果放弃共享目标音乐流,响应于放弃共享目标音乐流的指令,第一终端的ADSP可以将混入通话上行数据中的目标音乐流静音,另一个用户无法听到目标音乐流。如果放弃共享目标非音乐流,响应于放弃共享目标非音乐流的指令,第一终端的ADSP可以将混入通话上行数据中的目标非音乐流静音,另一个用户无法听到目标非音乐流。Optionally, the target audio stream includes a target music stream and a target non-music stream. If the target music stream is abandoned, in response to the instruction to abandon the sharing of the target music stream, the ADSP of the first terminal can mute the target music stream mixed in the call uplink data, and the other user cannot hear the target music stream. If the target non-music stream is abandoned, in response to the instruction to abandon the sharing of the target non-music stream, the ADSP of the first terminal can mute the target non-music stream mixed in the call uplink data, and the other user cannot hear the target non-music stream.
在本申请实施例提供的音频分享方法中,第一终端在与第二终端通话的过程中,第一终端的音频数字信号处理器ADSP可以将第一终端本地播放的目标音频流混入第一终端的通话上行数据并且将混入的目标音频流静音;响应于共享目标音频流的指令,第一终端的ADSP可以解除混入通话上行数据中的目标音频流的静音,使得第二终端接收目标音频流。通过上述方法,在拨号通话中,可以任意分享本地播放的音频,且没有限制(音乐流与非音乐流均可分享,还可以通过硬解码对压缩的目标音频流进行解码),使用范围更广。In the audio sharing method provided in the embodiment of the present application, during a call between a first terminal and a second terminal, an audio digital signal processor ADSP of the first terminal can mix a target audio stream played locally by the first terminal into the call uplink data of the first terminal and mute the mixed target audio stream; in response to an instruction to share the target audio stream, the ADSP of the first terminal can unmute the target audio stream mixed into the call uplink data, so that the second terminal receives the target audio stream. Through the above method, in a dial-up call, locally played audio can be shared arbitrarily without restrictions (both music streams and non-music streams can be shared, and the compressed target audio stream can also be decoded by hard decoding), and the scope of use is wider.
图4示出了本申请一示例性实施例提供的另一种音频分享方法,该方法400可以由电子设备执行,该电子设备可以为手机等终端设备。如图4所示,该方法主要包括如下步骤:FIG4 shows another audio sharing method provided by an exemplary embodiment of the present application. The method 400 can be executed by an electronic device, which can be a terminal device such as a mobile phone. As shown in FIG4 , the method mainly includes the following steps:
S401:与另一用户建立通话连接,音乐流、与非音乐流未共享。建立通话连接时,将终端设备播放的音频流(音乐流、与非音乐流)混入通话上行数据中且保持静音。S401: Establish a call connection with another user, and the music stream and the non-music stream are not shared. When establishing the call connection, the audio stream (music stream and non-music stream) played by the terminal device is mixed into the call uplink data and kept muted.
S402:用户是否选择共享音乐流?如果用户选择共享音乐流,则执行S4021步骤,如果用户不共享音乐流,则执行S403步骤。S402: Does the user choose to share the music stream? If the user chooses to share the music stream, then step S4021 is executed; if the user does not share the music stream, then step S403 is executed.
S4021:应用下发消息到ADSP,ADSP取消对混入通话上行的音频流的静音。应用可以下发消息到ADSP,ADSP可以取消对混入通话上行的音频流(此时是音乐流)的静音。另一个用户可以接收该用户共享的音乐流。S4021: The application sends a message to the ADSP, and the ADSP unmutes the audio stream mixed into the uplink of the call. The application can send a message to the ADSP, and the ADSP can unmutes the audio stream (the music stream in this case) mixed into the uplink of the call. Another user can receive the music stream shared by the user.
S403:用户是否选择共享非音乐流?如果用户选择共享非音乐流,则执行S4031步骤,如果用户不共享非音乐流,则执行S404步骤。S403: Does the user choose to share the non-music stream? If the user chooses to share the non-music stream, then step S4031 is executed; if the user does not share the non-music stream, then step S404 is executed.
S4031:应用下发消息到ADSP,ADSP取消对混入通话上行的非音频流的静音。应用可以下发消息到ADSP,ADSP可以取消对混入通话上行的音频流(此时是非音乐流)的静音。另一个用户可以接收该用户共享的非音乐流。S4031: The application sends a message to the ADSP, and the ADSP unmutes the non-audio stream mixed into the call uplink. The application can send a message to the ADSP, and the ADSP can unmutes the audio stream (non-music stream in this case) mixed into the call uplink. Another user can receive the non-music stream shared by the user.
S404:用户是否选择取消共享音乐流?如果用户选择取消共享音乐流,则执行S4041步骤,如果用户不选择取消共享非音乐流,则执行S405步骤。S404: Does the user choose to cancel the sharing of the music stream? If the user chooses to cancel the sharing of the music stream, step S4041 is executed; if the user does not choose to cancel the sharing of the non-music stream, step S405 is executed.
S4041:应用下发消息到ADSP,ADSP静音混入通话上行的音频流。应用可以下发消息到ADSP,ADSP可以重新保持对混入通话上行的音频流(此时是音乐流)的静音。另一个用户无法可以接收该用户共享的音乐流。S4041: The application sends a message to the ADSP, and the ADSP mutes the audio stream mixed into the call uplink. The application can send a message to the ADSP, and the ADSP can mute the audio stream mixed into the call uplink (this is the music stream). Another user cannot receive the music stream shared by the user.
S405:用户是否选择取消共享非音乐流?如果用户选择取消共享非音乐流,则执行S4051步骤。S405: Does the user choose to cancel sharing of the non-music stream? If the user chooses to cancel sharing of the non-music stream, step S4051 is executed.
S4051:应用下发消息到ADSP,ADSP静音混入通话上行的非音频流。应用可以下发消息到ADSP,ADSP可以重新保持对混入通话上行的音频流(此时是非音乐流)的静音。另一个用户无法可以接收该用户共享的非音乐流。S4051: The application sends a message to the ADSP, and the ADSP mutes the non-audio stream mixed into the call uplink. The application can send a message to the ADSP, and the ADSP can mute the audio stream mixed into the call uplink (non-music stream at this time). Another user cannot receive the non-music stream shared by the user.
S406:结束通话。S406: End the call.
通过本申请实施例提供的音频分享方法,可以将第一终端本地播放的目标音频流混入第一终端的通话上行数据并且将混入的目标音频流静音;响应于共享目标音频流的指令,第一终端的ADSP可以解除混入通话上行数据中的目标音频流的静音,使得第二终端接收目标音频流;以及响应于取消共享目标音频流的指令,第一终端的ADSP可以将混入通话上行数据中的目标音频流的静音,通过上述方法,在拨号通话中,可以任意分享本地播放的音乐流与非音乐流,使用范围更广。Through the audio sharing method provided in the embodiment of the present application, the target audio stream played locally on the first terminal can be mixed into the call uplink data of the first terminal and the mixed target audio stream can be muted; in response to the instruction to share the target audio stream, the ADSP of the first terminal can unmute the target audio stream mixed into the call uplink data, so that the second terminal receives the target audio stream; and in response to the instruction to cancel the sharing of the target audio stream, the ADSP of the first terminal can mute the target audio stream mixed into the call uplink data. Through the above method, in a dial-up call, locally played music streams and non-music streams can be shared arbitrarily, and the scope of use is wider.
本申请实施例提供的音频分享方法,执行主体可以为音频分享装置。本申请实施例中以音频分享装置执行音频分享方法为例,说明本申请实施例提供的音频分享装置。The audio sharing method provided in the embodiment of the present application can be executed by an audio sharing device. In the embodiment of the present application, an audio sharing device executing the audio sharing method is taken as an example to illustrate the audio sharing device provided in the embodiment of the present application.
图5示出了本申请一示例性实施例提供的音频分享装置的结构示意图,该音频分享装置可以实现如图1或图4所示实施例中的全部或部分内容,该音频分享装置包括:静音模块501以及共享模块502。FIG5 shows a schematic diagram of the structure of an audio sharing device provided by an exemplary embodiment of the present application. The audio sharing device can implement all or part of the contents of the embodiment shown in FIG1 or FIG4 . The audio sharing device includes: a mute module 501 and a sharing module 502 .
在本申请实施例中,静音模块501,用于第一终端在与第二终端通话的过程中,将所述第一终端本地播放的目标音频流混入所述第一终端的通话上行数据以及将混入的目标音频流静音;共享模块502,用于响应于共享所述目标音频流的指令,解除混入所述通话上行数据中的所述目标音频流的静音,使得所述第二终端接收所述目标音频流。In an embodiment of the present application, a mute module 501 is used for mixing a target audio stream played locally by a first terminal into the call uplink data of the first terminal and muting the mixed target audio stream during a call between the first terminal and the second terminal; a sharing module 502 is used for unmuting the target audio stream mixed into the call uplink data in response to an instruction to share the target audio stream, so that the second terminal receives the target audio stream.
可选地,在响应于共享所述目标音频流的指令,所述第一终端的ADSP解除混入所述通话上行数据中的所述目标音频流的静音之后,静音模块501还用于:Optionally, after the ADSP of the first terminal unmutes the target audio stream mixed into the call uplink data in response to the instruction to share the target audio stream, the mute module 501 is further configured to:
响应于放弃共享所述目标音频流的指令,将混入所述通话上行数据中的所述目标音频流静音。In response to an instruction to give up sharing the target audio stream, the target audio stream mixed into the call uplink data is muted.
可选地,所述目标音频流包括目标音乐流和目标非音乐流;共享模块502,用于响应于共享所述目标音频流的指令,解除混入所述通话上行数据中的所述目标音频流的静音,包括:Optionally, the target audio stream includes a target music stream and a target non-music stream; the sharing module 502 is used to respond to an instruction to share the target audio stream and unmute the target audio stream mixed in the call uplink data, including:
响应于共享所述目标音乐流的指令,解除混入所述通话上行数据中的目标音乐流的静音,使得所述第二终端接收所述目标音乐流;In response to the instruction to share the target music stream, unmute the target music stream mixed into the call uplink data, so that the second terminal receives the target music stream;
和/或,and/or,
响应于共享所述目标非音乐流的指令,解除混入所述第一终端的通话上行数据的目标非音乐流的静音,使得所述第二终端接收所述目标非音乐流。In response to the instruction to share the target non-music stream, the target non-music stream mixed into the call uplink data of the first terminal is muted, so that the second terminal receives the target non-music stream.
可选地,静音模块501用于响应于放弃共享所述目标音频流的指令,所将混入所述通话上行数据中的所述目标音频流静音,包括:Optionally, the muting module 501 is configured to, in response to an instruction to abandon sharing of the target audio stream, mute the target audio stream mixed into the call uplink data, including:
响应于放弃共享所述目标音乐流的指令,将混入所述通话上行数据中的所述目标音乐流静音;In response to an instruction to abandon sharing of the target music stream, muting the target music stream mixed into the call uplink data;
和/或,and/or,
响应于放弃共享所述目标非音乐流的指令,将混入所述通话上行数据中的所述目标非音乐流静音。In response to the instruction to give up sharing the target non-music stream, the target non-music stream mixed into the call uplink data is muted.
可选地,在将所述第一终端本地播放的目标音频流混入所述第一终端的通话上行数据以及将混入的目标音频流静音之前,静音模块501还用于:Optionally, before mixing the target audio stream played locally by the first terminal into the call uplink data of the first terminal and muting the mixed target audio stream, the muting module 501 is further used to:
在所述目标音频流为压缩状态的情况下,采用硬解码对所述目标音频流进行解码。When the target audio stream is in a compressed state, hard decoding is used to decode the target audio stream.
可选地,在第一终端在与第二终端通话的过程中,所述第一终端采用外接音频设备播放所述目标音频流。Optionally, during a conversation between the first terminal and the second terminal, the first terminal uses an external audio device to play the target audio stream.
本申请实施例中的音频分享装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtualreality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personalcomputer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personalcomputer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The audio sharing device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
本申请实施例中的音频分享装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The audio sharing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
本申请实施例提供的音频分享装置能够实现图1或图4的方法实施例实现的各个过程,为避免重复,这里不再赘述。The audio sharing device provided in the embodiment of the present application can implement each process implemented by the method embodiment of FIG. 1 or FIG. 4 , and will not be described again here to avoid repetition.
可选地,如图6所示,本申请实施例还提供一种电子设备600,包括处理器601和存储器602,存储器602上存储有可在所述处理器601上运行的程序或指令,该程序或指令被处理器601执行时实现上述音频分享方法的方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 6, an embodiment of the present application also provides an electronic device 600, including a processor 601 and a memory 602, and the memory 602 stores a program or instruction that can be executed on the processor 601. When the program or instruction is executed by the processor 601, the various steps of the method embodiment of the above-mentioned audio sharing method are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
图7示出了本申请一个示例性实施例示出的另一种电子设备700的结构框图。该电子设备700可以实现为智能手机、平板电脑、笔记本电脑、台式电脑、智能手表及电视等。电子设备700还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。FIG7 shows a block diagram of another electronic device 700 according to an exemplary embodiment of the present application. The electronic device 700 may be implemented as a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart watch, a TV, etc. The electronic device 700 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal, etc.
通常,电子设备700包括有:处理器701和存储器702。Typically, the electronic device 700 includes a processor 701 and a memory 702 .
处理器701可以包括一个或多个处理核心,比如4核心处理器、10核心处理器等。处理器701可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器701也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central ProcessingUnit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器701可以集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器701还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。The processor 701 may include one or more processing cores, such as a 4-core processor, a 10-core processor, etc. The processor 701 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 701 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
存储器702可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器702还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器702中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器701所执行以实现本申请中方法实施例示出的音频分享方法中的全部或部分步骤。The memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 702 is used to store at least one instruction, which is used to be executed by the processor 701 to implement all or part of the steps in the audio sharing method shown in the method embodiment of the present application.
在一些实施例中,电子设备700还可选包括有:外围设备接口703和至少一个外围设备。处理器701、存储器702和外围设备接口703之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口703相连。具体地,外围设备包括:射频电路704、显示屏705、摄像头组件706、音频电路707和电源708中的至少一种。In some embodiments, the electronic device 700 may further optionally include: a peripheral device interface 703 and at least one peripheral device. The processor 701, the memory 702 and the peripheral device interface 703 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 703 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 704, a display screen 705, a camera assembly 706, an audio circuit 707 and a power supply 708.
在一些实施例中,电子设备700还包括有一个或多个传感器709。该一个或多个传感器709包括但不限于:加速度传感器710、陀螺仪传感器711、压力传感器712、光学传感器713以及接近传感器714。In some embodiments, the electronic device 700 further includes one or more sensors 709 , including but not limited to: an acceleration sensor 710 , a gyroscope sensor 711 , a pressure sensor 712 , an optical sensor 713 , and a proximity sensor 714 .
本领域技术人员可以理解,图7中示出的结构并不构成对电子设备700的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art will appreciate that the structure shown in FIG. 7 does not limit the electronic device 700 , and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述音频分享方法的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application also provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the method embodiment of the above-mentioned audio sharing method is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述音频分享方法的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the method embodiment of the above-mentioned audio sharing method, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
本申请实施例提供一种计算机程序产品,该计算机程序产品被存储在存储介质中,该计算机程序产品被至少一个处理器执行以实现如上述音频分享方法的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application provides a computer program product, which is stored in a storage medium. The computer program product is executed by at least one processor to implement the various processes of the method embodiment of the above-mentioned audio sharing method, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410632426.2A CN118802865A (en) | 2024-05-21 | 2024-05-21 | Audio sharing method, device and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410632426.2A CN118802865A (en) | 2024-05-21 | 2024-05-21 | Audio sharing method, device and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118802865A true CN118802865A (en) | 2024-10-18 |
Family
ID=93021205
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410632426.2A Pending CN118802865A (en) | 2024-05-21 | 2024-05-21 | Audio sharing method, device and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118802865A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050086138A (en) * | 2004-02-25 | 2005-08-30 | 에스케이텔레텍주식회사 | Method for talking with multiple talkers using mobile telephone |
CN103516919A (en) * | 2012-06-27 | 2014-01-15 | 中兴通讯股份有限公司 | Method, device and terminal for sending audio data |
CN105120070A (en) * | 2015-07-16 | 2015-12-02 | 努比亚技术有限公司 | Methods and terminal for playing music during call |
CN115617303A (en) * | 2022-10-28 | 2023-01-17 | 深圳前海深蕾半导体有限公司 | Audio input and output system, method and electronic equipment |
CN115620736A (en) * | 2021-07-16 | 2023-01-17 | 腾讯科技(深圳)有限公司 | Audio sharing method and device, computer readable storage medium and electronic equipment |
-
2024
- 2024-05-21 CN CN202410632426.2A patent/CN118802865A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050086138A (en) * | 2004-02-25 | 2005-08-30 | 에스케이텔레텍주식회사 | Method for talking with multiple talkers using mobile telephone |
CN103516919A (en) * | 2012-06-27 | 2014-01-15 | 中兴通讯股份有限公司 | Method, device and terminal for sending audio data |
CN105120070A (en) * | 2015-07-16 | 2015-12-02 | 努比亚技术有限公司 | Methods and terminal for playing music during call |
CN115620736A (en) * | 2021-07-16 | 2023-01-17 | 腾讯科技(深圳)有限公司 | Audio sharing method and device, computer readable storage medium and electronic equipment |
CN115617303A (en) * | 2022-10-28 | 2023-01-17 | 深圳前海深蕾半导体有限公司 | Audio input and output system, method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7853649B2 (en) | Audio processing for improved user experience | |
CN109445740B (en) | Audio playback method, device, electronic device and storage medium | |
WO2022037261A1 (en) | Method and device for audio play and device management | |
CN107562405B (en) | Audio playback control method, device, storage medium and mobile terminal | |
CN106790940B (en) | Recording method, recording playing method, device and terminal | |
WO2016150316A1 (en) | Audio output control method and apparatus | |
CN112673651B (en) | Multi-view multi-user audio user experience | |
WO2018152679A1 (en) | Audio file transmitting method and apparatus, audio file receiving method and apparatus, devices and system | |
US11120808B2 (en) | Audio playing method and apparatus, and terminal | |
CN107301028B (en) | Audio data processing method and device based on multi-person remote call | |
CN113891151A (en) | An audio processing method, device, electronic device and storage medium | |
CN107371102A (en) | Audio playback volume control method, device, storage medium and mobile terminal | |
CN116684856A (en) | Bluetooth connection method and device | |
WO2017101327A1 (en) | Method and device for collective playback of high-fidelity sound by several players | |
CN113423007A (en) | Control method and device for multi-audio playing, electronic equipment and storage medium | |
CN113852780B (en) | Audio data processing method and electronic equipment | |
CN113360117B (en) | Control method, device, terminal and storage medium of electronic equipment | |
CN109155803B (en) | Audio data processing method, terminal device and storage medium | |
CN118802865A (en) | Audio sharing method, device and electronic device | |
CN107566595A (en) | Volume control method, device and storage medium of mobile terminal and mobile terminal | |
KR101054740B1 (en) | Smartphone capable of storing and providing a call background sound and a method of providing a call background sound using the same | |
CN116036591A (en) | Sound effect optimization method, device, equipment and storage medium | |
JP2022076189A (en) | Voice processing device, voice processing method, voice processing system, and terminal | |
CN115412806B (en) | Audio routing method, device and electronic device | |
CN116567489B (en) | An audio data processing method and related devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |