Playback of raw audio on N900: Internal data flow error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Am Freitag, 17. Dezember 2010, 00:51:55 schrieb Tim-Philipp M?ller:
>   audio_caps = gst_caps_new_simple("audio/x-raw-int",
>       "width", G_TYPE_INT, (gint)16,
>       "depth", G_TYPE_INT, (gint)16,
>       "channels" ,G_TYPE_INT, (gint)2,
>  -->  "signed",G_TYPE_INT,1, <--
>       "rate", G_TYPE_INT, 44100,
>       "endianness", G_TYPE_INT, (gint)1234,
>       NULL);
> 
> The signed field should be of G_TYPE_BOOLEAN.

I was surprised to hear the audio when I changed it to bool :o) Nice!

Also it looks like I can push arbitrary data sizes into the appsrc without the 
audioparse element. It's working for 10 minutes like this... *fingers crossed*

Thanks again,
Thomas




[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux