mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-25 23:16:14 +02:00
Fix compile error
This commit is contained in:
parent
9179cc82c2
commit
13c79d1de4
1 changed files with 4 additions and 0 deletions
|
@ -357,17 +357,21 @@ int main(int argc, char** argv)
|
|||
<< " \"filename=<filename>\" - with <filename> = \"stdout\", \"stderr\", \"null\" or a filename\n"
|
||||
<< " \"mode=[w|a]\" - w: write (discarding the content), a: append (keeping the content)\n";
|
||||
}
|
||||
#ifdef HAS_PULSE
|
||||
else if (settings.player.player_name == player::PULSE)
|
||||
{
|
||||
cout << "Options are a comma separated list of:\n"
|
||||
<< " \"buffer_time=<buffer size [ms]>\" - default 80, min 10\n";
|
||||
}
|
||||
#endif
|
||||
#ifdef HAS_ALSA
|
||||
else if (settings.player.player_name == player::ALSA)
|
||||
{
|
||||
cout << "Options are a comma separated list of:\n"
|
||||
<< " \"buffer_time=<total buffer size [ms]>\" - default 80, min 10\n"
|
||||
<< " \"fragments=<number of buffers>\" - default 4, min 2\n";
|
||||
}
|
||||
#endif
|
||||
else
|
||||
{
|
||||
cout << "No options available for \"" << settings.player.player_name << "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue