i’m getting bpd to work on a RPI with an usb-audio dongle, and have run down the issue to needing to specify a a non-default device to gstreamer.
from the command line i can do this ala:
gst-launch-1.0 playbin audio-sink="alsasink device=hw:CARD=Device" uri='file:///path2.mp3'
my question is how to do the same thing via the python interface being used by bpd? i see a fakesink
being set up (for video) in bpd.gstplayer.GstPlayer.__init__()
but don’t find where the AUDIO sink is specified? with this handle i need to do something like:
asink.props.device = "hw:CARD=device"
how/where can i grab the asink
?