Camera icon indicating copy to clipboard operation
Camera copied to clipboard

External USB C microphones not supported

Open summersab opened this issue 8 months ago • 10 comments

Checklist

  • [x] I can reproduce the bug with the latest version given here.
  • [x] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • [x] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • [x] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • [x] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • [x] This issue contains only one bug.
  • [x] I have read and understood the contribution guidelines.

Affected app version

1.0.1

Affected Android/Custom ROM version

Android 14/LOS 21

Affected device model

OnePlus 7 Pro

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. Plug in a USB C microphone
  2. Validate that the microphone is working using an audio recording app (MicTest isn't FOSS, but it is ad free)
  3. Open Fossify Camera and record a video
  4. Play back video

Expected behavior

The audio should use the USB C microphone as the audio input source.

Actual behavior

The app uses the built-in device microphones.

Screenshots/Screen recordings

No response

Additional information

I can confirm that this is also a problem with the SimpleMobileTools app, but LibreCamera and OpenCamera both work just fine.

This is on the edge of a bug request and perhaps more of a feature request, but this really should be functional.

summersab avatar Apr 04 '25 03:04 summersab

I've tested on OnePlus 9 Pro with stock Android 14, and Fossify Camera records sound from an external microphone connected via USB-C. Can you check if external microphone is not disabled by any system setting? Also, does it work with the camera app preinstalled with your OS?

Aga-C avatar Apr 04 '25 05:04 Aga-C

Currently the app doesn't handle audio sources itself, it relies on whatever is selected by the camera lib or the system.

naveensingh avatar Apr 04 '25 08:04 naveensingh

I've tested on OnePlus 9 Pro with stock Android 14, and Fossify Camera records sound from an external microphone connected via USB-C. Can you check if external microphone is not disabled by any system setting? Also, does it work with the camera app preinstalled with your OS?

I tried again, and it works just fine in LibreCamera and OpenCamera but not Fossify.

Strangely, it doesn't work with the stock org.lineageos.aperture app, either. There doesn't seem to be a microphone setting in that app other than enabling and disabling audio recording.

I don't know of any Android system setting to enable or disable the microphone, but since it works in other apps, I'm not sure that any such setting would be causing a problem. I'm happy to look if you tell me where it would be.

summersab avatar Apr 06 '25 21:04 summersab

Strangely, it doesn't work with the stock org.lineageos.aperture app, either. There doesn't seem to be a microphone setting in that app other than enabling and disabling audio recording.

Probably because that app also seems to be using the same camera library as Fossify.

I'll test this on my device as soon as I am able to find my type C microphone.

naveensingh avatar Apr 06 '25 21:04 naveensingh

LibreCamera is nothing but a wrapper using Flutter and Dart. I'm surprised it works as well as it does because those apps tend to be pretty lightweight and feature-modest. However, it works with my USB C mic. ¯_(ツ)_/¯

summersab avatar Apr 06 '25 23:04 summersab

I'll test this on my device as soon as I am able to find my type C microphone.

Found it. Couldn't reproduce. Will test on some other devices.

naveensingh avatar Apr 15 '25 07:04 naveensingh

Odd. Mine is legitimately a cheap Chinesium microphone I bought from Facebook Marketplace. It's possible it's just a crappy mic, but it should still work if it works with other apps, right? Weird.

Is there any debugging I can do? I'm not an Android dev but rather a LAMP guy, so you might have to walk me through things a little.

summersab avatar Apr 15 '25 18:04 summersab

My USB-C microphone has been detected by the phone as a headset. Even it tried to play the sound via it. Maybe it has something to do with why it works in my case.

Aga-C avatar Apr 15 '25 18:04 Aga-C

As an alternative (or addition), it would be epic if this app could support Bluetooth audio sources. Most camera apps don't have this option (I've only found a few apps with ads that do). If I could use my nice Jabra earbuds to record audio, that would be better than needing the finicky USB C mic I have.

If you'd like me to open a separate feature request, I can. I thought I'd mention it for discussion first, though.

summersab avatar May 03 '25 18:05 summersab

Yeah, that would be a separate feature request.

naveensingh avatar May 04 '25 14:05 naveensingh