[WFD] Connect WiFi display, plug in wired headphones, sound should go to headset side[DESCRIPTION]
Connect WiFi display, plug in Wired headphones, play music or multimedia, sound on the TV side.
[Solution]
This is the Android default design, if you want to change, modify the policy section,
AudioPolicyManager.cpp's Getdeviceforstrategy function,
Case Strategy_media,
Will enter the IF (!mchangepriorsubmix) selection to Device2 = Availableoutputdevi
First, import the system library
# Import
// Listen to the headset event
[[Avaudiosessionsharedinstance] setdelegate: Self];
// Use this code instead to allow the app sound to continue to play when the screen is locked.
[[Avaudiosessionsharedinstance] setcategory: avaudiosessioncategoryplayback error: Nil];
// Registers the audio route change listener callback function
Audiosessionaddpropertylistener (kaudiosessionproperty_audioroutechange, audioro
My computer is equipped with headsets, I don't know what's going on lately, and sometimes I don't have any. Whether it is plugged in front or back of the interface is useless, reload the sound card driver or not. Please help to solve, thank you.
A: Put the headset on a computer that is normally out of voice, and then prepare a headset to receive your computer. Using such a simple test to determine whether
After work, I went to Pacific digital to buy a new headset. After I got home, I inserted it. A friend was on QQ and found that I could hear the other party's voice, but the other party could not hear me! The headset is definitely good. I double-click the small horn in the lower right corner and find that the "balance" of the microphone is gray. Open the "advanced" below, good guy! The adjustment button in "
How does win10 enable simultaneous sound and headset sound ?, Win10 audio
In the newly installed win10, the sound output from the back is audible, but there is no sound output from the front earphone. I made a step for learning.
To get the sound, you must first find the control panel. If you are not familiar with it, you really don't know where the win10 control panel is. Check: Right-click the blank area on the desktop and choose personalization.
By default, the short press headset key is used to pause/play music. You can press the headset key to pause/play FM as follows:
Please delete your media button code, modify as below:
1. AndroidMenifest. xml:
2. FMRadioActivity. java code:
Public interface MediaButtonListener {
Void onMediaButtonCall (Intent intent );
}
Private MediaButtonListener mMediaButtonListener = new MediaButtonListener (){
The specific methods are as follows:
1, turn on the computer Bluetooth, paired Bluetooth equipment;
2, after the success of matching in the equipment can be found. However, the pairing process may indicate that the peripheral device installation is unsuccessful;
3, at this time we will install Atheros Bluetooth device driver;
4, the installation of Atheros Bluetooth device driver is very simple, a bit of computer basics are no problem. Always the next smart installation
, mainly speaking of the third, I will be the above "iOS headset wire control" This article in the code written in the
Appdelegate method, but does not execute the Remotecontrolreceivedwithevent method (Note: This method only can be triggered by the middle of headphones), and finally added a section of audio playback code, namely:
NSString *string = [[NSBundle mainbundle] pathforresource:@ "test" oftype:@ "MP3"];
Convert audio files to URL format
Nsur
(@ "Click, then press not to put, loosen when: 109");
}break;
Default
Break
}
}
}
Add the above code to get the headset line control of each click event, tick the taxi before the version of a headset grab a single function, is so realized
====================================================================================================
Capture Headphone Plug event in iOS development
void Audior
Give your illustrator software users a detailed interpretation of the tutorial on how to draw an ipod headset.
Tutorial Sharing:
Fill the objects up with gradient.
Make a line with the Pen Tool.
Duplicate the line but make the color lighter and use a smaller stroke.
Go to Object > Blend > Make. Put the cable under the earbud.
Well, the above information is small compiled to you illustrator
If the headset does not hear a sound:
We click on the computer in the lower right corner of the speaker button, right click on the playback device, in the playback option to set the headset as the default device and disable other devices.
If the microphone does not sound correctly, click the Speaker button in the lower-right corner of the computer, right-click on the recording device, check th
IPhone6 phone status under the headset functional skills:Press the central button once, you can answer calls;Press the central button once, you can end the current call;Press and hold the central button for about two seconds, then release to reject the call! Two low beeps will confirm that the call has been refused;Press the central button once, and then press once to switch back to the original call, switch to the call or reserved call and keep the c
Win7 System bluetooth Headset Quality difference adjustment method is as follows:
1, double-click the lower right corner of the Bluetooth icon;
2, right-click Bluetooth headset Equipment, choose to operate Bluetooth equipment;
3, you can see the connection state, which "listen to music" to keep the connection, can not disconnect;
4, turn on the Bluetooth device properties, switch to the "Services"
The FM radio needs to be plugged into the headset as an antenna and automatically exits when the headset is unplugged1. First add a hint stringMediatek/packages/apps/fmradio/res/values/strings.xml2.Modify FmradioserviceMediatek/packages/apps/fmradio/src/com/mediatek/fmradio/fmradioservice.java ---a/mediatek/packages/apps/fmradio/src/com/mediatek/fmradio/fmradioservice.java+++ b/mediatek/packages/apps/ fmra
In Ubuntu9.04, you can insert a headset into the concert and find that the speaker in the notebook will make a sound at the same time. In order to solve this problem, I searched for a while in the Ubuntu Chinese forum and did not find any simple method. I personally thought it would not be so troublesome. So I tried it for a while and found that it was really good. See the following method: 1. system volume settings- gt; volume control... device: HDAI
Linux sound card settings (speaker and headset sound solutions at the same time)-Linux general technology-Linux technology and application information, the following is a detailed description. This sound card is relatively new. It can only be installed with the official driver on windows. In linux, it is sound, that is, the Speaker and the headset are ringing together, and there is no way to listen to music
PrincipleIn fact, the Android system will send the broadcast when the headset is plugged in and unplugged, so we want to detect the headset's status only needs to register the response of the broadcastreceiver, the status of the response to the judgment is OK.The name of the broadcast is called:Android.intent.action.HEADSET_PLUGCode Packagecom.yydcdut.ear;ImportAndroid.os.Bundle;Importandroid.app.Activity;ImportAndroid.content.BroadcastReceiver;Import
PrincipleIn fact, the Android system will send the broadcast when the headset is plugged in and unplugged, so we want to detect the headset's status only needs to register the response of the broadcastreceiver, the status of the response to the judgment is OK.The name of the broadcast is called:Android.intent.action.HEADSET_PLUGCodePackage Com.yydcdut.ear;import Android.os.bundle;import Android.app.activity;import Android.content.broadcastreceiver;imp
Problem: The headset is ringing and does not ring on one sideTroubleshooting: ( on windows7 system)1, the headset on another computer to try if no problem can be ruled out the problem of headphones. 2.Volume synthesizer - speaker - Advanced Click Test if both sides are ringing, the problem is not the sound card. 650) this.width=650; "width=" 165 "height=" 196 "src="/e/u261/themes/default/images/spacer.gif "
Normally, the next time the computer will automatically recognize and connect the Bluetooth device when the user connects the Bluetooth device to the computer, And in the recent part of the win8.1 system users, in the use of Bluetooth headset, can not automatically connect each time, the user through the manual connection can not let the device and computer links, users can only reload Bluetooth driver to be paired again, for this problem how do we so
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.