技术领域technical field
本公开涉及智能硬件技术领域,尤其涉及音频播放方法及装置。The present disclosure relates to the technical field of intelligent hardware, and in particular to an audio playing method and device.
背景技术Background technique
在终端(如手机)上,可以通过耳机输出音频,例如通过耳机来听音乐。相关技术中,耳机可作为手机音频信号的一个输出播放设备,当系统检测到插入耳机后,会自动将音频的输出播放设备切换为耳机。用户在手机上播放音乐时,就可以通过耳机来听了。On a terminal (such as a mobile phone), audio can be output through an earphone, for example, listening to music through an earphone. In the related art, the earphone can be used as an output playback device of the audio signal of the mobile phone. When the system detects that the earphone is plugged in, it will automatically switch the audio output playback device to the earphone. When users play music on their mobile phones, they can listen to it through earphones.
发明内容Contents of the invention
本公开实施例提供音频播放方法及装置。所述技术方案如下:Embodiments of the present disclosure provide an audio playing method and device. Described technical scheme is as follows:
根据本公开实施例的第一方面,提供一种音频播放方法,包括:According to a first aspect of an embodiment of the present disclosure, an audio playback method is provided, including:
当检测到耳机接入时,监测是否有音频信号输出请求;When the headphone connection is detected, monitor whether there is an audio signal output request;
当监测到有音频信号输请求出时,将所述音频信号输出请求挂起预设时长;When an audio signal output request is detected, suspending the audio signal output request for a preset duration;
当所述预设时长结束时,输出所述音频信号。When the preset duration ends, the audio signal is output.
在一个实施例中,所述当监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长,可包括:In one embodiment, when an audio signal output request is detected, suspending the audio signal output request for a preset duration may include:
当监测到有音频信号输出请求时,确定所述音频信号输出请求是否为在所述耳机接入后的第一次输出请求;When an audio signal output request is detected, determine whether the audio signal output request is the first output request after the earphone is connected;
当确定出所述音频信号输出请求为在所述耳机接入后的第一次输出请求时,将所述音频信号输出请求挂起预设时长。When it is determined that the audio signal output request is the first output request after the earphone is connected, suspend the audio signal output request for a preset duration.
在一个实施例中,所述监测是否有音频信号输出请求,可包括:In one embodiment, the monitoring whether there is an audio signal output request may include:
监测在所述耳机接入后的预设时间段内是否有音频信号输出请求;Monitoring whether there is an audio signal output request within a preset time period after the earphone is connected;
所述当监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长,包括:When the audio signal output request is detected, suspending the audio signal output request for a preset duration includes:
当在所述耳机接入后的预设时间段内监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长。When an audio signal output request is detected within a preset time period after the earphone is connected, the audio signal output request is suspended for a preset time period.
在一个实施例中,所述方法还可包括:In one embodiment, the method may also include:
当在所述耳机接入后的预设时间段内没有监测到音频信号输出请求时,继续监测是否有音频信号输出请求;When no audio signal output request is detected within the preset time period after the earphone is connected, continue to monitor whether there is an audio signal output request;
当监测到有音频信号输出请求时,立即输出所述音频信号。When an audio signal output request is detected, the audio signal is output immediately.
在一个实施例中,所述方法还可包括:In one embodiment, the method may also include:
确定挂起音频信号输出请求的选项是否开启;Determine whether the option to suspend the audio signal output request is enabled;
所述当监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长,包括:When the audio signal output request is detected, suspending the audio signal output request for a preset duration includes:
当挂起音频信号输出请求的选项开启且监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长;When the option of suspending the audio signal output request is turned on and an audio signal output request is detected, the audio signal output request is suspended for a preset duration;
当挂起音频信号输出请求的选项未开启时,当监测到有音频信号输出请求时,输出所述音频信号。When the option of suspending the audio signal output request is not turned on, when an audio signal output request is detected, the audio signal is output.
根据本公开实施例的第二方面,提供一种音频播放装置,包括:According to a second aspect of an embodiment of the present disclosure, an audio playback device is provided, including:
第一监测模块,用于当检测到耳机接入时,监测是否有音频信号输出请求;The first monitoring module is used to monitor whether there is an audio signal output request when an earphone is detected;
挂起模块,用于当监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长;A suspend module, configured to suspend the audio signal output request for a preset duration when an audio signal output request is detected;
第一输出模块,用于当所述预设时长结束时,输出所述音频信号。The first output module is configured to output the audio signal when the preset duration ends.
在一个实施例中,所述挂起模块,可包括:In one embodiment, the suspension module may include:
确定子模块,当监测到有音频信号输出请求时,确定所述音频信号输出请求是否为在所述耳机接入后的第一次输出请求;A determining submodule, when an audio signal output request is detected, determines whether the audio signal output request is the first output request after the earphone is connected;
第一挂起子模块,当确定出所述音频信号输出请求为在所述耳机接入后的第一次输出请求时,将所述音频信号输出请求挂起预设时长。The first suspending submodule suspends the audio signal output request for a preset duration when it is determined that the audio signal output request is the first output request after the earphone is connected.
在一个实施例中,所述第一监测模块,可包括:In one embodiment, the first monitoring module may include:
监测子模块,用于监测在所述耳机接入后的预设时间段内是否有音频信号输出请求;The monitoring sub-module is used to monitor whether there is an audio signal output request within a preset time period after the earphone is connected;
所述挂起模块,包括:The suspension module includes:
第二挂起子模块,用于当在所述耳机接入后的预设时间段内监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长。The second suspend sub-module is configured to suspend the audio signal output request for a preset duration when an audio signal output request is detected within a preset time period after the earphone is connected.
在一个实施例中,所述装置还可包括:In one embodiment, the device may also include:
第二监测模块,用于当在所述耳机接入后的预设时间段内没有监测到音频信号输出请求时,继续监测是否有音频信号输出请求;The second monitoring module is used to continue monitoring whether there is an audio signal output request when no audio signal output request is detected within a preset time period after the earphone is connected;
第二输出模块,用于当监测到有音频信号输出请求时,立即输出所述音频信号。The second output module is configured to output the audio signal immediately when an audio signal output request is detected.
在一个实施例中,所述装置还可包括:In one embodiment, the device may also include:
确定模块,用于确定挂起音频信号输出请求的选项是否开启;A determination module, configured to determine whether the option to suspend the audio signal output request is enabled;
所述挂起模块,包括:The suspension module includes:
第三挂起子模块,用于当挂起音频信号输出请求的选项开启且监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长;The third suspend submodule is used to suspend the audio signal output request for a preset duration when the option to suspend the audio signal output request is enabled and an audio signal output request is detected;
输出子模块,用于当挂起音频信号输出请求的选项未开启时,当监测到有音频信号输出请求时,输出所述音频信号。The output sub-module is configured to output the audio signal when an audio signal output request is detected when the option to suspend the audio signal output request is not enabled.
根据本公开实施例的第三方面,提供一种音频播放装置,包括:According to a third aspect of an embodiment of the present disclosure, an audio playback device is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
当检测到耳机接入时,监测是否有音频信号输出请求;When the headphone connection is detected, monitor whether there is an audio signal output request;
当监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长;When an audio signal output request is detected, suspend the audio signal output request for a preset duration;
当所述预设时长结束时,输出所述音频信号。When the preset duration ends, the audio signal is output.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
上述技术方案,通过在检测到耳机接入时,监测是否有音频信号输出请求;当监测到有音频信号输请求出时,将音频信号输出请求挂起预设时长;当预设时长结束时,输出音频信号。上述技术方案能够在耳机接入终端后,戴上耳机前,将音频信号输出请求挂起一定时长,从而使用户戴上耳机后能够听到完整的音频,提升用户的收听体验。The above technical solution monitors whether there is an audio signal output request when the earphone is connected; when an audio signal output request is detected, suspends the audio signal output request for a preset duration; when the preset duration ends, Output audio signal. The above technical solution can suspend the audio signal output request for a certain period of time after the earphone is connected to the terminal and before putting on the earphone, so that the user can hear the complete audio after putting on the earphone, thereby improving the user's listening experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的音频播放方法的流程图。Fig. 1 is a flow chart of an audio playing method according to an exemplary embodiment.
图2是根据一示例性实施例示出的音频播放方法中步骤S102的流程图。Fig. 2 is a flow chart of step S102 in the audio playing method according to an exemplary embodiment.
图3是根据一示例性实施例示出的又一种音频播放方法的流程图。Fig. 3 is a flow chart showing another audio playing method according to an exemplary embodiment.
图4A是根据一示例性实施例示出的再一种音频播放方法的流程图。Fig. 4A is a flow chart showing another audio playback method according to an exemplary embodiment.
图4B是根据一示例性实施例示出的再一种音频播放方法的流程图。Fig. 4B is a flowchart of another audio playing method according to an exemplary embodiment.
图5是根据一示例性实施例示出的音频播放装置的框图。Fig. 5 is a block diagram of an audio playback device according to an exemplary embodiment.
图6是根据一示例性实施例示出的一种音频播放装置中挂起模块52的框图。Fig. 6 is a block diagram of a suspend module 52 in an audio playback device according to an exemplary embodiment.
图7是根据一示例性实施例示出的又一种音频播放装置的框图。Fig. 7 is a block diagram of another audio playback device according to an exemplary embodiment.
图8是根据一示例性实施例示出的再一种音频播放装置的框图。Fig. 8 is a block diagram of another audio playback device according to an exemplary embodiment.
图9是根据一示例性实施例示出的再一种音频播放装置的框图。Fig. 9 is a block diagram of another audio playback device according to an exemplary embodiment.
图10是根据一示例性实施例示出的适用于音频播放装置的框图。Fig. 10 is a block diagram showing an audio playing device according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
相关技术中,如果用户想戴着耳机听音乐,当音乐处于播放状态时,插入耳机后会立即通过耳机来播放音乐。但是日常使用中,以听音乐来举例,用户的实际使用场景可能是:第一步,将耳机插入手机;第二步,在手机上点击开始播放音乐;第三步,将耳机戴上进行收听。在此种场景下,用户在手机上点击开始播放音乐,此时耳机已经在进行播放了,但是用户还没戴上耳机,当用户在几秒钟之后戴上耳机时,音乐已经播放了几秒钟。对于戴耳机的几秒钟,用户其实是没有听到音乐的,但是耳机此时已经开始播放了。那么对于用户来说,这几秒种内播放的音乐没有听到,其收听的体验是不完整的。本公开实施例提供了一种音频播放方法,其可以控制耳机延迟输出音频,其通过在检测到耳机接入时,监测是否有音频信号输出请求;当监测到有音频信号输请求出时,将音频信号输出请求挂起预设时长;当预设时长结束时,输出音频信号。上述技术方案解决了用耳机播放音乐时,用户佩戴耳机过程中无法听到音乐,导致的收听体验不完整的问题。其通过在耳机接入终端后,戴上耳机前,将音频信号输出请求挂起一定时长,从而使用户戴上耳机后能够听到完整的音频,提升用户的收听体验。In related technologies, if the user wants to listen to music with earphones, when the music is playing, the music will be played through the earphones immediately after the earphones are plugged in. But in daily use, taking listening to music as an example, the actual usage scenario of the user may be: first step, plug the earphone into the mobile phone; second step, click on the mobile phone to start playing music; third step, put on the earphone to listen . In this scenario, the user clicks on the mobile phone to start playing music. At this time, the earphones are already playing, but the user has not put on the earphones. When the user puts on the earphones after a few seconds, the music has been played for a few seconds. bell. For a few seconds while wearing the earphones, the user actually does not hear the music, but the earphones have already started playing at this time. Then for the user, the music played within these few seconds is not heard, and the listening experience is incomplete. An embodiment of the present disclosure provides an audio playback method, which can control the earphone to delay the output of audio, by monitoring whether there is an audio signal output request when the earphone is detected; when an audio signal output request is detected, the The audio signal output request is suspended for a preset duration; when the preset duration ends, an audio signal is output. The above technical solution solves the problem that the user cannot hear the music while wearing the earphone when playing music with the earphone, resulting in an incomplete listening experience. After the earphone is connected to the terminal and before wearing the earphone, the audio signal output request is suspended for a certain period of time, so that the user can hear the complete audio after wearing the earphone, and the user's listening experience is improved.
图1是根据一示例性实施例示出的一种音频播放方法的流程图,该方法可用于具有音频播放功能的终端中。如图1所示,该音频播放方法包括以下步骤S101-S103:Fig. 1 is a flow chart showing an audio playing method according to an exemplary embodiment, and the method can be used in a terminal with an audio playing function. As shown in Figure 1, the audio playback method includes the following steps S101-S103:
在步骤S101中,当检测到耳机接入时,监测是否有音频信号输出请求。In step S101, when an earphone is detected, it is monitored whether there is an audio signal output request.
在步骤S102中,当监测到有音频信号输请求出时,将音频信号输出请求挂起预设时长。In step S102, when an audio signal output request is detected, the audio signal output request is suspended for a preset duration.
在步骤S103中,当预设时长结束时,输出音频信号。In step S103, when the preset duration ends, an audio signal is output.
上述方法应用于具有音频播放功能的终端中,比如手机、平板电脑等。耳机接入方式可以是将耳机插入终端的音频输出接口,即耳机为插孔式耳机;还可以是通过蓝牙、WIFI等无线方式接入,如蓝牙耳机等无线耳机。以手机为例,当耳机为插孔式耳机时,系统会通过音频输出接口的电位高低来判断是否有耳机插头插入音频输出接口。当耳机为蓝牙耳机时,系统会检测是否与蓝牙耳机建立连接来判断耳机是否接入。当系统检测到有耳机接入后,部分可进行多媒体播放的应用监测到耳机接入后,会自动开始播放多媒体文件,即向操作系统发出音频输出请求,此时系统在接收到该音频信号输出请求后,不立即响应,而是将该请求挂起预设时长(比如3秒钟,也可以是5秒钟,系统可预先设置或者用户根据实际情况进行设置),这一段时间预留给用户佩戴耳机,当预设时长到达时,响应该音频输出请求,输出音频信号。The above method is applied to a terminal with an audio playback function, such as a mobile phone, a tablet computer, and the like. The earphone access method can be to insert the earphone into the audio output interface of the terminal, that is, the earphone is a jack earphone; it can also be connected through wireless methods such as Bluetooth and WIFI, such as wireless earphones such as bluetooth earphones. Taking a mobile phone as an example, when the earphone is a jack earphone, the system will judge whether there is an earphone plug inserted into the audio output interface according to the potential level of the audio output interface. When the headset is a Bluetooth headset, the system will detect whether a connection is established with the Bluetooth headset to determine whether the headset is connected. When the system detects that a headset is connected, some applications that can perform multimedia playback will automatically start playing multimedia files after detecting that the headset is connected, and then send an audio output request to the operating system. At this time, the system receives the audio signal output After the request, do not respond immediately, but suspend the request for a preset period of time (such as 3 seconds, or 5 seconds, the system can be preset or the user can set it according to the actual situation), and this period of time is reserved for the user Wearing earphones, when the preset duration arrives, the audio signal is output in response to the audio output request.
本公开实施例的上述方法,通过在检测到耳机接入时,监测是否有音频信号输出请求;当监测到有音频信号输请求出时,将音频信号输出请求挂起预设时长;当预设时长结束时,输出音频信号。上述技术方案能够在耳机接入终端后,戴上耳机前,将音频信号输出请求挂起一定时长,从而使用户戴上耳机后能够听到完整的音频,提升用户的收听体验。The above method in the embodiment of the present disclosure monitors whether there is an audio signal output request when the earphone is connected; when an audio signal output request is detected, suspends the audio signal output request for a preset duration; when the preset At the end of the duration, an audio signal is output. The above technical solution can suspend the audio signal output request for a certain period of time after the earphone is connected to the terminal and before putting on the earphone, so that the user can hear the complete audio after putting on the earphone, thereby improving the user's listening experience.
在一个实施例中,如图2所示,步骤S102可以实施为如下步骤S1021-S1022:In one embodiment, as shown in FIG. 2, step S102 may be implemented as the following steps S1021-S1022:
在步骤S1021中,当监测到有音频信号输出请求时,确定音频信号输出请求是否为在耳机接入后的第一次输出请求。In step S1021, when an audio signal output request is detected, it is determined whether the audio signal output request is the first output request after the earphone is connected.
在步骤S1022中,当确定出音频信号输出请求为在耳机接入后的第一次输出请求时,将该音频信号输出请求挂起预设时长。In step S1022, when it is determined that the audio signal output request is the first output request after the earphone is connected, the audio signal output request is suspended for a preset duration.
举例说明,用户插入耳机后开始听音乐,听了一段时间之后暂停,然后继续播放,这个时候,系统也会监测到有音频信号输出,但是并不是接入耳机后第一次音频信号输出,而是第二次音频信号输出,此时由于用户已经听了一会音乐,也就是说耳机已经佩戴好了,暂停后继续播放时,没有必要延迟一段时间再播放,因此,只在确定出音频信号输出请求为在耳机接入后的第一次输出请求时,才将该音频信号输出请求挂起预设时长。从而更加符合实际的应用场景。For example, the user starts to listen to music after plugging in the earphones, pauses after listening for a while, and then continues to play. It is the second audio signal output. At this time, since the user has listened to the music for a while, that is to say, the earphones have been worn. When continuing to play after pausing, there is no need to delay playing for a while. Therefore, only when the audio signal is determined The output request is the first output request after the earphone is connected, and the audio signal output request is suspended for a preset period of time. Therefore, it is more in line with the actual application scenario.
在一个实施例中,如图3所示,步骤S101可以实施为如下步骤S1011:In one embodiment, as shown in FIG. 3, step S101 may be implemented as the following step S1011:
在步骤S1011中,监测在耳机接入后的预设时间段内是否有音频信号输出请求。In step S1011, it is monitored whether there is an audio signal output request within a preset time period after the earphone is connected.
此时,步骤S102可以实施为如下步骤S1023:At this time, step S102 may be implemented as the following step S1023:
在步骤S1023中,当在耳机接入后的预设时间段内监测到有音频信号输出请求时,将音频信号输出请求挂起预设时长。In step S1023, when an audio signal output request is detected within a preset time period after the earphone is connected, the audio signal output request is suspended for a preset time period.
由于每个用户的操作习惯不同,用户使用耳机来听音乐的实际使用场景还可能是:第一步,将耳机插入手机;第二步,将耳机戴上进行收听;第三步,在手机上点击开始播放音乐。在此种场景下,用户先将耳机戴上再点击播放音乐,此时,用户播放音乐时,可以立即播放,由于用户已佩戴好耳机,不需要延迟播放。由于用户佩戴耳机需要一定时间,比如5s,如果在耳机接入后的5s内监测到有音频信号输出请求,则说明用户为先点击播放音乐再佩戴耳机,此时,应将音频信号输出请求挂起预设时长,等用户佩戴好耳机后再开始播放。本实施例中,仅在耳机接入后的预设时间段内监测到有音频信号输出请求时,才将音频信号输出请求挂起预设时长。更符合实际的使用场景,满足用户不同的使用习惯。Due to the different operating habits of each user, the actual usage scenario for users to use earphones to listen to music may also be: the first step, plug the earphones into the mobile phone; the second step, put the earphones on for listening; Click to start playing music. In this scenario, the user first puts on the earphones and then clicks to play music. At this time, when the user plays music, it can be played immediately. Since the user has already worn the earphones, there is no need to delay the playback. Since it takes a certain amount of time for the user to wear the headset, for example, 5 seconds, if an audio signal output request is detected within 5 seconds after the headset is connected, it means that the user clicked to play music before wearing the headset. At this time, the audio signal output request should be suspended. Start the preset duration, and start playing after the user puts on the earphones. In this embodiment, the audio signal output request is suspended for a preset time period only when an audio signal output request is detected within a preset time period after the earphone is connected. It is more in line with the actual usage scenario and meets the different usage habits of users.
在一个实施例中,如图4A所示,在步骤S1011之后,上述方法还可包括步骤S104-S105:In one embodiment, as shown in FIG. 4A, after step S1011, the above method may further include steps S104-S105:
在步骤S104中,当在耳机接入后的预设时间段内没有监测到音频信号输出请求时,继续监测是否有音频信号输出请求。In step S104, when no audio signal output request is detected within a preset time period after the earphone is connected, continue to monitor whether there is an audio signal output request.
在步骤S105中,当监测到有音频信号输出请求时,立即输出音频信号。In step S105, when an audio signal output request is detected, the audio signal is output immediately.
预设时间段可以是4s、6s或8s等,系统可以预先设置或者根据用户的实际情况进行设置。如果在耳机接入后的预设时间段内没有监测到音频信号输出请求,则说明用户在耳机接入后,先佩戴耳机,再点击播放音频,也就是在耳机接入后的预设时间段内用户已佩戴好了耳机,佩戴好之后,用户在手机里打开音频类应用,选择某一首音乐,点击开始播放,此时系统监测到有音频信号输出请求,则立即输出音频信号,由于用户在音乐播放前就佩戴好了耳机,所以无需将音频信号输出请求挂起,用户也能听到完整音频。本实施例更能符合用户的实际使用需求。The preset time period can be 4s, 6s or 8s, etc., and the system can be preset or set according to the actual situation of the user. If no audio signal output request is detected within the preset time period after the headset is connected, it means that the user wears the headset first after the headset is connected, and then clicks to play the audio, that is, within the preset time period after the headset is connected The user has already put on the headset. After wearing it, the user opens the audio application on the mobile phone, selects a piece of music, and clicks to start playing. At this time, the system detects that there is an audio signal output request, and the audio signal is output immediately. Because the user The earphones are put on before the music is played, so the user can hear the full audio without suspending the audio signal output request. This embodiment can better meet the actual use requirements of users.
在一个实施例中,如图4B所示,上述方法还可包括以下步骤S106:In one embodiment, as shown in FIG. 4B, the above method may further include the following step S106:
在步骤S106中,确定挂起音频信号输出请求的选项是否开启。In step S106, it is determined whether the option to suspend the audio signal output request is turned on.
此时,步骤S102可以实施为如下步骤S1024-S1025:At this point, step S102 can be implemented as the following steps S1024-S1025:
在步骤S1024中,当挂起音频信号输出请求的选项开启且监测到有音频信号输出请求时,将音频信号输出请求挂起预设时长;In step S1024, when the option of suspending the audio signal output request is turned on and an audio signal output request is detected, the audio signal output request is suspended for a preset duration;
在步骤S1025中,当挂起音频信号输出请求的选项未开启时,当监测到有音频信号输出请求时,输出音频信号。In step S1025, when the option of suspending the audio signal output request is not enabled, when an audio signal output request is detected, an audio signal is output.
由于用户的习惯不同,还可以设置挂起音频信号输出请求的选项,用户可以选择开启或关闭。比如,用户习惯先戴上耳机,再将耳机插入插孔,这种方式用户可以听到完整的音频,则无需将音频信号输出请求挂起,此时可以选择关闭挂起音频信号输出请求的选项;如果用户习惯先将耳机插入插孔,再戴上耳机,则可选择开启挂起音频信号输出请求的选项。本实施例中,首先判断用户是否开启了挂起音频信号输出请求的选项,如开启,则将音频信号输出请求挂起预设时长,如未开启,则不进行挂起操作,可以满足不同习惯的用户的需求。Due to different habits of users, an option to suspend the audio signal output request can also be set, and the user can choose to enable or disable it. For example, the user is used to putting on the earphone first, and then inserting the earphone into the jack. In this way, the user can hear the complete audio, and there is no need to suspend the audio signal output request. At this time, you can choose to close the option to suspend the audio signal output request. ; If the user is used to plug the earphones into the jack first, and then put on the earphones, you can choose to enable the option to suspend the audio signal output request. In this embodiment, it is first determined whether the user has enabled the option to suspend the audio signal output request. If it is enabled, the audio signal output request will be suspended for a preset duration. If it is not enabled, the suspension operation will not be performed, which can satisfy different habits. needs of users.
下述为本公开装置实施例,可以用于执行本公开方法实施例。The following are device embodiments of the present disclosure, which can be used to implement the method embodiments of the present disclosure.
图5是根据一示例性实施例示出的一种音频播放装置的框图,该装置可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部。如图5所示,该音频播放装置包括:Fig. 5 is a block diagram of an audio playback device according to an exemplary embodiment, and the device may be implemented as part or all of an electronic device through software, hardware or a combination of the two. As shown in Figure 5, the audio playback device includes:
第一监测模块51,被配置为当检测到耳机接入时,监测是否有音频信号输出请求;The first monitoring module 51 is configured to monitor whether there is an audio signal output request when an earphone is detected;
挂起模块52,被配置为当监测到有音频信号输出请求时,将音频信号输出请求挂起预设时长;The suspension module 52 is configured to suspend the audio signal output request for a preset duration when an audio signal output request is detected;
第一输出模块53,被配置为当预设时长结束时,输出音频信号。The first output module 53 is configured to output an audio signal when the preset duration ends.
在一个实施例中,如图6所示,挂起模块52包括:In one embodiment, as shown in Figure 6, the suspension module 52 includes:
确定子模块521,被配置为当监测到有音频信号输出请求时,确定音频信号输出请求是否为在耳机接入后的第一次输出请求;The determining submodule 521 is configured to determine whether the audio signal output request is the first output request after the earphone is connected when an audio signal output request is detected;
第一挂起子模块522,被配置为当确定出音频信号输出请求为在耳机接入后的第一次输出请求时,将音频信号输出请求挂起预设时长。The first suspend submodule 522 is configured to suspend the audio signal output request for a preset duration when it is determined that the audio signal output request is the first output request after the earphone is connected.
在一个实施例中,如图7所示,第一监测模块51,可包括:In one embodiment, as shown in FIG. 7, the first monitoring module 51 may include:
监测子模块511,被配置为监测在耳机接入后的预设时间段内是否有音频信号输出请求;The monitoring sub-module 511 is configured to monitor whether there is an audio signal output request within a preset time period after the earphone is connected;
挂起模块52,包括:Suspension module 52, comprising:
第二挂起子模块,523,被配置为当在耳机接入后的预设时间段内监测到有音频信号输出请求时,将音频信号输出请求挂起预设时长。The second suspend submodule, 523, is configured to suspend the audio signal output request for a preset time period when an audio signal output request is detected within a preset time period after the earphone is connected.
在一个实施例中,如图8所示,上述装置还可包括:In one embodiment, as shown in Figure 8, the above-mentioned device may further include:
第二监测模块54,被配置为用于当在耳机接入后的预设时间段内没有监测到音频信号输出请求时,继续监测是否有音频信号输出请求;The second monitoring module 54 is configured to continue to monitor whether there is an audio signal output request when no audio signal output request is detected within a preset time period after the earphone is connected;
第二输出模块55,被配置为当监测到有音频信号输出请求时,立即输出音频信号。The second output module 55 is configured to output an audio signal immediately when an audio signal output request is detected.
在一个实施例中,如图9所示,上述装置还可包括:In one embodiment, as shown in FIG. 9, the above-mentioned device may further include:
确定模块56,被配置为确定挂起音频信号输出请求的选项是否开启;A determination module 56 configured to determine whether the option to suspend the audio signal output request is turned on;
挂起模块52,包括:Suspension module 52, comprising:
第三挂起子模块524,被配置为当挂起音频信号输出请求的选项开启且监测到有音频信号输出请求时,将音频信号输出请求挂起预设时长;The third suspend submodule 524 is configured to suspend the audio signal output request for a preset duration when the option to suspend the audio signal output request is enabled and an audio signal output request is detected;
输出子模块525,被配置为当挂起音频信号输出请求的选项未开启时,当监测到有音频信号输出请求时,输出音频信号。The output sub-module 525 is configured to output an audio signal when an audio signal output request is detected when the option to suspend the audio signal output request is not enabled.
本公开实施例的上述装置,通过在检测到耳机接入时,监测是否有音频信号输出请求;当监测到有音频信号输请求出时,将音频信号输出请求挂起预设时长;当预设时长结束时,输出音频信号。上述技术方案能够在耳机接入终端后,戴上耳机前,将音频信号输出请求挂起一定时长,从而使用户戴上耳机后能够听到完整的音频,提升用户的收听体验。The above-mentioned device in the embodiment of the present disclosure monitors whether there is an audio signal output request when the earphone is connected; when an audio signal output request is detected, suspends the audio signal output request for a preset duration; At the end of the duration, an audio signal is output. The above technical solution can suspend the audio signal output request for a certain period of time after the earphone is connected to the terminal and before putting on the earphone, so that the user can hear the complete audio after putting on the earphone, thereby improving the user's listening experience.
本公开实施例还提供一种音频播放装置,包括:An embodiment of the present disclosure also provides an audio playback device, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
当检测到耳机接入时,监测是否有音频信号输出请求;When the headphone connection is detected, monitor whether there is an audio signal output request;
当监测到有音频信号输请求出时,将所述音频信号输出请求挂起预设时长;When an audio signal output request is detected, suspending the audio signal output request for a preset duration;
当所述预设时长结束时,输出所述音频信号。When the preset duration ends, the audio signal is output.
上述处理器被配置为:The above processor is configured as:
当监测到有音频信号输出请求时,确定所述音频信号输出请求是否为在所述耳机接入后的第一次输出请求;When an audio signal output request is detected, determine whether the audio signal output request is the first output request after the earphone is connected;
当确定出所述音频信号输出请求为在所述耳机接入后的第一次输出请求时,将所述音频信号输出请求挂起预设时长。When it is determined that the audio signal output request is the first output request after the earphone is connected, suspend the audio signal output request for a preset duration.
上述处理器被配置为:The above processor is configured as:
监测在所述耳机接入后的预设时间段内是否有音频信号输出请求;Monitoring whether there is an audio signal output request within a preset time period after the earphone is connected;
所述当监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长,包括:When the audio signal output request is detected, suspending the audio signal output request for a preset duration includes:
当在所述耳机接入后的预设时间段内监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长。When an audio signal output request is detected within a preset time period after the earphone is connected, the audio signal output request is suspended for a preset time period.
上述处理器被配置为:The above processor is configured as:
当在所述耳机接入后的预设时间段内没有监测到音频信号输出请求时,继续监测是否有音频信号输出请求;When no audio signal output request is detected within the preset time period after the earphone is connected, continue to monitor whether there is an audio signal output request;
当监测到有音频信号输出请求时,立即输出所述音频信号。When an audio signal output request is detected, the audio signal is output immediately.
上述处理器被配置为:The above processor is configured as:
确定挂起音频信号输出请求的选项是否开启;Determine whether the option to suspend the audio signal output request is enabled;
所述当监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长,包括:When the audio signal output request is detected, suspending the audio signal output request for a preset duration includes:
当挂起音频信号输出请求的选项开启且监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长;When the option of suspending the audio signal output request is turned on and an audio signal output request is detected, the audio signal output request is suspended for a preset duration;
当挂起音频信号输出请求的选项未开启时,当监测到有音频信号输出请求时,输出所述音频信号。When the option of suspending the audio signal output request is not turned on, when an audio signal output request is detected, the audio signal is output.
图10是根据一示例性实施例示出的一种用于音频播放装置的框图,该装置适用于终端设备。例如,装置1200可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 10 is a block diagram showing an audio playback device according to an exemplary embodiment, and the device is suitable for a terminal device. For example, the apparatus 1200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
装置1200可以包括以下一个或多个组件:处理组件1202,存储器1204,电源组件1206,多媒体组件1208,音频组件1210,输入/输出(I/O)的接口1212,传感器组件1214,以及通信组件1216。Apparatus 1200 may include one or more of the following components: processing component 1202, memory 1204, power supply component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, and communication component 1216 .
处理组件1202通常控制装置1200的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1202可以包括一个或多个处理器1220来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1202可以包括一个或多个模块,便于处理组件1202和其他组件之间的交互。例如,处理组件1202可以包括多媒体模块,以方便多媒体组件1208和处理组件1202之间的交互。The processing component 1202 generally controls the overall operations of the device 1200, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1202 may include one or more processors 1220 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 1202 may include one or more modules that facilitate interaction between processing component 1202 and other components. For example, processing component 1202 may include a multimedia module to facilitate interaction between multimedia component 1208 and processing component 1202 .
存储器1204被配置为存储各种类型的数据以支持在装置1200的操作。这些数据的示例包括用于在装置1200上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1204 is configured to store various types of data to support operations at the device 1200 . Examples of such data include instructions for any application or method operating on device 1200, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1204 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件1206为装置1200的各种组件提供电力。电源组件1206可以包括电源管理系统,一个或多个电源,及其他与为装置1200生成、管理和分配电力相关联的组件。The power supply component 1206 provides power to various components of the device 1200 . Power components 1206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1200 .
多媒体组件1208包括在所述装置1200和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1208包括一个前置摄像头和/或后置摄像头。当装置1200处于操作模式,如音频播放模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1208 includes a screen that provides an output interface between the device 1200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 1208 includes a front camera and/or a rear camera. When the device 1200 is in an operation mode, such as an audio playback mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件1210被配置为输出和/或输入音频信号。例如,音频组件1210包括一个麦克风(MIC),当装置1200处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1204或经由通信组件1216发送。在一些实施例中,音频组件1210还包括一个扬声器,用于输出音频信号。The audio component 1210 is configured to output and/or input audio signals. For example, the audio component 1210 includes a microphone (MIC), which is configured to receive external audio signals when the device 1200 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 1204 or sent via communication component 1216 . In some embodiments, the audio component 1210 also includes a speaker for outputting audio signals.
I/O接口1212为处理组件1202和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1212 provides an interface between the processing component 1202 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件1214包括一个或多个传感器,用于为装置1200提供各个方面的状态评估。例如,传感器组件1214可以检测到装置1200的打开/关闭状态,组件的相对定位,例如所述组件为装置1200的显示器和小键盘,传感器组件1214还可以检测装置1200或装置1200一个组件的位置改变,用户与装置1200接触的存在或不存在,装置1200方位或加速/减速和装置1200的温度变化。传感器组件1214可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1214还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1214还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1214 includes one or more sensors for providing status assessments of various aspects of device 1200 . For example, the sensor component 1214 can detect the open/closed state of the device 1200, the relative positioning of components, such as the display and keypad of the device 1200, and the sensor component 1214 can also detect a change in the position of the device 1200 or a component of the device 1200 , the presence or absence of user contact with the device 1200 , the device 1200 orientation or acceleration/deceleration and the temperature change of the device 1200 . Sensor assembly 1214 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 1214 may also include optical sensors, such as CMOS or CCD image sensors, for use in imaging applications. In some embodiments, the sensor component 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件1216被配置为便于装置1200和其他设备之间有线或无线方式的通信。装置1200可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1216经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1216还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1216 is configured to facilitate wired or wireless communication between the apparatus 1200 and other devices. The device 1200 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1216 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置1200可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 1200 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1204,上述指令可由装置1200的处理器1220执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 1204 including instructions, which can be executed by the processor 1220 of the device 1200 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由装置1200的处理器执行时,使得装置1200能够执行上述音频播放方法,所述方法包括:A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the device 1200, the device 1200 can execute the above audio playback method, the method comprising:
当检测到耳机接入时,监测是否有音频信号输出请求;When the headphone connection is detected, monitor whether there is an audio signal output request;
当监测到有音频信号输请求出时,将所述音频信号输出请求挂起预设时长;When an audio signal output request is detected, suspending the audio signal output request for a preset duration;
当所述预设时长结束时,输出所述音频信号。When the preset duration ends, the audio signal is output.
在一个实施例中,所述当监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长,可包括:In one embodiment, when an audio signal output request is detected, suspending the audio signal output request for a preset duration may include:
当监测到有音频信号输出请求时,确定所述音频信号输出请求是否为在所述耳机接入后的第一次输出请求;When an audio signal output request is detected, determine whether the audio signal output request is the first output request after the earphone is connected;
当确定出所述音频信号输出请求为在所述耳机接入后的第一次输出请求时,将所述音频信号输出请求挂起预设时长。When it is determined that the audio signal output request is the first output request after the earphone is connected, suspend the audio signal output request for a preset duration.
在一个实施例中,所述监测是否有音频信号输出请求,可包括:In one embodiment, the monitoring whether there is an audio signal output request may include:
监测在所述耳机接入后的预设时间段内是否有音频信号输出请求;Monitoring whether there is an audio signal output request within a preset time period after the earphone is connected;
所述当监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长,包括:When the audio signal output request is detected, suspending the audio signal output request for a preset duration includes:
当在所述耳机接入后的预设时间段内监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长。When an audio signal output request is detected within a preset time period after the earphone is connected, the audio signal output request is suspended for a preset time period.
在一个实施例中,所述方法还可包括:In one embodiment, the method may also include:
当在所述耳机接入后的预设时间段内没有监测到音频信号输出请求时,继续监测是否有音频信号输出请求;When no audio signal output request is detected within the preset time period after the earphone is connected, continue to monitor whether there is an audio signal output request;
当监测到有音频信号输出请求时,立即输出所述音频信号。When an audio signal output request is detected, the audio signal is output immediately.
在一个实施例中,所述方法还可包括:In one embodiment, the method may also include:
确定挂起音频信号输出请求的选项是否开启;Determine whether the option to suspend the audio signal output request is enabled;
所述当监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长,包括:When the audio signal output request is detected, suspending the audio signal output request for a preset duration includes:
当挂起音频信号输出请求的选项开启且监测到有音频信号输出请求时,将所述音频信号输出请求挂起预设时长;When the option of suspending the audio signal output request is turned on and an audio signal output request is detected, the audio signal output request is suspended for a preset duration;
当挂起音频信号输出请求的选项未开启时,当监测到有音频信号输出请求时,输出所述音频信号。When the option of suspending the audio signal output request is not turned on, when an audio signal output request is detected, the audio signal is output.
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610681607.XACN106325805A (en) | 2016-08-17 | 2016-08-17 | Audio playing method and audio playing device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610681607.XACN106325805A (en) | 2016-08-17 | 2016-08-17 | Audio playing method and audio playing device |
| Publication Number | Publication Date |
|---|---|
| CN106325805Atrue CN106325805A (en) | 2017-01-11 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610681607.XAPendingCN106325805A (en) | 2016-08-17 | 2016-08-17 | Audio playing method and audio playing device |
| Country | Link |
|---|---|
| CN (1) | CN106325805A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106445453A (en)* | 2016-09-23 | 2017-02-22 | 北京小米移动软件有限公司 | Method and device for switching audio output paths |
| CN108509176A (en)* | 2018-04-10 | 2018-09-07 | Oppo广东移动通信有限公司 | Method and device for playing audio data, storage medium and intelligent terminal |
| CN111885261A (en)* | 2020-07-23 | 2020-11-03 | Oppo广东移动通信有限公司 | Audio control method, device, storage medium and terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050111675A1 (en)* | 2003-11-21 | 2005-05-26 | Samsung Electronics Co., Ltd. | Audio/video device having a volume control function for an external audio reproduction unit by using volume control buttons of a remote controller and volume control method therefor |
| CN101056377A (en)* | 2006-04-12 | 2007-10-17 | 南京Lg同创彩色显示系统有限责任公司 | TV receiver capable of delaying the adjustment of the audio signals and its using method |
| CN101211650A (en)* | 2006-12-25 | 2008-07-02 | 鸿富锦精密工业(深圳)有限公司 | Audio playback device and earphone for its application, and automatic control method |
| CN101945172A (en)* | 2010-09-17 | 2011-01-12 | 惠州Tcl移动通信有限公司 | Mobile phone-based earphone recognition calling method and mobile phone |
| CN103118191A (en)* | 2013-01-28 | 2013-05-22 | Tcl通讯(宁波)有限公司 | Using control method and mobile terminal for iPhone wire control earphone |
| CN103581795A (en)* | 2012-07-24 | 2014-02-12 | 蒂雅克股份有限公司 | Audio device with mute function |
| CN104010071A (en)* | 2013-02-26 | 2014-08-27 | 三星电子株式会社 | Mobile terminal application control method and device, earphone device and application control system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050111675A1 (en)* | 2003-11-21 | 2005-05-26 | Samsung Electronics Co., Ltd. | Audio/video device having a volume control function for an external audio reproduction unit by using volume control buttons of a remote controller and volume control method therefor |
| CN101056377A (en)* | 2006-04-12 | 2007-10-17 | 南京Lg同创彩色显示系统有限责任公司 | TV receiver capable of delaying the adjustment of the audio signals and its using method |
| CN101211650A (en)* | 2006-12-25 | 2008-07-02 | 鸿富锦精密工业(深圳)有限公司 | Audio playback device and earphone for its application, and automatic control method |
| CN101945172A (en)* | 2010-09-17 | 2011-01-12 | 惠州Tcl移动通信有限公司 | Mobile phone-based earphone recognition calling method and mobile phone |
| CN103581795A (en)* | 2012-07-24 | 2014-02-12 | 蒂雅克股份有限公司 | Audio device with mute function |
| CN103118191A (en)* | 2013-01-28 | 2013-05-22 | Tcl通讯(宁波)有限公司 | Using control method and mobile terminal for iPhone wire control earphone |
| CN104010071A (en)* | 2013-02-26 | 2014-08-27 | 三星电子株式会社 | Mobile terminal application control method and device, earphone device and application control system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106445453A (en)* | 2016-09-23 | 2017-02-22 | 北京小米移动软件有限公司 | Method and device for switching audio output paths |
| CN108509176A (en)* | 2018-04-10 | 2018-09-07 | Oppo广东移动通信有限公司 | Method and device for playing audio data, storage medium and intelligent terminal |
| CN108509176B (en)* | 2018-04-10 | 2021-06-08 | Oppo广东移动通信有限公司 | A method, device, storage medium and intelligent terminal for playing audio data |
| CN111885261A (en)* | 2020-07-23 | 2020-11-03 | Oppo广东移动通信有限公司 | Audio control method, device, storage medium and terminal |
| Publication | Publication Date | Title |
|---|---|---|
| CN105244048B (en) | Audio play control method and device | |
| CN106454644B (en) | Audio playing method and device | |
| CN107122158A (en) | The method and device of broadcast information prompting audio, electronic equipment | |
| CN107743244B (en) | Video live broadcast method and device | |
| CN106331338A (en) | Volume adjustment method and device | |
| CN107493500A (en) | Multimedia resource player method and device | |
| CN108549529A (en) | Control the method and device of audio output | |
| CN106445453A (en) | Method and device for switching audio output paths | |
| CN105653236A (en) | Sound volume control method and device and mobile terminal | |
| CN105407433A (en) | Method and device for controlling sound output equipment | |
| CN106453838B (en) | Volume adjustment method and device | |
| CN105138319A (en) | Event reminding method and apparatus | |
| CN105898573B (en) | Multimedia file playing method and device | |
| CN106534459A (en) | Voice prompt method and device | |
| CN106358112A (en) | Bluetooth earphone as well as operation method and device thereof | |
| CN106941635B (en) | Speaker connection method and device | |
| CN106357913A (en) | Method and device for prompting information | |
| CN106453032B (en) | Information-pushing method and device, system | |
| CN104935729A (en) | Audio output method and device | |
| CN108093132A (en) | The control method of terminal device and ringing volume | |
| CN106325805A (en) | Audio playing method and audio playing device | |
| CN113692067B (en) | Device connection method, device and readable storage medium | |
| CN108401519A (en) | Internet of things network connection method and device | |
| CN106937162A (en) | Audio and video playing control method and device | |
| CN106375846A (en) | Live audio processing method and device |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20170111 |