On 06 Mar 2018, Jürgen Göricke wrote:

>Please create the Pragha package with gstreamer1.0-alsa _and_
>gstreamer1.0-pulseaudio support.

In order to try to reproduce this, I:

  - Installed gstreamer1.0-alsa;
  - Killed the pulseaudio daemon;
  - Selected alsa as the "Audio Sink" on pragha settings.

then I got the following error message:

  Error playing current track (<audio file>)
  Reason: Could not open audio device for playback.

Is this the same error you're seeing?


Afterwards, I used "aplay -l" and "aplay -L" to learn what audio
devices I had (I'm only listing the outputs related to PCH, since all
other outputs are not actually connected to speakers):

  # aplay -l
  **** List of PLAYBACK Hardware Devices ****
  [...]
  card 1: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
  card 1: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
  [...]

  # aplay -L
  [...]
  default:CARD=PCH
    HDA Intel PCH, ALC892 Analog
    Default Audio Device
  [...]
  hw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    Direct hardware device without any conversions
  hw:CARD=PCH,DEV=1
    HDA Intel PCH, ALC892 Digital
    Direct hardware device without any conversions
  [...]
  (there were other PCH related devices, but too many to list here)


With that output, I understood that I also needed to modify the name of
the "Audio Device" in pragha settings to "hw:1" or "default:1".

Afterwards, audio worked again.

Do you think that this could still be going through pulseaudio?
(I don't know how to completely get rid of pulseaudio to make more
tests.  Pulseaudio was automatically installed by xfce, I guess).


Maybe you also need to change the "Audio Device" on pragha settings?

>It should be possible
>to install and use either gstreamer1.0-alsa or
>gstreamer1.0-pulseaudio.

If what I mentioned above is not enough and there is actually something
missing in the build of pragha, I think I'll need some help to fix it.

Do you know how to do it?  I looked into pragha's code and I didn't
find any macros preventing alsa code from being built.

In your machine do you build pragha from sources?  If so...

  - Do you need to pass any additional flags to configure?
  - Do you have any development libraries installed?


>Since Pragha is one of the few audio players
>that meets my requirements for a slim audio player, it would be
>wonderful if users who don't want to use the Pulseaudio could use this
>player. Thank you very much!

Thank you for reporting! :)

Let's try to make it work for you and for others.

Attachment: pgpdQg2qW1Np4.pgp
Description: OpenPGP digital signature

Reply via email to