robinbowes wrote:
> I removed the pulseaudio plugin as you suggested. Still no sound from
> squeezelite. :(
>
> .....
>
> The Intel device is on the mobo but I'm not using it as I have the MBox
> 2 plugged in.
>
> I've a few things again but no sound. With default sound device:
>
>
> ./squeezelite-x86-64 -n hero -s lms.robinbowes.com -o hw:CARD=M2,DEV=0
> -a ::16:0 -d output=debug
> [22:16:32.282232] output_init_alsa:637 init output
> [22:16:32.282362] output_init_alsa:660 requested alsa_buffer: 40
> alsa_period: 4 format: 16 mmap: 0
> [22:16:32.282387] output_init_common:341 outputbuf size: 3528000
> [22:16:32.283597] output_init_common:401 supported rates: 48000
> [22:16:32.285746] output_init_alsa:672 memory locked
> [22:16:32.285990] output_thread:465 open output device:
> hw:CARD=M2,DEV=0
> [22:16:32.286002] output_init_alsa:695 set output sched fifo rt: 45
> [22:16:32.286549] ALSA_OPEN:213 REOPENING DEVICE HW:CARD=M2,DEV=0 IN
> PLUG MODE AS PLUGHW:CARD=M2,DEV=0 FOR RESAMPLING
> [22:16:32.286834] ALSA_OPEN:234 OPENED DEVICE PLUGHW:CARD=M2,DEV=0 USING
> FORMAT: S16_LE SAMPLE RATE: 0 MMAP: 0
> [22:16:32.286913] ALSA_OPEN:303 UNABLE TO GET PERIOD SIZE: INVALID
> ARGUMENT
> [22:16:32.291412] output_flush:414 flush output buffer
> [22:16:32.292521] output_flush:414 flush output buffer
>
> :(
>
> R.
Had a chance to look at this in more detail. If you do a "dmesg | grep
usb" you should see amongst the ouput a couple of lines like this:
Code:
--------------------
[ 358.301960] usb-audio: Digidesign Mbox 2: 24bit 48kHz
[ 358.304940] usbcore: registered new interface driver snd-usb-audio
--------------------
In other words your Mbox2 only works at 48000Hz and expects 24bit
format. So you can see from your output above how squeezelite works
with ALSA and ALSA has to switch from "hw" to "plughw" to cope with rate
switching from the file's 44100Hz rate to the Mbox2 working rate of
48000Hz. But your squeezelite param -a ::16:0 is trying to force the
Mbox2 to use the wrong format. Hence I think the squeezelite params in
my last post should work for you as long as the Mbox2 has beeen
correctly recognised by ALSA and the snd-usb-audio has been loaded and
no other audio app is blocking the device.
------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix