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

usb audio output disconnected and reconnected - not observing unmute ALSA control (-U) #238

Open
NotCommonUser opened this issue Jan 16, 2025 · 1 comment

Comments

@NotCommonUser
Copy link

Hi!
I have squeezelite running with following command line:
/usr/local/bin/squeezelite -n "piCorePlayer" -o hw:CARD=M60,DEV=0 -a 80:4::0: -r 96000 -v -C 5 -U "PCM" -v
The USB audio connected to rather new Edifier M60 speakers (these sadly support only 48000 and 96000 bitrates so standard CD rips need to be resampled :-( ),

Now as you see i am using -U "PCM" to get volume to maximum. When USB is disconnected and reconnected during playback, or is disconnected during startup and connected later then -U "PCM" is not respected at all.
Is this a bug? Is there workaround for the issue?

In the case of these speakers this is bit annoying as switching to bluetooth, f.e. to listen for a moment from mobile phone, results in disconnection of USB. Then volume drops and squeezelite needs to be restarted.

Kind regards
Chris

P.S. Card info is as follows

cat /proc/asound/card1/stream0
bestechnic EDIFIER M60 at usb-0000:01:00.0-1.4, full speed : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 2
    Packet Size = 432
    Momentary freq = 48000 Hz (0x30.0000)
  Interface 1
    Altset 1
    Format: S16_LE
    Channels: 2
    Endpoint: 0x03 (3 OUT) (SYNC)
    Rates: 48000, 96000
    Bits: 16
    Channel map: FL FR
  Interface 1
    Altset 2
    Format: S24_3LE
    Channels: 2
    Endpoint: 0x03 (3 OUT) (SYNC)
    Rates: 48000, 96000
    Bits: 24
    Channel map: FL FR

@NotCommonUser
Copy link
Author

Please close it.
It is working properly in the context of piCorePlayer 10.
Chris

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

No branches or pull requests

1 participant