Triode wrote:
> 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.
Yep, that's fine with Alsa and autodetect with the "if (*max_rate >
192000) {*max_rate = 192000;}" commented out.
Code:
--------------------
[clivem@x48 squeezelite-0.9beta8]$ ./squeezelite -n Squeezelite64 -m
00:01:29:a4:7d:14 -o hw:CARD=Amanero,DEV=0 -d all=debug
[21:02:00.484151] output_init:1266 init output
[21:02:00.484280] output_init:1269 outputbuf size: 3528000
[21:02:00.484301] output_init:1299 requested buffer_time: 20000 period_count:
4 format: any mmap: 1
[21:02:00.485105] output_init:1323 output: hw:CARD=Amanero,DEV=0 maxrate:
384000
[21:02:00.485155] stream_init:263 init stream
[21:02:00.485161] output_thread:563 open output device: hw:CARD=Amanero,DEV=0
[21:02:00.485170] stream_init:264 streambuf size: 2097152
[21:02:00.485314] decode_init:101 init decode
[21:02:00.485506] load_faad:557 loaded libfaad.so.2
[21:02:00.485616] alsa_open:258 opened device hw:CARD=Amanero,DEV=0 using
format: S32_LE sample rate: 44100 mmap: 1
[21:02:00.485649] alsa_open:306 buffer time: 20045 period count: 4 buffer
size: 884 period size: 221
--------------------
------------------------------------------------------------------------
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