JackOfAll wrote: 
> I've been giving the tires a pretty good kicking the last couple of
> days. Running on XP and with both the portaudio version and Alsa on
> Linux. Whilst most of my library is flac, rather than anything esoteric,
> like wma or radio strations at unusual sample rates, it's aquitted
> itself rather well at 384k. (192k seems to be the max with the portaudio
> version, I guess that is a limitation of portaudio?)
> 
> > 
Code:
--------------------
  >   > 
  > # squeezelite -n Squeezelite64 -m 00:01:29:a4:7d:14 -o 
hw:CARD=Amanero,DEV=0 -d all=debug -r 384000 
  > 
  > [20:45:17.864250] output_thread:748 track start sample rate: 384000 
replay_gain: 0
  > [20:45:17.864309] output_thread:562 open output device: 
hw:CARD=Amanero,DEV=0
  > [20:45:17.892540] alsa_open:257 opened device hw:CARD=Amanero,DEV=0 using 
format: S32_LE sample rate: 384000 mmap: 1
  > [20:45:17.892573] alsa_open:305 buffer time: 20000 period count: 4 buffer 
size: 7680 period size: 1920
  > 
  > # cat /proc/asound/Amanero/stream0
  > 
  > Amanero Technologies Combo384 Amanero at usb-0000:00:1a.7-1, high speed : 
USB Audio
  > 
  > Playback:
  > Status: Running
  > Interface = 2
  > Altset = 1
  > Packet Size = 1024
  > Momentary freq = 383945 Hz (0x2f.fe40)
  > Feedback Format = 8.16
  > Packet Size = 0
  > Momentary freq = 384000 Hz (0x30.0000)
  > Interface 2
  > Altset 1
  > Format: S32_LE
  > Channels: 2
  > Endpoint: 5 OUT (ASYNC)
  > Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
  > Data packet interval: 125 us
  > 
--------------------
> > 

The auto detection code for both alsa and portaudio has 192000 as the
max sample rate - this could possibly be increased for alsa so you don't
need the -r option.  Could you test if this works (it means removing an
if clause testing for 192000 in test_open). For portaudio I need to look
at the library to see what limits it to 192k.


------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to