Yep, that works. Comment out the stupid check in portaudio and add
384000, and 352800 to the rates array in your output.c.


Code:
--------------------
    
  [clivem@x48 squeezelite-0.9beta8]$ ./squeezelite-pa -n Squeezelite64 -m 
00:01:29:a4:7d:14 -o "Combo384 Amanero: USB Audio (hw:1,0)" -d all=debug
  [21:49:04.760330] output_init:1269 init output
  [21:49:04.760416] output_init:1272 outputbuf size: 3528000
  [21:49:04.760452] output_init:1309 requested latency: 4096037870
  ....
  [21:49:04.834461] output_init:1326 output: Combo384 Amanero: USB Audio 
(hw:1,0) maxrate: 384000
  [21:49:04.835890] _pa_open:505 opened device 3 - Combo384 Amanero: USB Audio 
(hw:1,0) at 44100 latency 46 ms
  ....
  [21:51:29.976618] write_cb:95 setting track_start
  [21:51:29.985538] pa_callback:752 track start sample rate: 384000 
replay_gain: 0
  [21:51:29.985619] sendSTAT:151 STAT: STMs
  [21:51:29.985627] pa_stream_finished:432 stream finished
  [21:51:29.985646] sendSTAT:151 STAT: STMt
  [21:51:30.011873] _pa_open:505 opened device 3 - Combo384 Amanero: USB Audio 
(hw:1,0) at 384000 latency 46 ms
  
  # 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 = 383947 Hz (0x2f.fe50)
  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
  
--------------------


------------------------------------------------------------------------
JackOfAll's Profile: http://forums.slimdevices.com/member.php?userid=3069
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