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

Device icons #86

Closed
peteruithoven opened this issue Oct 27, 2018 · 0 comments · Fixed by #213
Closed

Device icons #86

peteruithoven opened this issue Oct 27, 2018 · 0 comments · Fixed by #213

Comments

@peteruithoven
Copy link
Collaborator

peteruithoven commented Oct 27, 2018

PulseAudio gives us device information like form factor and icon name, we could use this to add icons to the input and output devices list.

We get this on the Card level and when it's not a blue device also on Port level. Some examples:

  • Card: Built-in Audio:
    • device.form_factor = "internal"
    • device.icon_name = "audio-card-pci" (we could use audio card?)
    • port: Internal Microphone (analog-input-internal-mic)
      • device.icon_name = "audio-input-microphone" (we have an icon for this)
    • port: Microphone (analog-input-headphone-mic)
      • device.icon_name = "audio-input-microphone" (we have an icon for this)
    • port: Headset Microphone (analog-input-headset-mic)
      • device.icon_name = "audio-input-microphone" (we have an icon for this)
    • port: Speakers (analog-output-speaker)
      • device.icon_name = "audio-speakers" (we could use audio card?)
    • port: Headphones (analog-output-headphones)
      • device.icon_name = "audio-headphones"
    • port: HDMI / DisplayPort (hdmi-output-0)
      • device.icon_name = "video-display" (we have an icon for this)
  • Card: SoundBuds Slim (Bluetooth device)
    • device.form_factor = "headset"
    • device.icon_name = "audio-headset-bluetooth"
    • port: Headset (headset-output)
    • port: Headset (headset-input)
  • Card: UE BOOM 2 (Bluetooth device)
    • device.form_factor = "headphone"
    • device.icon_name = "audio-headphones-bluetooth"
    • port: Headphone (headphone-output)
    • port: Bluetooth Input (headphone-input)
  • Card: 4 HD Pro Webcam C920 (usb webcam with microphone)
    • device.form_factor = "webcam"
    • device.icon_name = "camera-web-usb" (we have an camera-web icon)
    • port: Microphone (analog-input-mic)
      • device.icon_name = "audio-input-microphone" (we have an icon for this)
    • port: Digital Input (S/PDIF) (iec958-stereo-input)

So we'll at least need a new icons for:

One downside is that headphones don't always match the device. The UE BOOM 2 bluetooth speaker doesn't really match headphones.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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

Successfully merging a pull request may close this issue.

1 participant