Ticket #28 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

need float32le <-> float32ne <-> float32be sample converters for network audio

Reported by: ed@catmur.co.uk Assigned to: lennart
Priority: normal Milestone:
Component: core Severity: normal
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.

Attachments

wrong-endian-convert.patch (1.7 kB) - added by ed@catmur.co.uk on 09/01/06 22:51:56.
Proposed patch.

Change History

09/01/06 22:51:56 changed by ed@catmur.co.uk

  • attachment wrong-endian-convert.patch added.

Proposed patch.

11/08/06 14:05:00 changed by ossman

  • status changed from new to closed.
  • resolution set to fixed.

Merged in r1412. Thanks.