[Bug 1560068] Re: Settings report incorrect Microphone device names
Ubuntu Touch is no longer supported. ** Changed in: pulseaudio (Ubuntu) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560068 Title: Settings report incorrect Microphone device names To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1560068/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1560068] Re: Settings report incorrect Microphone device names
** Tags added: pulse-touch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560068 Title: Settings report incorrect Microphone device names To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1560068/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1560068] Re: Settings report incorrect Microphone device names
** Changed in: oxide Assignee: (unassigned) => Alexandre Abreu (abreu-alexandre) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560068 Title: Settings report incorrect Microphone device names To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1560068/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1560068] Re: Settings report incorrect Microphone device names
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: pulseaudio (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560068 Title: Settings report incorrect Microphone device names To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1560068/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1560068] Re: Settings report incorrect Microphone device names
Additionally, the device names should be localized, as they are user- facing strings. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560068 Title: Settings report incorrect Microphone device names To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1560068/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1560068] Re: Settings report incorrect Microphone device names
@David: Not sure, but you can take a look at $ pactl list sources That lists all properties pulse reports for the source devices. However from the Android side (that is where we're reading the list of available devices from) we only get 'primary' as the name of the source and not further information. With that we could fix the description of the pulse source to remove 'Droid' from the name and just have something like 'primary source'. What you also have to respect is that the primary source has different ports Source #1 State: SUSPENDED Name: source.primary Description: Droid source primary Driver: module-droid-card.c Sample Specification: s16le 2ch 44100Hz Channel Map: front-left,front-right Owner Module: 5 Mute: no Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB balance 0.00 Base Volume: 65536 / 100% / 0.00 dB Monitor of Sink: n/a Latency: 0 usec, configured 0 usec Flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME Properties: device.description = "Droid source primary" droid.hw_module = "primary" device.icon_name = "audio-card" droid.audio_source = "default" Ports: input-builtin_mic: Input from builtin mic (priority: 300) input-bluetooth_sco_headset: Input from bluetooth sco headset (priority: 200) input-wired_headset: Input from wired headset (priority: 500, not available) input-voice_call: Input from voice call (priority: 200) input-back_mic: Input from back mic (priority: 200) input-default: Input from default (priority: 200) input-parking: Parking port (priority: 50) Active Port: input-builtin_mic Formats: pcm So the primary source can be the builtin-mic, a connect HFP headset, audio coming from a call, ... Which port is active depends on different factors in the system. We should also look into gnome-control-center and see how the audio configuration is handled there. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560068 Title: Settings report incorrect Microphone device names To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1560068/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1560068] Re: Settings report incorrect Microphone device names
Oxide is responsible for listing the audio capture devices. See https://bazaar.launchpad.net/~oxide- developers/oxide/oxide.trunk/view/head:/qt/core/api/oxideqmediacapturedevices.cc#L163 for implementation details. Chromium exposes the following attributes for each device: - id (string) - name (string) - input (AudioDeviceParameters) - sample_rate (int) - channel_layout (int) - frames_per_buffer (int) - effects (int) The null input device would need to be filtered out based on any combination of these attributes, while making sure that no other valid device can be incorrectly filtered out. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560068 Title: Settings report incorrect Microphone device names To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1560068/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1560068] Re: Settings report incorrect Microphone device names
@morphis: Is there a better API to call to get the list of "user" visible audio inputs instead? or a well-known filter to apply to get those. I image most apps will want that list, whereas system level components will be the only one interested in the full extent list. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560068 Title: Settings report incorrect Microphone device names To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1560068/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1560068] Re: Settings report incorrect Microphone device names
** Package changed: webbrowser-app (Ubuntu) => oxide -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560068 Title: Settings report incorrect Microphone device names To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1560068/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1560068] Re: Settings report incorrect Microphone device names
There are two things: 1. The incorrect named "Droid source primary" element which is something we could easily fix from pulseaudio by just adding a better description for the source. 2. The null input should be never listed as its useless for the user and just used internally to allow proper routing for Bluetooth audio devices. Whoever (I suspect webbrowser-app) lists the devices here needs to filter that device out. There are a number of different hings for the source element we can use for that Source #3 State: SUSPENDED Name: source.fake.sco Description: Null Input Driver: module-null-source.c Sample Specification: s16le 1ch 8000Hz Channel Map: mono Owner Module: 8 Mute: no Volume: mono: 65536 / 100% / 0.00 dB balance 0.00 Base Volume: 65536 / 100% / 0.00 dB Monitor of Sink: n/a Latency: 0 usec, configured 0 usec Flags: DECIBEL_VOLUME LATENCY Properties: device.description = "Null Input" device.class = "abstract" device.icon_name = "audio-input-microphone" Formats: pcm ** Also affects: pulseaudio (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1560068 Title: Settings report incorrect Microphone device names To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1560068/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs