Questions tagged [headphones]

146 questions
3
votes
1 answer

Is it possible to detect whether or not something is plugged into the audio jack, in python?

I'm trying to detect if there is a device hooked into the audio jack with python. This is in Windows 7.
rectangletangle
  • 50,393
  • 94
  • 205
  • 275
3
votes
0 answers

Is it possible to force audio through speakers while headphones are connected?

I need to force audio through speakers because there's a headphone jack tip stuck in my connector which is most likely not coming out. On android 8.0 I used an app called Audio Router to route the audio to speakers and it worked fine but after I…
Martin
  • 31
  • 1
3
votes
0 answers

how to get battery status of a bluetooth headphone in c#

I have a pair of Bluetooth headphones and I want to retrieve its battery status and especially the level of remaining charge in my Windows application. I searched a lot but I couldn't find anything helpful.
Oliver
  • 83
  • 1
  • 10
3
votes
2 answers

Send signals through headphone cable

I've done quite a bit of searching on this but haven't found anything. I have an idea for an app to control a device, that would need to connect through the headphone cable. Is it possible to send signals through the headphone socket?
athor
  • 6,848
  • 2
  • 34
  • 37
3
votes
0 answers

How to get microphone input from both ears simultaniosly on Apple Airpods?

Is it possible to do such thing ? I see in ios setting you can set one of 3 options for Airpods microphone: 1) Automatically Switch AirPods 2) Always Left Airpod 3) Always Right Airpod If it's not possible to read microphone input simultaneously…
Alex Dolton
  • 65
  • 1
  • 7
3
votes
0 answers

Use iPhone's headphones PlayPause button to execute code

In my app, the user can say a command into his microphone when he presses a UIButton on screen (and it stops listening when he presses it again) and it then executes some code (-> this works). I would like to do the same when the user presses his…
Charles Rostaing
  • 548
  • 5
  • 17
3
votes
1 answer

Weird AVMutableComposition behavior when headphones are plugged in

I have an app that streams mov files. One of the features in my app is recording audio over these streamed files. In order to accomplish that I download the streamed file in the background and then commence audio recording to capture user audio.…
hanleyhansen
  • 6,304
  • 8
  • 37
  • 73
3
votes
0 answers

How to capture Data Using Headphone Audio Jack and what type of data jack support?

I have done lot of research on data transmission using mobile headphone jack. I go through one library AudioJackTransfer which provide some mechanism for male to male transfer. I didn't found any useful things. My goal is to capture image/video…
Pranav
  • 4,172
  • 3
  • 30
  • 31
3
votes
1 answer

How to force sound file to play only with headphones in android

I am working on an app and I need to play a sound file only with headphones, no speakers, no earpiece weather headphone is plugged or not, on switch buttons' on or off state. I have written below code for…
Himanshu Rathore
  • 108
  • 3
  • 11
3
votes
2 answers

Detect plugged & unplugged event on headphone jack in Xamarin.iOS (iOS 7)

I'm trying to find a way to detect the plugged/unplugged event on headphone Jack in Xamarin.iOS, specifically on latest version (iOS 7). I've found posts that give solution for earlier versions, but that doesn't seems to work for iOS 7. Is there a…
3
votes
0 answers

Programmatically change headphone's button behavior

Is it possible to programmatically change the process that starts once the user click the LifeChat LX-3000 center button? I don't have any kind of experience programming with hardware so don't know if it's even possible. The problem is, a client of…
Erre Efe
  • 15,387
  • 10
  • 45
  • 77
3
votes
1 answer

In iPhone, to support bluetooth headphone, do I have to do something?

I'm developing music app. I did nothing to support normal wired headphone or headset but I can hear music with my headphones. Do I have to write some code to support bluetooth headphone or bluetooth headset? Do I have to buy bluetooth headphone to…
js_
  • 4,671
  • 6
  • 44
  • 61
2
votes
1 answer

How to disconnect but not unpair an already paired bluetooth headphone in Android

I pass HeadphoneConnectThread the bluetooth device i.e. SONY WH-1000XM3 that I get from: Set pairedDevices = bluetoothAdapter.getBondedDevices();. The HeadphoneConnectThread class attempts to establish a connection with the…
aamir
  • 76
  • 1
  • 4
2
votes
1 answer

Ubuntu 18.04 bluetooth headphone always reconnect in Mono

I'am new to linux. I'am under Ubuntu 18.04 and I have a bluetooth Headphone (Doqaus Care1). The pairing works fine and the sound is Ok until the headphone goes in power save (if there is no sound/music played, the headphone shuts down). But when I…
Fred Mériot
  • 4,157
  • 9
  • 33
  • 50
2
votes
1 answer

I WANT TO: Play .mp3 through only one speaker

I'm using javascript, and I'm trying to write a program that will, among other things, play an mp3 through either the left or the right speaker (it will vary), but not both. However, I want it to be absolutely silent on the other speaker. In the…
1 2
3
9 10