dumganhar schrieb:
> Hi,all!
> How could  I use gstream library to play sounds in the PCM buffer?I was 
> succeed in using "Wav Launch Demo" to play the pcm wav files on N810.But 
> how could I use "gst_parse_launch" function to play sounds in the PCM 
> buffer, not the way of opening wav files? Please help me!Thanks!
>  
> 2008-08-18
> ------------------------------------------------------------------------
> dumganhar
> 

gst-launch filesrc location=test.raw !
audio/x-raw-int,rate=44100,channels=1,width=16,... ! dsppcmsink

that element in the middle is a caps-filter where you need to describe the
format for raw audio. If it does not play, add an audioconvert element between
the capsfilter and dsppcmsink.

Stefan

> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> maemo-developers mailing list
> [email protected]
> https://lists.maemo.org/mailman/listinfo/maemo-developers

_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to