Ticket #28 (closed defect: fixed)
need float32le <-> float32ne <-> float32be sample converters for network audio
| Reported by: | ed@… | Owned by: | lennart |
|---|---|---|---|
| Milestone: | Component: | core | |
| Keywords: | Cc: |
Description
With default sink set to a different-endian machine:
$ gst-launch-0.10 audiotestsrc ! audioconvert ! audio/x-raw-float ! pulsesink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /pipeline0/pulsesink0: Failed to connect stream: Invalid argument Additional debug info: pulsesink.c(399): gst_pulsesink_prepare (): /pipeline0/pulsesink0 ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... FREEING pipeline ...
Meanwhile the other end has
sink-input.c: Unsupported resampling operation.
This is because sconv.c pa_get_convert_{to,from}_float32ne_function does not handle PA_SAMPLE_FLOAT32{B,L}E. Converting to an int format works fine.
