-
Notifications
You must be signed in to change notification settings - Fork 0
/
kalinka_conf_example.yaml
88 lines (75 loc) · 2.88 KB
/
kalinka_conf_example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
---
server:
# Replace with the network interface the server will listen on.
# Run `ifconfig` to get the list of all available interfaces.
interface: wlan0
# Change if this port value is used by other services.
port: 8000
# This is the name of the service that will be broadcasted.
service_name: MyKalinkaServer
# Log level can be debug, info, warn, or error.
log_level: info
output:
alsa:
# Replace with your ALSA device.
# Run `aplay -l` to list devices.
# Usually it is `hw:<card>,<device>`.
device: hw:0,0
# ALSA buffer size and period size in frames.
# The smaller the period size, the higher CPU consumption is.
# Large buffer will result in slower response to pause.
# These are requested values, the actual values may differ.
# buffer_size: 16384
# period_size: 1024
# Set the latency in milliseconds.
# This value defines buffer size and is format agnostic.
# The lower the latency, the higher CPU consumption is.
latency_ms: 80
# Set the period in milliseconds. This defines how often the
# audio data is sent to the device.
period_ms: 20
input:
http:
# Buffer for the incoming HTTP data in bytes.
# Increase the size if you have a slow network.
# Should not be less than curl block size (16Kb).
buffer_size: 768000
# Chunk should not be larger than the buffer size
# to avoid connection drop by the server.
# Small chunk size will result in more frequent network requests
# and additional delays.
# Recommended size is half of the buffer size.
chunk_size: 384000
decoder:
flac:
# Buffer for the decoded audio data in bytes.
# Increase the size if you have a slow device.
# Recommended to be twice as large as HTTP buffer.
buffer_size: 1536000
fixups:
# Needs to be set for Raspberry Pi / HiFiBerry boards.
alsa_sleep_after_format_setup_ms: 500
# A fixup if using pipewire-alsa / default device.
# Pipewire doesn't switch audio format without reopening the device.
# https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4297
alsa_reopen_device_with_new_format: true
addons:
device:
# Uncomment and set up if you have a MusicCast device.
# musiccast:
# device_addr: 10.10.10.1
# device_port: 80
# connected_input: optical2
# # This value is to map volume level to dB.
# # It is used to calculate the volume level for the device when using ReplayGain.
# # The value can be obtain by reading indicator on your device.
# # This is the smallest difference between to readings. Default is 0.5.
# volume_step_to_db: 0.5
# # This enables automatic volume correction when ReplayGain information is present.
# auto_volume_correcton: true
input_module:
qobuz:
# Replace with your Qobuz email and password hash.
# `echo -n "your_password" | md5sum`
email: my@email.com
password_hash: hash