Git Product home page Git Product logo

Comments (10)

Zauberfisch avatar Zauberfisch commented on September 13, 2024 1

Just a quick update, my workaround with restarting it to detect the switch of audio output has recently stopped to work.

So, since I use pulseaudio anyway, I have switched over to using "pa-applet". It also handles volume keys and a tray icon with a volume bar plus supports switching output.
(I'm using i3 as window manager and just replaced the line that started volumeicon with pa-applet)

from volumeicon.

Maato avatar Maato commented on September 13, 2024

How are you changing the default card?

from volumeicon.

kaqqao avatar kaqqao commented on September 13, 2024

Currently, by using pulseaudio's module-switch-on-connect. I think the same used to happen when I was just switching by changing the .asoundrc, but I'm not 100% sure as I now use pulseaudio making it hard to test. In case pulseaudio is unsupported, sorry for the false alarm.

from volumeicon.

yguilhem avatar yguilhem commented on September 13, 2024

I second this issue.
I had to manually write a udev rule launching a script to :

  1. Switch and redirect all pulseaudio sinks/sources from/to the new soundcard (it's not related to volumeicon, I agree).
  2. Kill and restart volumeicon.
    Would be very nice to have at least the second part integrated into volumeicon.

from volumeicon.

Zauberfisch avatar Zauberfisch commented on September 13, 2024

I can confirm this issue as well.
Had to add a hard restart of volumeicon to my audio switch script aswell: https://gist.github.com/Zauberfisch/e4aba115053b0048bcb806fb579877d1#file-audio-switch-sh-L36

from volumeicon.

alelondon avatar alelondon commented on September 13, 2024

I can confirm this issue as well.
Restarting volumeicon once the sound device changes fixes the issue. (not really a fix)
I guess volumeicon changes the volume of the default-device-at-start instead of determining the default device each time a volume change is invoked.

from volumeicon.

alelondon avatar alelondon commented on September 13, 2024

my workaround on xfce was to switch to (http://goodies.xfce.org/projects/panel-plugins/xfce4-pulseaudio-plugin )

from volumeicon.

nazar-pc avatar nazar-pc commented on September 13, 2024

One more instance in unplugging and plugging back in USB sound card (which is the only sound card in my system).
Yet another instance is changing USB sound card's output mode from 2.1/5.1 to stereo and back.
Would be really nice.
Currently it stops with

snd_mixer_handle_events: No such device

from volumeicon.

yaeuge avatar yaeuge commented on September 13, 2024

I can suggest updating the device list on opening preferences dialog. Then it will be possible to change the device to newly inserted sound card without restarting volumeicon. Item for switching in context menu would also be handy

from volumeicon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.