• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Bug/Problem with "device busy"

    Scheduled Pinned Locked Moved
    Technical Help
    2
    5
    593
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      desputin
      last edited by

      Hi,
      I'm using strawberry with debian stable and an external USB audio device. So now when Firefox is running (no video turned on), I get this error message in strawberry:

      ../ext/alsa/gstalsasink.c(869): gst_alsasink_open (): /GstBin:audiobin/GstAlsaSink:pipeline-5-alsasink: Device 'hw:1,0' is busy
      

      In the backend settings under "device" it is set to the usb audio device (not automatically select) and under "output" it is set to "Output to a sound card via ALSA" (in order to have the best possible audio quality)

      So only if I close firefox, strawberry is working. but that is not a good solution...
      Does anybody of you know a solution?

      1 Reply Last reply Reply Quote 0
      • D
        desputin
        last edited by

        Ok, thank you jonaski for your reply on:
        https://github.com/strawberrymusicplayer/strawberry/issues/1034

        So pulse audio is blocking palyback. My solution:

        I created two Desktop-Shortcuts with two scritps behind. Script one pulse-stop.sh:

        #!/bin/bash
        systemctl --user mask pulseaudio.socket
        systemctl --user stop pulseaudio.service
        
        
        

        And pulse-start.sh:

        #!/bin/bash
        systemctl --user unmask pulseaudio.socket
        systemctl --user start pulseaudio.service
        
        

        So when I want to play audio in Strawberry, I click the stop-pulse-button and when I'm finished, I press the start-pulse-button. Not perfect but works

        1 Reply Last reply Reply Quote 0
        • S
          strawb321
          last edited by

          Thanks very much for the follow up.

          Do you know if it's the same syntax for pipewire?

          #!/bin/bash
          systemctl --user mask pipewire.socket
          systemctl --user stop pipewire.service
          
          D 1 Reply Last reply Reply Quote 0
          • D
            desputin @strawb321
            last edited by

            @strawb321 said in Bug/Problem with "device busy":

            pipewire

            Not sure, maybe look here:
            https://wiki.debian.org/PipeWire

            1 Reply Last reply Reply Quote 0
            • D
              desputin
              last edited by

              Hi, now I tried to activate Pulse and then choose "Output to a sound card via ALSA" in Strawberry and under "Device": "Automatically select" instead of the name of my sound card.

              Now audio seems to work simultaniously in firefox and strawberry.

              But pulse is active. Is that a problem for sound quality despite the fact that I have chosen "Output.... ALSA" in Strawberry?

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB | Contributors