Cross-Device Audio Pickup Control for Shared MIC Access
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The Windows operating system lacks audio focus management, causing a PC to perpetually occupy an in-vehicle electronic device's sound pickup unit, preventing other applications from using it, even when sound pickup is not needed, leading to disruptions and echoes in audio stream collection.
Innovation Solution
An audio control method that detects the status of a sound pickup unit in real time, sending occupation or release instructions to the second electronic device based on its activation state, ensuring other applications can use the sound pickup unit when not needed by the first electronic device.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the PC perpetually occupies the vehicle MIC to maintain uninterrupted sound pickup, then the sound pickup of the PC-based application is maintained, but the vehicle applications cannot use the vehicle MIC
Solution Approach 1:
The patent implements dynamic occupation and release of the sound pickup unit based on real-time detection of audio stream collection status. The PC-based application periodically detects whether audio stream collection is currently performed, and dynamically adjusts the occupation state of the vehicle MIC accordingly, transitioning from static perpetual occupation to dynamic conditional occupation.
Solution Approach 2:
The patent introduces a feedback mechanism where the PC-based application periodically queries the collection status of audio streams. Based on this feedback information, the system determines whether to maintain or release the occupation of the vehicle MIC, enabling intelligent control that responds to actual usage needs rather than maintaining constant occupation.
2Reliability
If the PC uses perpetual occupation of the vehicle MIC, then uninterrupted sound pickup is ensured, but echoes may occur when no sound pickup is needed
Solution Approach 1:
The system dynamically adjusts the sound pickup status based on real-time detection of audio collection needs. When the PC-based application detects that audio stream collection is not currently performed, it releases the occupation of the vehicle MIC, thereby avoiding echoes that would occur with perpetual occupation during periods when sound pickup is not needed.
Solution Approach 2:
The patent employs feedback from the audio collection status to control the sound pickup unit occupation. The PC-based application periodically checks whether audio streams are being collected, and uses this feedback to determine whether to maintain or release the vehicle MIC occupation, preventing echo generation during periods when sound pickup is not active.
3Reliability
If the PC-based application continuously occupies the vehicle MIC, then sound pickup interruptions are avoided, but other applications cannot use the sound pickup unit
Solution Approach 1:
The patent implements dynamic occupation management where the PC-based application transitions from static continuous occupation to dynamic conditional occupation. The system periodically detects audio collection status and adjusts occupation accordingly, allowing other applications to access the vehicle MIC when the PC-based application does not need it, thereby improving ease of operation while maintaining sound pickup stability when needed.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
This application relates to the field of media playing technologies, and discloses an audio control method, a device, and a medium. The audio control method in this application includes: a first sound pickup unit of a first electronic device being in an active state, the first electronic device collects audio data by using a second sound pickup unit of a second electronic device; and the first electronic device detects that the first sound pickup unit has changed from the active state to an inactive state, and the first electronic device stops collecting audio data by using the second sound pickup unit of the second electronic device. Based on the foregoing solution, the following problem can be effectively avoided: An application of the first electronic device occupies the sound pickup unit of the second electronic device for a long time in a process of collaboration between the first electronic device and the second electronic device, affecting use of the sound pickup unit by an application of the second electronic device. This ensures that an application of the second electronic device or an application of another electronic device or the like can use the sound pickup unit of the second electronic device when the first electronic device does not need to use the sound pickup unit.