Originally Posted by
AlexM
Quick question rather than fold it into the IQA DAC+ mega thread..
I was playing with resampling options in Max2Play and after some manual configuration I got squeezelite to upsample to 32/384 (according to the debug log), but got no audio output. CPU utilisation was suspiciously low, so I'm not sure whether it was actually working at that bitrate.
I also tried PiCoreplayer with -u mL upsampling option. I got some sound out, and the debug log confirmed upsampling to 176Khz or 192Khz if I used -u mLX to enable asynchronous upsampling.
My questions are a) does squeezelite support 384Khz upsampling with the Dac+ b) how do I make it work with Max2play and c) how does PiCoreplayer know what the maximum sample rate is: configuration file, driver or something else?.
Any help would be appreciated.
Cheers,
Alex
Don't have an IQAUDIO DAC + , but product features say:
IQaudIO Pi-DAC+ Features
Raspberry Pi HAT (A+/B+/2) compliant accessory; EEPROM, mounting holes, WITH camera & screen flat flex cut outs
Full-HD audio – up to 24-bit/192kHz playback
Integrated hardware volume control (via ALSA), full 2v RMS
Built in High quality audio headphone amplifier (TI TPA6133A)
Class leading audio; 112db SNR, and -93db THD
Audiophile TI Burr Brown 32-bit/384kHz DAC (TI PCM5122)
Advanced ESD protection
Uses the digital I2S audio signals to reduce CPU load over USB audio solutions
Raspberry Pi powered, no external power requirements
Industry standard audio quality Phono/RCA connectors
Built in IR header to take optional Vishay TSOP4838
Fully built and tested Raspberry Pi accessory (Additional I/O pin headers are user soldered)
Designed and manufactured in the UK
So the max rate supported by IQUAIOD DAC+ is not matched by its max playback rate.
Squeezelite gets the rates supported by your audio hardware via ALSA's API, as you know how to get debug output from squeezelite, you should see a line something like this:
Code:
[17:39:19.918002] output_init_common:394 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000
or this:
Code:
[17:39:19.918002] output_init_common:394 supported rates: 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000
The supported rates are for your hardware, obviously if the IQAUDIO DAC+ is limited to 24/192 then trying to upsample to a higher rate makes no sense.
The max rate supported by squeezelite is a separate question, I don't know if Triode's squeezelite supports anything higher than 32/384.