Ticket #692 (closed defect: fixed)

Opened 2 years ago

Last modified 11 months ago

paplay semibroken with ogg vorbis files

Reported by: tanuk Owned by: mkbosmans
Milestone: 0.9.22 Component: clients
Keywords: paplay ogg vorbis Cc: florian.mickler@…

Description

[Posting this on behalf of "lioka" (irc nick), who didn't receive any verification mail when registering, and thus isn't able to submit tickets.]

having pulse 0.9.19 and libsndfile with ogg vorbis supported, it is possible to play only few ogg files. i.e, (from default gnome-media alerts): /usr/share/sounds/gnome/default/alerts/bark.ogg /usr/share/sounds/gnome/default/alerts/drip.ogg /usr/share/sounds/gnome/default/alerts/glass.ogg /usr/share/sounds/gnome/default/alerts/sonar.ogg only drip.ogg can be played with, while with other three paplay just hangs.

Attachments

water.wav (139.9 kB) - added by dmk 21 months ago.
this file blocks in paplay while aplay can play it

Change History

Changed 21 months ago by dmk

this file blocks in paplay while aplay can play it

Changed 21 months ago by dmk

hi, i have the problem that some .wav files can be played, while others block paplay.

~ $ paplay --version pacat 0.9.21.1 Compiled with libpulse 0.9.21.1 Linked with libpulse 0.9.21.1

how can i fix this?

Changed 21 months ago by dmk

i forgot to mention that i attached the file.

it works in mplayer like a charm:

 mplayer -ao pulse water.wav #yay

even aplay works:

$ aplay water.wav #yay
Playing WAVE 'water.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono

Changed 21 months ago by dmk

  • cc florian.mickler@… added

Changed 21 months ago by dmk

and btw, .ogg files (at least the one i tried) do hang also.

Changed 21 months ago by dmk

$ pacat --format=s16le ~/.licq/tiger_is_online.wav

works. So i presume the "get format description from file logic" is broken.

Cheers, Flo

Changed 11 months ago by mkbosmans

  • owner changed from lennart to mkbosmans
  • milestone set to 1.0

It works for me.

Is it still a problem for you? What version of libsndfile are you using?

Changed 11 months ago by dmk

libsndfile is 1.0.21 ... i'm going to retest with a newer version

Changed 11 months ago by mkbosmans

That's the same version I have. (Ubuntu 10.10)

Can you provide the output of PULSE_LOG=4 paplay water.wav And perhaps also provide a WAV file that does play with paplay.

Changed 11 months ago by dmk

first, let me try current git. It seems like there were some commits in february 2010 which might have fixed this... (i'm on pulseaudio 0.9.21.1 (gentoo)).

Changed 11 months ago by dmk

It's fixed in current git. Sorry for not trying earlier. I _suspect_ it was commit d57ba824145f9e42610c0aa21740f219ba671041 ("pacat: always fully fulfill write requests").

http://git.0pointer.de/?p=pulseaudio.git;a=commit;h=d57ba824145f9e42610c0aa21740f219ba671041

regards, Flo

Changed 11 months ago by coling

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from 1.0 to 0.9.22

Cool. You should ask the Gentoo folks to update to 0.9.22 (preferably with the additional patches from stable-queue too) as it should also contain that commit :)

Closing here.

Note: See TracTickets for help on using tickets.