config/Parser: add ParseSize()

Supports suffixes such as "kB" and "MB".
This commit is contained in:
Max Kellermann
2019-05-29 22:44:05 +02:00
parent af7970337b
commit 4eb101f046
4 changed files with 83 additions and 6 deletions

View File

@@ -712,8 +712,9 @@ Do not change these unless you know what you are doing.
* - Setting
- Description
* - **audio_buffer_size KBYTES**
- Adjust the size of the internal audio buffer. Default is 4096 (4 MiB).
* - **audio_buffer_size SIZE**
- Adjust the size of the internal audio buffer. Default is
:samp:`4 MB` (4 MiB).
Zeroconf
~~~~~~~~