Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Device names on Android #959

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Frando
Copy link
Contributor

@Frando Frando commented Mar 10, 2025

Currently the Device::name() on oboe host (Android) only contains the oboe::AudioDeviceInfo::product_name string. This is, however, identical for all internal audio devices.
This PR changes this to add the AudioDeviceType and, if present the address, which then gives an actually useful list of audio devices.

List of device names before:
["Pixel 8", "Pixel 8", "Pixel 8", "Pixel 8", ...]

List of devices names after
["Pixel 8:BuiltinEarpiece", "Pixel 8:BuiltinSpeaker", "Pixel 8:BuiltinMic:bottom", "Pixel 8:BuiltinMic:back", ...]

@Frando Frando force-pushed the feat/android-device-name branch from 8beb627 to dfed2b5 Compare March 10, 2025 12:45
@Frando
Copy link
Contributor Author

Frando commented Mar 10, 2025

The CI failure for the WASM build seems unrelated to me.

@est31
Copy link
Member

est31 commented Mar 16, 2025

Hi, I've just merged #961. Could you confirm if the issue persists in the new Android backend and if yes, adjust the PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants