Replies: 1 comment
-
I changed snapos makefile to v0.25.0 and recompile. Anyway I have continuous audio dropouts. I have try several server and client buffer values without success. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I have two clients in two OpenWrt routers. With default settings both of them have continuous audio dropouts.
If I send any argument to Snapclient command It returns an error:
Exception: No audio player support
root@JukeWrt:~# snapclient -v
snapclient v0.20.0
root@JukeWrt:~# snapclient --player alsa:buffer_time=100,fragments=4
2022-06-03 18-34-25.084 [Info] (Avahi) (Browser) NEW: service 'Snapcast' of type '_snapcast._tcp' in domain 'local'
2022-06-03 18-34-25.103 [Info] (Avahi) (Browser) NEW: service 'Snapcast' of type '_snapcast._tcp' in domain 'local'
2022-06-03 18-34-25.122 [Info] (Avahi) (Browser) CACHE_EXHAUSTED
2022-06-03 18-34-25.299 [Info] (Avahi) Service 'Snapcast' of type '_snapcast._tcp' in domain 'local':
2022-06-03 18-34-25.302 [Info] (Avahi) JukeWrt.local:1704 (192.168.1.69)
2022-06-03 18-34-25.337 [Info] (Controller) Found server 192.168.1.69:1704
2022-06-03 18-34-25.344 [Info] (Connection) Resolving host IP for: 192.168.1.69
2022-06-03 18-34-25.349 [Info] (Connection) Connecting
2022-06-03 18-34-25.361 [Notice] (Connection) Connected to 192.168.1.69
2022-06-03 18-34-25.363 [Info] (Connection) My MAC: "34:cd:be:6b:92:38", socket: 7
2022-06-03 18-34-25.513 [Info] (Controller) ServerSettings - buffer: 1000, latency: 0, volume: 100, muted: 0
metadata:{"STREAM":"MPD"}
2022-06-03 18-34-25.521 [Info] (Controller) Codec: flac, sampleformat: 44100:16:2
2022-06-03 18-34-25.535 [Fatal] (Snapclient) Exception: No audio player support
2022-06-03 18-34-25.541 [Notice] (Snapclient) daemon terminated.
This is the log with default settings (no arguments) and continuous clicks
root@JukeWrt:~# snapclient --logfilter *:debug
2022-06-03 18-44-09.269 [Info] (Avahi) (Browser) NEW: service 'Snapcast' of type '_snapcast._tcp' in domain 'local'
2022-06-03 18-44-09.297 [Info] (Avahi) (Browser) NEW: service 'Snapcast' of type '_snapcast._tcp' in domain 'local'
2022-06-03 18-44-09.311 [Info] (Avahi) (Browser) CACHE_EXHAUSTED
2022-06-03 18-44-09.405 [Info] (Avahi) Service 'Snapcast' of type '_snapcast._tcp' in domain 'local':
2022-06-03 18-44-09.408 [Info] (Avahi) JukeWrt.local:1704 (192.168.1.69)
2022-06-03 18-44-09.412 [Debug] (Avahi) TXT=
2022-06-03 18-44-09.413 [Debug] (Avahi) Proto=0
2022-06-03 18-44-09.418 [Debug] (Avahi) cookie is 0
2022-06-03 18-44-09.426 [Debug] (Avahi) is_local: 1
2022-06-03 18-44-09.430 [Debug] (Avahi) our_own: 0
2022-06-03 18-44-09.435 [Debug] (Avahi) wide_area: 0
2022-06-03 18-44-09.442 [Debug] (Avahi) multicast: 1
2022-06-03 18-44-09.444 [Debug] (Avahi) cached: 1
2022-06-03 18-44-09.466 [Info] (Controller) Found server 192.168.1.69:1704
2022-06-03 18-44-09.474 [Info] (Connection) Resolving host IP for: 192.168.1.69
2022-06-03 18-44-09.479 [Info] (Connection) Connecting
2022-06-03 18-44-09.490 [Notice] (Connection) Connected to 192.168.1.69
2022-06-03 18-44-09.493 [Info] (Connection) My MAC: "34:cd:be:6b:92:38", socket: 7
2022-06-03 18-44-09.639 [Debug] (Connection) outstanding async_write
2022-06-03 18-44-09.665 [Info] (Controller) ServerSettings - buffer: 1000, latency: 0, volume: 85, muted: 0
metadata:{"STREAM":"MPD"}
2022-06-03 18-44-09.672 [Info] (Controller) Codec: flac, sampleformat: 44100:16:2
2022-06-03 18-44-09.679 [Info] (Player) Player name: alsa, device: default:CARD=CD002, description: CD002, USB Audio
2022-06-03 18-44-09.679 [Info] (Player) Default Audio Device, idx: 1, sharing mode: unspecified
2022-06-03 18-44-09.686 [Info] (Player) Mixer mode: software, parameters:
2022-06-03 18-44-09.689 [Info] (Player) Sampleformat: 44100:16:2, stream: 44100:16:2
2022-06-03 18-44-09.813 [Debug] (Alsa) PCM name: default:CARD=CD002
2022-06-03 18-44-09.820 [Debug] (Alsa) PCM state: PREPARED
2022-06-03 18-44-09.824 [Debug] (Alsa) channels: 2
2022-06-03 18-44-09.828 [Debug] (Alsa) rate: 44100 bps
2022-06-03 18-44-09.831 [Debug] (Alsa) frames: 940
2022-06-03 18-44-09.834 [Debug] (Alsa) period time: 21333
2022-06-03 18-44-09.843 [Debug] (Player) setVolume exp with base 10: 0.85 => 0.675495
2022-06-03 18-44-09.850 [Debug] (Alsa) Resizing buffer from 0 to 15052
2022-06-03 18-44-09.853 [Info] (Stream) no chunks available
2022-06-03 18-44-09.860 [Info] (Alsa) Failed to get chunk
2022-06-03 18-44-10.401 [Info] (Controller) diff to server [ms]: -1.346
2022-06-03 18-44-10.559 [Debug] (Stream) Silent frames: 574, frames: 1146, age: -13.02
2022-06-03 18-44-10.576 [Debug] (Stats) Chunk: -47 -47 -47 -47 1 63 0
2022-06-03 18-44-11.028 [Debug] (Stats) Chunk: -54 -48 -48 -48 17 53 0
2022-06-03 18-44-11.729 [Error] (Alsa) XRUN: Broken pipe
2022-06-03 18-44-11.969 [Error] (Alsa) XRUN: Broken pipe
2022-06-03 18-44-12.003 [Debug] (Stats) Chunk: 1110 -11 -44 -44 42 0 0
2022-06-03 18-44-12.284 [Error] (Alsa) XRUN: Broken pipe
2022-06-03 18-44-12.536 [Error] (Alsa) XRUN: Broken pipe
2022-06-03 18-44-12.714 [Info] (Stream) abs(age > 500): 523494
2022-06-03 18-44-12.716 [Info] (Alsa) Failed to get chunk
2022-06-03 18-44-12.718 [Debug] (Stream) age > 0: 496ms
2022-06-03 18-44-12.721 [Debug] (Stream) age: 497, requested chunk_duration: 31, duration: 26
2022-06-03 18-44-12.723 [Debug] (Stream) age: 473, requested chunk_duration: 31, duration: 26
2022-06-03 18-44-12.726 [Debug] (Stream) age: 449, requested chunk_duration: 31, duration: 26
2022-06-03 18-44-12.729 [Debug] (Stream) age: 426, requested chunk_duration: 31, duration: 26
2022-06-03 18-44-12.737 [Debug] (Stream) age: 408, requested chunk_duration: 31, duration: 26
2022-06-03 18-44-12.745 [Debug] (Stream) age: 390, requested chunk_duration: 31, duration: 26
2022-06-03 18-44-12.748 [Debug] (Stream) age: 367, requested chunk_duration: 31, duration: 26
2022-06-03 18-44-12.760 [Debug] (Stream) age: 353, requested chunk_duration: 31, duration: 26
2022-06-03 18-44-12.763 [Debug] (Stream) age: 330, requested chunk_duration: 31, duration: 26
...
It seems that any argument in the config file are ignored, It can not be seen in the log.
SNAPCLIENT_OPTS="--player alsa:buffer_time=120,fragments=4"
Am I doing something wrong in sending the arguments to the player?
Beta Was this translation helpful? Give feedback.
All reactions