DC79 / squeezelite

Automatically exported from code.google.com/p/squeezelite
Other
0 stars 0 forks source link

Naim DAC-V1 ISSUE #70

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. attach USB DAC Naim DAC-V1 (Audiophilleo)
2. with smsc95xx.turbo_mode=n in config.txt
3. I get bad noise or have to force to resample to 48k, than OK

What is the expected output? 
With 44K1 file 
Output devices:
  null                           - Discard all samples (playback) or generate zero samples (capture)
  sysdefault:CARD=Audiophilleocom - Naim DAC-V1. Audiophilleo.com, USB Audio - Default Audio Device 
  front:CARD=Audiophilleocom,DEV=0 - Naim DAC-V1. Audiophilleo.com, USB Audio - Front speakers 
  surround40:CARD=Audiophilleocom,DEV=0 - Naim DAC-V1. Audiophilleo.com, USB Audio - 4.0 Surround output to Front and Rear speakers
  surround41:CARD=Audiophilleocom,DEV=0 - Naim DAC-V1. Audiophilleo.com, USB Audio - 4.1 Surround output to Front, Rear and Subwoofer speakers
  surround50:CARD=Audiophilleocom,DEV=0 - Naim DAC-V1. Audiophilleo.com, USB Audio - 5.0 Surround output to Front, Center and Rear speakers
  surround51:CARD=Audiophilleocom,DEV=0 - Naim DAC-V1. Audiophilleo.com, USB Audio - 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
  surround71:CARD=Audiophilleocom,DEV=0 - Naim DAC-V1. Audiophilleo.com, USB Audio - 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
  iec958:CARD=Audiophilleocom,DEV=0 - Naim DAC-V1. Audiophilleo.com, USB Audio - IEC958 (S/PDIF) Digital Audio Output
  sysdefault:CARD=ALSA           - bcm2835 ALSA, bcm2835 ALSA - Default Audio Device

What do you see instead?
  sysdefault:CARD=Audiophilleocom - Naim DAC-V1. Audiophilleo.com, USB Audio - Default Audio Device => 48K Sound OK but not the right sample rate
  front:CARD=Audiophilleocom,DEV=0 - Naim DAC-V1. Audiophilleo.com, USB Audio - Front speakers => 44k1 BUT BAD SOUND

What version of the product are you using? On what operating system?
LINUX (Raspbian and TinyCore)

Please provide any additional information below.

Original issue reported on code.google.com by jean.beauve@gmail.com on 7 Jul 2014 at 3:14

GoogleCodeExporter commented 8 years ago
This is likely to be a raspberry pi problem not a problem with squeezelite.  
Have you tried with another device as the usb port on the pi has some 
restrictions.

Try hw:CARD=CARD=Audiophilleocom as the output device

Original comment by trio...@btinternet.com on 7 Jul 2014 at 8:47

GoogleCodeExporter commented 8 years ago
Hello,

I have tried your suggestion, no sound (looks like the Pi doesn't know this
output).
I also tried  hw:CARD=Audiophilleocom and hw:sysdefault:CARD=Audiophilleocom
I get sound at the right sample rate but with clics and pops.

I never had so much trouble with other USB devices.

I will try cubieboard onthe Naim DAC-V1 asap and report.

Best Regards,

2014-07-07 22:47 GMT+02:00 <squeezelite@googlecode.com>:

Original comment by jean.beauve@gmail.com on 8 Jul 2014 at 8:11

GoogleCodeExporter commented 8 years ago
Hi, this is indeed an issue with the Pi. I have one Pi running Squeezelite 
hooked to a Naim DAC. I had to experiment with the ALSA buffers to remove 
clicks and pops at 24 bits 96/192 kHz.That is the -a Squeezelite option. I have 
everything fine now.

On this Pi, I have Squeezelite installed as part of PiCore 
(http://forum.tinycorelinux.net/index.php?topic=17061.0), that is by far the 
installation that better handles the clicks and pops.

All of this to get over the Pi limitation on the internal USB bus that is 
shared with the network port. That is the root cause of the clicks & pops, and 
buffering is crucial to avoid delays in the music stream due to the internal 
bus being overloaded.

Original comment by yves.bas...@gmail.com on 13 Jul 2014 at 10:33

GoogleCodeExporter commented 8 years ago
Hello Yves,

Thank you for your advice I'll check again playing with -a, I did only try -a 
80:4 and less never more than 80.
The strange thing is that it worked out once but not any more.
I'm also using PiCore although I have checked with a fresh Debian install.

I will try with Cubieboard2 anyway

Original comment by jean.beauve@gmail.com on 14 Jul 2014 at 6:16