I ordered a new USB DAC (Emotiva XDA-2). I just received the unit and hooked it up to my raspberry pi. I started to play some normal (44.1K) mp3 and m4a tracks and noticed that the display on the USB DAC is reading 48K. The sound output has slight distortion and pop/cracking noise. Here is the output of the squeezelite debug with decode and output enabled:
[09:54:56.770738] output_init:751 init output [09:54:56.773562] output_init:754 outputbuf size: 3528000 [09:54:56.817690] output_init:768 output: front:CARD=Audio,DEV=0 maxrate: 192000 [09:54:56.819745] output_thread:301 open output device: front:CARD=Audio,DEV=0 [09:54:56.824393] alsa_open:192 opened device front:CARD=Audio,DEV=0 using format: S32_LE sample rate: 44100 [09:54:56.825136] alsa_open:243 buffer time: 20045 period count: 4 buffer size: 884 period size: 221 [09:54:56.827171] decode_init:89 init decode [09:54:56.831733] load_faad:496 loaded libfaad.so.2 cap: 0x1f [09:54:56.839376] load_vorbis:206 loaded libvorbisfile.so.3 [09:54:56.847325] load_flac:183 loaded libFLAC.so.8 [09:54:56.849434] register_pcm:139 using pcm [09:54:56.853813] load_mad:198 loaded libmad.so.0 [09:55:12.370636] codec_open:120 codec open: 'f' [09:55:12.681328] write_cb:97 setting track_start [09:55:12.683764] output_thread:457 track start sample rate: 44100 replay_gain: 0 [09:58:26.394542] decode_thread:65 decode complete [09:58:26.440176] codec_open:120 codec open: 'f' [09:58:26.598991] write_cb:97 setting track_start [09:58:35.343830] output_thread:457 track start sample rate: 44100 replay_gain: 0 [09:59:57.755789] decode_thread:65 decode complete [09:59:58.019299] codec_open:120 codec open: 'm' [09:59:58.021448] codec_open:134 closing codec [09:59:58.162468] mad_decode:120 setting track_start [09:59:58.166283] output_thread:457 track start sample rate: 44100 replay_gain: 0 The XDA-2 is a 24/192K DAC. Could the 48K sample rate cause the distortion? How can I get squeezelite to output the correct sampel rate into the DAC? - Garrett ------------------------------------------------------------------------ garrettwp's Profile: http://forums.slimdevices.com/member.php?userid=58373 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
