I'm getting this error while trying to listen a file via raspberry
pi@raspberrypi:~ $ gst-launch-1.0 filesrc location=001.wav ! wavparse
! audioconvert ! audioresample ! sbcenc ! a2dpsink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element
GStreamer error: state change failed and some element failed to post a
proper error message with the reason for the failure.
Additional debug info:
gstbasesink.c(5265): gst_base_sink_change_state ():
Failed to start
Setting pipeline to NULL ...
Freeing pipeline ...
the new raspbian versions (Debian) is using the bluez-alsa