This is my ALSA device list
[ 3.300576] ALSA device list:
[ 3.302256] #0: imx-audio-sgtl5000
[ 3.304585] #1: imx-spdif
[ 3.306082] #2: imx-hdmi-soc
I use gstreamer command to play wav file to spdif
"gst-launch playbin2 uri=file:////test.wav audio-sink="alsasink device=plughw:1"
but it will be stuck, and I can't hear sound from spdif.
If I use "aplay -D plughw:1,0 test.wav", it returns "aplay: pcm_write:1947: write error: Input/output error"
Can you help me to solve this issue?