CN114625335A - Multi-device sound source management method, device, equipment and storage medium - Google Patents
Multi-device sound source management method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN114625335A CN114625335A CN202210154527.4A CN202210154527A CN114625335A CN 114625335 A CN114625335 A CN 114625335A CN 202210154527 A CN202210154527 A CN 202210154527A CN 114625335 A CN114625335 A CN 114625335A
- Authority
- CN
- China
- Prior art keywords
- sound source
- playing
- computer
- input
- strategy
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5038—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The invention discloses a multi-device sound source management method, a device, equipment and a storage medium, wherein whether multi-device sound source input exists in a current earphone is detected; when the multi-equipment sound source input is detected to exist, feeding back a preset playing strategy list to a user; and responding to the playing strategy selected by the user, adjusting and selecting the equipment sound source corresponding to the highest playing priority for playing according to the playing priority of the current multi-equipment sound source based on the playing strategy. Compared with the prior art, the method and the device realize the management of the input of multiple sound sources by responding to the preset playing strategy fed back by the user, and improve the controllability of the sound sources of multiple devices.
Description
Technical Field
The present invention relates to the field of device sound source technology, and in particular, to a method, an apparatus, a device, and a storage medium for managing multiple device sound sources.
Background
At present, a sound source in the earphone is mainly input in a mode of connecting a usb with a computer and connecting a bluetooth with a mobile phone. When multiple input sound sources exist in the earphone, the simultaneous existence of the multiple sound sources can cause the situation that the current sound source is interrupted by other sound sources when a user uses the earphone, for example, when the user uses the earphone to listen to the music of a Bluetooth mobile phone, and various prompt tones are played on a computer, the playing of the Bluetooth music on the earphone can be interrupted, so that the user experience is poor; or when the user only wants to use some communication software telephones of the computer and does not want to hear other sound sources on the computer when the user does not talk, the current earphone sound source management has no way to meet the requirements of the user.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the method, the device, the equipment and the storage medium for managing the multi-equipment sound source are provided, the input of the multi-sound source is managed by responding to a preset playing strategy fed back by a user, and the controllability of the multi-equipment sound source is improved.
In order to solve the above technical problem, the present invention provides a multi-device sound source management method, including:
detecting whether a multi-device sound source input exists in the current earphone;
when the multi-equipment sound source input is detected to exist, feeding back a preset playing strategy list to a user;
and responding to the playing strategy selected by the user, adjusting and selecting the equipment sound source corresponding to the highest playing priority for playing according to the playing priority of the current multi-equipment sound source based on the playing strategy.
Further, the detecting whether a multi-device sound source input exists in the current earphone specifically includes:
the input sound source to current earphone detects, if detects that there is input of computer sound source and bluetooth sound source in the earphone simultaneously at present, then judges that there is input of multi-device sound source in the earphone at present, if does not have input of computer sound source and bluetooth sound source simultaneously in detecting current earphone, then judges that there is not input of multi-device sound source in the earphone at present.
Further, the playlist includes: a first play strategy;
the first play strategy specifically includes: when the input of multiple equipment sound sources is detected, setting the playing priority of the computer sound source as the highest playing priority;
and after the computer sound source is obtained, immediately playing the computer sound source, and pausing the playing of the Bluetooth sound source.
Further, the playlist further includes: a second play strategy;
the second play strategy specifically includes: when the input of a multi-device sound source is detected, acquiring a computer sound source in the multi-device sound source, and carrying out duration detection on the acquired computer sound source;
when the fact that the duration of the computer sound source is greater than the preset duration is detected, setting the playing priority of the computer sound source as the highest playing priority, playing the computer sound source, and simultaneously pausing playing the Bluetooth sound source;
and when the duration of the computer sound source is detected to be less than or equal to the preset duration, the Bluetooth sound source is played.
Further, the playlist further includes: a third play strategy;
the third playing strategy specifically includes: when the situation that the input of multiple equipment sound sources exists is detected, setting the playing priority of the Bluetooth sound source as the highest playing priority;
and after the Bluetooth sound source is obtained, the Bluetooth sound source is immediately played, and the computer sound source is paused to be played.
Further, the present invention also provides a multi-device sound source management apparatus, comprising: the device comprises a detection module, a feedback module and a response module;
the detection module is used for detecting whether the current earphone has multi-device sound source input;
the feedback module is used for feeding back a preset playing strategy list to a user when the multi-device sound source input is detected to exist;
and the response module is used for responding to the playing strategy selected by the user, adjusting and selecting the equipment sound source corresponding to the highest playing priority for playing according to the playing priority of the current multi-equipment sound source based on the playing strategy.
Further, the detecting module is configured to detect whether a multi-device sound source input exists in the current headset, and specifically includes:
the detection module is used for detecting the input sound source of the current earphone, judging that the input of the multi-device sound source exists in the current earphone if the input of the computer sound source and the input of the Bluetooth sound source exist in the current earphone at the same time, and judging that the input of the multi-device sound source does not exist in the current earphone if the input of the computer sound source and the input of the Bluetooth sound source do not exist in the current earphone at the same time.
Further, the feedback module includes: a first play strategy unit;
the first playing strategy unit is used for setting the playing priority of the computer sound source to be the highest playing priority when the fact that the multi-device sound source input exists is detected, immediately playing the computer sound source after the computer sound source is obtained, and pausing playing the Bluetooth sound source.
Further, the feedback module includes: a second play strategy unit;
the second playing strategy unit is used for acquiring a computer sound source in the multi-device sound sources and carrying out time length detection on the acquired computer sound source when the existence of multi-device sound source input is detected;
the second playing strategy unit is further used for setting the playing priority of the computer sound source to be the highest playing priority and playing the computer sound source when the fact that the duration of the computer sound source is longer than the preset duration is detected, and meanwhile, the Bluetooth sound source is paused to be played;
and the second playing strategy unit is also used for playing the Bluetooth sound source when the duration of the computer sound source is detected to be less than or equal to the preset duration.
Further, the feedback module further includes: a third play strategy unit;
and the third playing strategy unit is used for setting the playing priority of the Bluetooth sound source as the highest playing priority when the situation that the input of the multiple equipment sound sources exists is detected, immediately playing the Bluetooth sound source after the Bluetooth sound source is obtained, and pausing the playing of the computer sound source.
Further, the present invention also provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the multi-device sound source management method according to any one of the above items when executing the computer program.
Further, the present invention also provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, where when the computer program runs, the apparatus in which the computer-readable storage medium is located is controlled to execute the multi-device sound source management method according to any one of the above items
Compared with the prior art, the multi-device sound source management method, the multi-device sound source management device, the multi-device sound source management equipment and the storage medium have the following beneficial effects:
when the fact that the current earphone has the input of the multiple equipment sound sources is detected, a preset playing strategy list is fed back to a user, the playing strategy selected by the user is responded, and meanwhile the equipment sound source corresponding to the highest playing priority is selected to be played according to the playing priority of the current multiple equipment sound sources through adjustment based on the selected playing strategy. Compared with the prior art, the method and the device have the advantages that the preset playing strategy is responded to the user feedback, the input management of the multiple sound sources of the equipment is realized, the problem that the multiple sound sources of the equipment cannot be controlled in the prior art is solved, the controllability of the multiple sound sources of the equipment is improved, and the use experience of the user is improved.
Drawings
Fig. 1 is a schematic flowchart illustrating an embodiment of a multi-device sound source management method according to the present invention;
fig. 2 is a schematic structural diagram of an embodiment of a multiple-device sound source management apparatus provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
Example 1
Referring to fig. 1, fig. 1 is a schematic flowchart of an embodiment of a multiple-device sound source management method provided in the present invention, and as shown in fig. 1, the method includes steps 101 to 103, which are specifically as follows:
step 101: and detecting whether the multi-device sound source input exists in the current earphone.
In this embodiment, the multiple device sound sources are mainly a computer sound source input by connecting a computer through a USB and a bluetooth sound source input by connecting a mobile phone through bluetooth.
In this embodiment, the input sound source of the current earphone is detected, if it is detected that there is input of the computer sound source and the bluetooth sound source in the current earphone at the same time, it is determined that there is input of the multi-device sound source in the current earphone, and if it is detected that there is no input of the computer sound source and the bluetooth sound source in the current earphone at the same time, it is determined that there is no input of the multi-device sound source in the current earphone.
In this embodiment, the current earphone does not have multi-device sound source input, and sound source playing is performed based on the current device sound source.
Step 102: and when the multi-equipment sound source input is detected to exist, feeding back a preset playing strategy list to the user.
In this embodiment, the play policy list includes: a first play strategy, a second play strategy and a third play strategy.
In this embodiment, the first playing policy is specifically that, when it is detected that there is a multi-device sound source input, the playing priority of the computer sound source is set to be the highest playing priority; and after the computer sound source is obtained, immediately playing the computer sound source, and pausing the playing of the Bluetooth sound source.
As an example in this embodiment, in the first playing strategy, when it is detected that a computer sound source and a bluetooth sound source are simultaneously input in the earphone, the playing priority of the computer sound source is directly set as the highest playing priority, and the playing priority of the bluetooth sound source is set as the general playing priority, so that, based on the playing priority of the sound sources, when it is detected that the computer sound source is input in the earphone, the computer sound source is immediately played, and meanwhile, when the computer sound source is played, the bluetooth sound source is paused.
In this embodiment, the second playing strategy is specifically that when it is detected that there is a multi-device sound source input, a computer sound source in the multi-device sound source is obtained, and duration detection is performed on the obtained computer sound source; when the fact that the duration of the computer sound source is greater than the preset duration is detected, setting the playing priority of the computer sound source as the highest playing priority, playing the computer sound source, and simultaneously pausing playing the Bluetooth sound source; and when the duration of the computer sound source is detected to be less than or equal to the preset duration, the Bluetooth sound source is played.
In this embodiment, the preset duration is 1.5 seconds, and the preset duration may also be set by selecting other parameters according to the user requirement.
As an example in this embodiment, in the second playing strategy, when it is detected that there is simultaneous input of the computer sound source and the bluetooth sound source in the earphone, obtaining a duration of continuous playing of the currently input computer sound source, detecting the duration of continuous playing of the obtained computer sound source, and comparing the duration of continuous playing of the detected computer sound source with a preset duration of 1.5 seconds; when the duration of continuous playing of the computer sound source is longer than the preset duration for 1.5 seconds, setting the playing priority of the computer sound source as the highest playing priority, setting the playing priority of the Bluetooth sound source as the general playing priority, playing the computer sound source based on the playing priority of the sound source, and simultaneously suspending the playing of the Bluetooth sound source under the condition of playing the computer sound source; if the duration of continuous playing of the computer sound source is less than or equal to the preset duration for 1.5 seconds, the playing priority of the Bluetooth sound source is set to be the highest playing priority, the playing priority of the computer sound source is set to be the common playing priority, the Bluetooth sound source is played based on the playing priority of the sound source, and meanwhile, the playing of the computer sound source is paused under the condition of playing the Bluetooth sound source.
In this embodiment, after the duration of the input computer sound source is detected, the detection result determines whether to play the computer sound source, so that even if the detection result indicates that the computer sound source can be played, the playing of the computer sound source is not instant playing, but delayed playing.
In this embodiment, judge whether need switch to the broadcast through detecting computer sound source duration, under the circumstances of many equipment sound source simultaneous input, reach the short prompt tone that appears in the computer that filters the connection to avoided interrupting the condition of bluetooth sound source broadcast because of short prompt tone, improved user's experience and felt.
In this embodiment, the third playing policy is specifically that, when it is detected that there is a multi-device sound source input, the playing priority of the bluetooth sound source is set to be the highest playing priority; and after the Bluetooth sound source is obtained, the Bluetooth sound source is played immediately, and the computer sound source is paused to be played.
As an example in this embodiment, in the third playing strategy, when it is detected that there is simultaneous input of the computer sound source and the bluetooth sound source in the earphone, the playing priority of the bluetooth sound source is directly set to be the highest playing priority, and the playing priority of the computer sound source is set to be a general playing priority, so that, based on the playing priority of the sound source, when there is input of the bluetooth sound source in the earphone, the bluetooth sound source is played immediately, and when the bluetooth sound source is played, the playing of the computer sound source is paused.
In this embodiment, a plurality of play strategies are provided for a user, where the play strategies include any one or a combination of more than one of the following: the first playing strategy, the second playing strategy and the third playing strategy are used for meeting the requirements of users, and meanwhile, the management of the current multi-device sound source input is realized on the basis of the plurality of playing strategies.
Step 103: and responding to the playing strategy selected by the user, adjusting and selecting the equipment sound source corresponding to the highest playing priority for playing according to the playing priority of the current multi-equipment sound source based on the playing strategy.
In this embodiment, the play policy list fed back to the user in step 102 is based on the play policy list selected by the user. If the playing strategy selected by the user is the first playing strategy, the computer sound source input in the current earphone is set as the highest playing priority according to the first playing strategy, and the playing priority of the Bluetooth sound source is set as the general playing priority, so that the computer sound source is played immediately based on the playing priority of the sound source, and meanwhile, the playing of the Bluetooth sound source is paused under the condition of playing the computer sound source.
In this embodiment, when the play policy selected by the user is the second play policy or the third play policy, the corresponding play priority is set for the corresponding device sound source based on the set second play policy or the set third play policy, so as to play the single device sound source.
In this embodiment, multiple playing strategies are provided for the user, and the playing strategy selected by the user is responded, so that the problem that the multiple-device sound source cannot be controlled in the prior art is solved, management of the multiple-device sound source in the earphone is realized based on the selected different playing strategies, the controllability of the multiple-device sound source is improved, and the use experience of the user is improved.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an embodiment of a multiple device sound source management apparatus provided in the present invention, as shown in fig. 2, the apparatus includes a detection module 201, a feedback module 202, and a response module 203, specifically as follows:
the detecting module 201 is configured to detect whether a multi-device audio source input exists in the current headset.
In this embodiment, the detection module 201 is configured to detect whether there is a multi-device sound source input in the current earphone, and specifically includes: the method comprises the steps of detecting an input sound source of the current earphone, judging that the input of a multi-device sound source exists in the current earphone if the input of a computer sound source and a Bluetooth sound source exists in the current earphone at the same time, and judging that the input of the multi-device sound source does not exist in the current earphone if the input of the computer sound source and the Bluetooth sound source does not exist in the current earphone at the same time.
A feedback module 202, configured to feed back a preset play policy list to a user when it is detected that the multi-device audio source input exists.
In this embodiment, the feedback module 202 includes: the system comprises a first playing strategy unit, a second playing strategy unit and a third playing strategy unit.
In this embodiment, the first playing policy unit is configured to set a playing priority of the computer sound source to a highest playing priority when it is detected that there is a multi-device sound source input, and immediately play the computer sound source and pause playing the bluetooth sound source after the computer sound source is obtained.
In this embodiment, the second playing strategy unit is configured to, when it is detected that there is a multi-device sound source input, acquire a computer sound source in the multi-device sound source, and perform duration detection on the acquired computer sound source; the second playing strategy unit is also used for setting the playing priority of the computer sound source as the highest playing priority when the duration of the computer sound source is detected to be longer than the preset duration, playing the computer sound source and simultaneously pausing the playing of the Bluetooth sound source; and the second playing strategy unit is also used for playing the Bluetooth sound source when the duration of the computer sound source is detected to be less than or equal to the preset duration.
In this embodiment, the third playing policy unit is configured to set the playing priority of the bluetooth sound source to be the highest playing priority when it is detected that there is a multi-device sound source input, and immediately play the bluetooth sound source and pause playing the computer sound source after the bluetooth sound source is obtained.
In this embodiment, a plurality of play policy units are provided for a user, where the play policy unit includes any one or more of the following combinations: the system comprises a first playing strategy unit, a second playing strategy unit and a third playing strategy unit so as to meet the requirements of users, and management of current multi-equipment sound source input is realized based on the plurality of playing strategy units.
The response module 203 is configured to respond to the play policy selected by the user, adjust and select the device sound source corresponding to the highest play priority for playing according to the play priority of the current multiple device sound sources based on the play policy.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
It should be noted that the above-mentioned embodiments of the multiple device audio source management apparatus are merely illustrative, where the modules described as separate components may or may not be physically separate, and the components displayed as modules may or may not be physical units, that is, may be located in one place, or may also be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
On the basis of the foregoing embodiment of the multi-device sound source management method, another embodiment of the present invention provides a multi-device sound source management terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the multi-device sound source management method according to any one of the embodiments of the present invention is implemented.
Illustratively, the computer program may be partitioned in this embodiment into one or more modules that are stored in the memory and executed by the processor to implement the invention. The one or more modules may be a series of instruction segments of the computer program capable of performing specific functions, and the instruction segments are used for describing the execution process of the computer program in the multi-device sound source management terminal device.
The multi-device sound source management terminal device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The multi-device sound source management terminal device can comprise, but is not limited to, a processor and a memory.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general processor can be a microprocessor or the processor can be any conventional processor, etc., the processor is the control center of the multi-device sound source management terminal device, and various interfaces and lines are used for connecting all parts of the whole multi-device sound source management terminal device.
The memory can be used for storing the computer program and/or the module, and the processor realizes various functions of the multi-device sound source management terminal device by running or executing the computer program and/or the module stored in the memory and calling the data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
On the basis of the above-mentioned embodiment of the multi-device sound source management method, another embodiment of the present invention provides a storage medium, where the storage medium includes a stored computer program, and when the computer program runs, a device in which the storage medium is located is controlled to execute the multi-device sound source management method according to any one of the embodiments of the present invention.
In this embodiment, the storage medium is a computer-readable storage medium, and the computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, and so on. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer-readable medium may contain suitable additions or subtractions depending on the requirements of legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer-readable media may not include electrical carrier signals or telecommunication signals in accordance with legislation and patent practice.
In summary, the multi-device sound source management method, apparatus, device and storage medium disclosed by the present invention detect whether there is multi-device sound source input in the current earphone; when the multi-equipment sound source input is detected to exist, feeding back a preset playing strategy list to a user; and responding to the playing strategy selected by the user, adjusting and selecting the equipment sound source corresponding to the highest playing priority for playing according to the playing priority of the current multi-equipment sound source based on the playing strategy. Compared with the prior art, the method and the device realize the management of the input of multiple sound sources and improve the controllability of the sound sources of multiple devices by responding to the preset playing strategy fed back by the user.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and substitutions can be made without departing from the technical principle of the present invention, and these modifications and substitutions should also be regarded as the protection scope of the present invention.
Claims (10)
1. A multi-device sound source management method, comprising:
detecting whether a multi-device sound source input exists in the current earphone;
when the multi-equipment sound source input is detected to exist, feeding back a preset playing strategy list to a user;
and responding to the playing strategy selected by the user, adjusting and selecting the equipment sound source corresponding to the highest playing priority for playing according to the playing priority of the current multi-equipment sound source based on the playing strategy.
2. The method for multiple-device sound source management according to claim 1, wherein the detecting whether the multiple-device sound source input exists in the current earphone specifically comprises:
the method comprises the steps of detecting an input sound source of the current earphone, judging that the input of a multi-device sound source exists in the current earphone if the input of a computer sound source and a Bluetooth sound source exists in the current earphone at the same time, and judging that the input of the multi-device sound source does not exist in the current earphone if the input of the computer sound source and the Bluetooth sound source does not exist in the current earphone at the same time.
3. The multi-device sound source management method according to claim 2, wherein the play strategy list comprises: a first play strategy;
the first play strategy specifically includes: when the input of multiple equipment sound sources is detected, setting the playing priority of the computer sound source as the highest playing priority;
and after the computer sound source is obtained, immediately playing the computer sound source, and pausing the playing of the Bluetooth sound source.
4. The multi-device sound source management method according to claim 2, wherein the play strategy list further comprises: a second play strategy;
the second play strategy specifically includes: when the input of a multi-device sound source is detected, acquiring a computer sound source in the multi-device sound source, and carrying out duration detection on the acquired computer sound source;
when the computer sound source is detected to be longer than the preset time length, setting the playing priority of the computer sound source as the highest playing priority, playing the computer sound source, and simultaneously pausing the playing of the Bluetooth sound source;
and when the duration of the computer sound source is detected to be less than or equal to the preset duration, playing the Bluetooth sound source.
5. The multi-device sound source management method according to claim 3, wherein the play strategy list further comprises: a second play strategy;
the second play strategy specifically includes: when the input of a multi-device sound source is detected, acquiring a computer sound source in the multi-device sound source, and carrying out duration detection on the acquired computer sound source;
when the fact that the duration of the computer sound source is greater than the preset duration is detected, setting the playing priority of the computer sound source as the highest playing priority, playing the computer sound source, and simultaneously pausing playing the Bluetooth sound source;
and when the duration of the computer sound source is detected to be less than or equal to the preset duration, the Bluetooth sound source is played.
6. The multi-device sound source management method according to any of claims 2-5, wherein the playlist further comprises: a third play strategy;
the third playing strategy specifically includes: when the situation that the input of multiple equipment sound sources exists is detected, setting the playing priority of the Bluetooth sound source as the highest playing priority;
and after the Bluetooth sound source is obtained, the Bluetooth sound source is immediately played, and the computer sound source is paused to be played.
7. A multi-device sound source management apparatus, comprising: the device comprises a detection module, a feedback module and a response module;
the detection module is used for detecting whether the current earphone has multi-device sound source input;
the feedback module is used for feeding back a preset playing strategy list to a user when the multi-device sound source input is detected to exist;
and the response module is used for responding to the playing strategy selected by the user, adjusting and selecting the equipment sound source corresponding to the highest playing priority for playing according to the playing priority of the current multi-equipment sound source based on the playing strategy.
8. The apparatus for multiple-device audio source management according to claim 7, wherein the detecting module is configured to detect whether there is multiple-device audio source input in a current headset, and specifically:
the detection module is used for detecting the input sound source of the current earphone, judging that the input of the multi-device sound source exists in the current earphone if the input of the computer sound source and the input of the Bluetooth sound source exist in the current earphone at the same time, and judging that the input of the multi-device sound source does not exist in the current earphone if the input of the computer sound source and the input of the Bluetooth sound source do not exist in the current earphone at the same time.
9. A terminal device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the multi-device audio source management method according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, comprising a stored computer program, wherein when the computer program runs, the computer-readable storage medium controls a device to execute the multi-device sound source management method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210154527.4A CN114625335A (en) | 2022-02-18 | 2022-02-18 | Multi-device sound source management method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210154527.4A CN114625335A (en) | 2022-02-18 | 2022-02-18 | Multi-device sound source management method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114625335A true CN114625335A (en) | 2022-06-14 |
Family
ID=81900179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210154527.4A Pending CN114625335A (en) | 2022-02-18 | 2022-02-18 | Multi-device sound source management method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114625335A (en) |
-
2022
- 2022-02-18 CN CN202210154527.4A patent/CN114625335A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109445740B (en) | Audio playing method and device, electronic equipment and storage medium | |
US10908870B2 (en) | Audio playing method, apparatus, device and server | |
US9652195B2 (en) | Audio output device that utilizes policies to concurrently handle multiple audio streams from different source devices | |
CN106598539B (en) | Method and device for processing audio in application program | |
EP3373138B1 (en) | Method, device, terminal and storage medium for adjusting broadcast message queue | |
US20140119571A1 (en) | Method and Device for Automatically Adjusting Sound Volume | |
CN110290441B (en) | Wireless earphone control method and device, wireless earphone and storage medium | |
US11991612B2 (en) | Bluetooth data transmission method and apparatus, terminal and storage medium | |
CN108063874A (en) | A kind of information processing method, device, terminal and computer readable storage medium | |
CN107621933B (en) | Audio playing method and device and related medium product | |
CN110856086A (en) | Method and device for controlling sound system and readable storage medium | |
CN106095379B (en) | A kind of volume adjusting method and device | |
US10013232B2 (en) | Wireless speaker connection management | |
CN106851593B (en) | A kind of broadcast transmission method, apparatus and terminal | |
CN115022773A (en) | Bluetooth device audio control method, device and storage medium | |
CN113760219A (en) | Information processing method and device | |
CN111107226A (en) | Volume control method applied to mobile terminal | |
CN116074679B (en) | Method, device, equipment and storage medium for determining left and right states of intelligent earphone | |
CN106649645A (en) | Playlist processing method and device | |
CN114625335A (en) | Multi-device sound source management method, device, equipment and storage medium | |
CN115915081A (en) | Audio output channel switching control method, intelligent terminal and storage medium | |
CN105682010A (en) | Bluetooth connection control method and device in audio playing system, and player | |
CN116017312A (en) | Data processing method and electronic equipment | |
CN112965685B (en) | Audio control method, device, system, terminal equipment and storage medium | |
CN113407147A (en) | Audio playing method, device, equipment and storage medium |
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 |