Questions tagged [headphones]
146 questions
0
votes
1 answer
Detect if headphones are plugged into the headphone jack in Java
Is there a way to detect in Java if headphones have been plugged into the headphone jack? This solution must be specific to Java.

Orren Ravid
- 560
- 1
- 6
- 24
0
votes
0 answers
How Can I Record Karoke while Headphone is plug-in?
I want to make a karaoke app and everything is perfect, without headphone plug-in.
[.MixWithOthers, .DefaultToSpeaker])
I want to set it to [.MixWithOthers, .DefaultToHeadPhones])
but there is not any function like that. However mix recording not…

HariKarthick
- 1,369
- 1
- 19
- 47
0
votes
1 answer
Can a RtAudio software record output audio of an Android OS Device, in an unrooted user case?
I liked to know if a RtAudio software can record output audio of an Android OS Device, in an unrooted user case.
RtAudio is available at:
http://www.music.mcgill.ca/~gary/rtaudio/index.html .
By the way, I liked to know if a RtAudio software can…

dsfbi_13052013
- 73
- 1
- 9
0
votes
2 answers
Android, how to route the audio to speakers when headphones inserted?
I am looking for a way to play audio from an Android device's speaker, even when headphones are inserted.
In fact, the typical behavior is that, when headphones are inserted, no audio is outputted form the speakers. However some apps, such the…

user975176
- 428
- 5
- 16
0
votes
0 answers
I can not hear music after recording (Swift)
I make a karaoke app. If headphone doesn't plugin app works fine.(my voice and background music record together). it is successful. but I'm the same way with headphone Then I listen to the recording. I can not hear the background music.(its too much…

davudi
- 117
- 3
- 13
0
votes
1 answer
Input dropouts on plugging in headphones in iOS
I'm getting some long input audio dropouts after plugging in headphones on an iOS 8 device. That is, AudioUnitRender() succeeds as usual on the I/O audio unit, but has intermittent digital silence for a few seconds. It's a predictable pattern of…

Luke
- 7,110
- 6
- 45
- 74
0
votes
1 answer
launch third party apps without package name
Im trying to make an app that automatically launches the music player of your choice when the headphones are plugged in. For this to work, when the user plugs in their headphones I want an intent to show all the applications on their phone so they…

Jordan
- 407
- 5
- 20
0
votes
2 answers
Has anyone tried to play sounds through the speakers and headphones at the same time? Android + iOS
I currently have an app that generates sounds on the fly, like pure tones and white noise, and I can hear that on the headphones.
Is it possible to send the same signal to the internal speakers and the headphones at the same time? I would like to do…

the_moon
- 553
- 1
- 7
- 21
0
votes
1 answer
Android MediaButtonReceiver - is blocking event but do not handles it
Android MediaButtonReceiver - is blocking event but do not handles it.
Log is empty.
Also - there is no headphone icon on the bar.
Before experimenting with my code icon was there, and the button was starting and stopping the music.
code:
public…

user3784498
- 1
- 1
0
votes
1 answer
Play audio at two different Audiodevices simultaneously with Naudio
My question is similar to one here :
Play audio to two different Audiodevices simultaneously with Naudio
But i ask it here again since it has not been answered clearly in the link above.
I also have it at:
Play sound in both speaker and headset…

user2054702
- 69
- 1
- 11
0
votes
1 answer
Play sound in both speaker and headset wpf
I have an wpf application and i am using the soundPlayer class to play sound (for eg ringtone). Currently the tone plays either on speakers or on the headset (if its plugged in).
I would like the application to play the tone on speaker even when the…

user2054702
- 69
- 1
- 11
0
votes
1 answer
Determine if headphones are plugged in through AppWidgetProvider, pause music when unplugged
There are a million and five questions on SO about this, but I've tried sorting through them all, and can not get it working. I know that AppWidgetProvider just extends BroadcastReceiver so I think I can just do everything within my…

Christopher Johnson
- 2,629
- 7
- 39
- 70
0
votes
1 answer
Bluetooth audio device not under playback devices after pairing
I have the Sennheiser PXC 360 BT headphones and a new laptop with Windows 8.
On my previous laptop I simply paired the headphones with Windows and it was always displayed under my audio playback devices, whether it was connected or not. To connect…

Boebi
- 1
- 1
- 2
0
votes
1 answer
Detect plugIn or unplug of headphone jack from iPhone when my app is in background mode
I want to notify the user when my headphone jack is PluggedIn or UnPlugged from my iPhone/iPod/iPad when my app is in the background mode.
Here I have the code which detects in the foreground mode.
- (void)viewDidLoad
{
[super viewDidLoad];
//…

SriKanth
- 459
- 7
- 27
0
votes
1 answer
Android: clicking noise is heard on headphone while playing audio when phone moves
I have written an Android app that receives audio from WiFi and plays it. When the phone is still and not moving the audio quality is great. But when I move the phone specially when it is connected to a headphone I can hear clicking noise. I am…

TJ1
- 7,578
- 19
- 76
- 119