audioresample fail with alsasink

Soho Soho123 soho123.2012 at gmail.com
Tue Jun 26 06:31:50 PDT 2012


hi all,

I use the command to play audio to alsa device, but it will no sound
after a few bytes that kernel received.
gst-launch-0.10 filesrc
location=/var/tmp/usb/sda1/audio_src/audio_src_32k_le.wav ! wavparse !
audioconvert ! audioresample ! audio/x-raw-int, rate=48000 ! alsasink
device="hw:0,0"

Because I want to do sample conversion from 32K to 48K,
I can see the silence data in kernel pcm_lib.c function
snd_pcm_lib_write_transfer() after a few bytes received.

There is no sound from ALSA device.
Does someone have idea?


Thanks!


More information about the gstreamer-embedded mailing list