[Bug 680904] wavparse src can not link to audioconvert when using USB sound card

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 14 20:24:03 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=680904
  GStreamer | gstreamer (core) | 0.10.36

--- Comment #49 from soho123.2012 at gmail.com 2012-08-15 03:23:53 UTC ---
Hi Tim, 

The pipeline I tested:
gst-launch-0.10 filesrc location=/bin/audio_src_48k_le.wav ! wavparse !
audioconvert ! alsasink device="hw:0,0"

I have modify the code of alsasink. 
In function gst_alsa_detect_formats (), the modification have made alsasink to
accept native format from USB sound card.
But I can play the audio that does not have to do re-sample ONLY.
If the audio file is needed to do re-sample. Audioresample will get not-linked
error. Audioresmple sets the static caps with CPU BYTE_ORDER only.
When I add the caps that support LITTLE endian in static caps for
audioresample, 
it can not work,too.
It is the case that I mentioned , the format detection is necessary for ALL
plugins in gstreamer.
How about your opinion for the issue?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list