You can also verify your application actually stopped playing audio from ssh terminal.
Code:
cat /proc/asound/E30/stream0
Topping E30 at usb-0000:01:00.0-1.3, high speed : USB Audio
Playback:
Status: Stop
Interface 1
Stop mean no audio playing. E30 will show Err in dac mode.
$ cat /proc/asound/E30/stream0
Topping E30 at usb-3f980000.usb-1.3, high speed : USB Audio
Playback:
Status: Stop
Interface 1
Altset 1
Format: S32_LE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
Data packet interval: 125 us
Interface 1
Altset 2
Format: S32_LE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
Data packet interval: 125 us
Interface 1
Altset 3
Format: SPECIAL DSD_U32_BE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
Data packet interval: 125 us
Still won't stay in Standby mode, even with the music stopped.
There is a way to stop USB, you might want to try. But this method is inconvenient because the USB dac will disappear untill you bind it again.
https://www.raspberrypi.org/forums/viewtopic.php?t=162539
I can turn off the USB power to that port with "sudo hub-ctrl -h 0 -P 3 -p 0". That
does cause the E30 to go to into Standby mode. But it also makes it invisible to the OS, until I do a "sudo hub-ctrl -h 0 -P 3 -p 1".