Bug#358002: gstreamer0.10-tools: gst-launch-0.10 doesn't play sound
Loïc Minier
lool at dooz.org
Thu Mar 23 21:02:18 UTC 2006
On Thu, Mar 23, 2006, Issam Mehssani wrote:
> Here's the gzipped output, I believe i've seen a division by 0 towards
> the beginning of the file.
Interesting, it shows:
...
INFO (0x81d9bc0 - 0:00:03.698919000) GST_PADS(12099) gstpad.c(2713):gst_pad_event_default_dispatch:<volume:sink> Sending event 0x80770a0 to all internally linked pads
WARN (0x81d9bc0 - 0:00:03.704014000) alsa(12099) gstalsasink.c(577):set_hwparams:<actual-sink> error: Unable to set buffer time 200000 for playback: Invalid argument
INFO (0x81d9bc0 - 0:00:03.704317000) GST_ERROR_SYSTEM(12099) gstelement.c(1490):gst_element_message_full:<actual-sink> posting message: Could not get/set settings from/on resource.
ERROR: from element /playbin0/abin/audiosink/actual-sink: Could not get/set settings from/on resource.
Additional debug info:
gstalsasink.c(577): set_hwparams (): /playbin0/abin/audiosink/actual-sink:
Unable to set buffer time 200000 for playback: Invalid argument
...
Part of the bug was quite clear from your original report.
Would you please install libasound2-dev and "build-essential" and build
the attached sine.c file with:
gcc -o sine -lasound sine.c
... you should get the same error than with GStreamer or hear some
sound when you run the resulting ./sine binary.
Thanks,
PS: this is taken almost intact from:
http://www.alsa-project.org/alsa-doc/alsa-lib/_2test_2pcm_8c-example.html
--
Loïc Minier <lool at dooz.org>
Current Earth status: NOT DESTROYED
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sine.c
Type: text/x-csrc
Size: 35833 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gstreamer-maintainers/attachments/20060323/cb002d4b/sine-0001.c
More information about the Pkg-gstreamer-maintainers
mailing list