s25a wrote: > Is there a way to request the interface capabilities? Something > like....Output hw:Card and then it shows you what it is possible? > What I am not sure about is....I am using this USB --> I2S Interface for > example: > https://www.diyinhk.com/shop/audio-kits/116-isolated-xmos-768khz-dxd-dsd512dsd1024-high-quality-usb-to-i2sdsd-pcb.html > S
There is 'alsacap.c in the tools folder' (https://github.com/ralph-irving/squeezelite/tree/master/tools) of my squeezelite sources that displays ALSA capabilities. The device has to be available (ie. no squeezelite running on it) Code: -------------------- ralphy@rpi27:~/source/squeezelite.git$ gcc -o alsacap -lasound tools/alsacap.c ralphy@rpi27:~/source/squeezelite.git$ ./alsacap *** Scanning for playback devices *** Card 0, ID `ALSA', name `bcm2835 ALSA' Device 0, ID `bcm2835 ALSA', name `bcm2835 ALSA', 7 subdevices (7 available) 1..2 channels, sampling rate 8000..48000 Hz Sample formats: U8, S16_LE Buffer size range from 256 to 131072 Period size range from 256 to 131072 Subdevice 0, name `subdevice #0' Subdevice 1, name `subdevice #1' Subdevice 2, name `subdevice #2' Subdevice 3, name `subdevice #3' Subdevice 4, name `subdevice #4' Subdevice 5, name `subdevice #5' Subdevice 6, name `subdevice #6' Device 1, ID `bcm2835 ALSA', name `bcm2835 IEC958/HDMI', 1 subdevices (1 available) 2 channels, sampling rate 44100..48000 Hz Sample formats: S16_LE Buffer size range from 256 to 32768 Period size range from 256 to 32768 Subdevice 0, name `subdevice #0' Card 1, ID `sndrpihifiberry', name `snd_rpi_hifiberry_dac' Device 0, ID `HifiBerry DAC HiFi pcm5102a-hifi-0', name `', 1 subdevices (1 available) 2 channels, sampling rate 8000..192000 Hz Sample formats: S16_LE, S24_LE, S32_LE Buffer size range from 64 to 131072 Period size range from 32 to 65536 Subdevice 0, name `subdevice #0' Card 2, ID `Audio', name `iFi (by AMR) HD USB Audio' Device 0, ID `USB Audio', name `USB Audio', 1 subdevices (1 available) 2 channels, sampling rate 44100..384000 Hz Sample formats: S32_LE, SPECIAL, DSD_U32_BE Buffer size range from 16 to 131072 Period size range from 8 to 65536 Subdevice 0, name `subdevice #0' -------------------- Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ------------------------------------------------------------------------ ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix