10-22-2023, 08:09 PM
(This post was last modified: 10-22-2023, 08:09 PM by Tim Curtis.)
(10-22-2023, 06:23 PM)Nutul Wrote:(10-22-2023, 05:25 PM)Tim Curtis Wrote: You can run moodeutl -F to see what formats and sample rates the HDMI interfaces support.
This is exactly what I had in mind with exposed properties (of the DAC...)
I believe the command, though, expects the HDMI to be chosen as output, in order to provide information.
It checks all the interfaces. It's just executing the alsacap command.
Code:
pi@sig:~ $ moodeutl -F
*** Scanning for playback devices ***
Card 0, ID `b1', name `bcm2835 HDMI 1'
Device 0, ID `bcm2835 HDMI 1', name `bcm2835 HDMI 1', 4 subdevices (4 available)
1..8 channels, sampling rate 8000..192000 Hz
Sample formats: U8, S16_LE
Buffer size range from 80 to 131072
Period size range from 80 to 131072
Subdevice 0, name `subdevice #0'
Subdevice 1, name `subdevice #1'
Subdevice 2, name `subdevice #2'
Subdevice 3, name `subdevice #3'
Device 1, ID `bcm2835 HDMI 1', name `bcm2835 HDMI 1', 1 subdevices (1 available)
2 channels, sampling rate 44100..48000 Hz
Sample formats: S16_LE
Buffer size range from 444 to 32768
Period size range from 444 to 32768
Subdevice 0, name `subdevice #0'
Card 1, ID `Headphones', name `bcm2835 Headphones'
Device 0, ID `bcm2835 Headphones', name `bcm2835 Headphones', 4 subdevices (4 available)
1..8 channels, sampling rate 8000..192000 Hz
Sample formats: U8, S16_LE
Buffer size range from 80 to 131072
Period size range from 80 to 131072
Subdevice 0, name `subdevice #0'
Subdevice 1, name `subdevice #1'
Subdevice 2, name `subdevice #2'
Subdevice 3, name `subdevice #3'
Card 2, ID `Revolution', name `Revolution'
Device 0, ID `USB Audio', name `USB Audio', 1 subdevices (1 available)
2 channels, sampling rate 44100..705600 Hz
Sample formats: S16_LE, S32_LE, SPECIAL, DSD_U32_BE
Buffer size range from 16 to 1411200
Period size range from 8 to 705600
Subdevice 0, name `subdevice #0'