Can't get USB Audio working in Squeezeplay...

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
carled
Posts: 40
Joined: Sun Oct 23, 2011 9:07 am

Can't get USB Audio working in Squeezeplay...

Post by carled »

I do cat /proc/asound/cards and get:

0 [MID ]: HDA-Intel - HDA Intel MID
HDA Intel MID at 0xd01c0000 irq16
1 [default ]: USB-Audio - USB AUDIO
USB AUDIO at usb-0000:00:1d.7-4.1, full speed

I've modified my /etc/asound.conf file to read:
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}

And I've rebooted. And I've selected the USB audio in the o/s audio settings.

In xbmc the audio correctly comes out through the USB audio, in squeezeplay the audio comes out through the internal speaker!

Please give me a clue as to where I'm going wrong!
carled
Posts: 40
Joined: Sun Oct 23, 2011 9:07 am

Re: Can't get USB Audio working in Squeezeplay...

Post by carled »

Any chance of help please guys? I'm stumped. Have recreated the file loads of times, nothing gets squeezeplay to use the usb audio out :-(
carled
Posts: 40
Joined: Sun Oct 23, 2011 9:07 am

Re: Can't get USB Audio working in Squeezeplay...

Post by carled »

FIXED IT!

It was the damn pulse.conf thing in the alsa subdirectory... chuffing heck.
carled
Posts: 40
Joined: Sun Oct 23, 2011 9:07 am

Re: Can't get USB Audio working in Squeezeplay...

Post by carled »

oh dammit... it's playing through the speakers, but it's playing fast. It's not chipmunk fast but it's fast. 20% fast maybe? Seems to be across the board, regardless of bitrate.
gegs
Posts: 1146
Joined: Fri Mar 04, 2011 3:22 pm
Location: Edinburgh

Re: Can't get USB Audio working in Squeezeplay...

Post by gegs »

Some people have solved this by applying the P'n'P soundcard switches - there are "USB soundcard" and "USB soundcard with mixer" options. Try them both and find if they work for you. I think roobarb posted that the "with mixer" option is more prone to freezing though.

FYI - my asound.conf file is exactly the same as yours and my output is fine. Weird!
carled
Posts: 40
Joined: Sun Oct 23, 2011 9:07 am

Re: Can't get USB Audio working in Squeezeplay...

Post by carled »

Thanks gegs. It's hardware related. I bought some logitech s-150 usb speakers that don't have anything other than the usb cable that feeds the audio. These are what are recognised by the joggler as the USB audio items in proc/asound/cards. They work fine for system/youtube/xbmc, but squeezeplayer plays 20% or so fast. Adding the "rate 44100" line kills the sound off completely though.

I also bought a small usb audio card similar to yours and that works fine and plays at normal speed, so it must be down to the audio driver chip in the speakers. I need to have usb-powered speakers in the kitchen though as I don't want to have to pipe the audio into the small audio system already in there.

I don't understand why squeezeplay doesn't play nicely with the sound when xbmc and the rest of the system do! There must be something that can be done to force squeezeplay to access the sound drivers in the same way, surely?
Post Reply