0.9.11-rc-2

Switch from JACK to ALSA audio.
This commit is contained in:
Robin Davies
2022-07-01 21:15:57 -04:00
parent 0995e0fb16
commit 0a67b39103
51 changed files with 4301 additions and 632 deletions
+27
View File
@@ -52,6 +52,10 @@ namespace pipedal
{
lineBuffer.reserve(120);
}
size_t width() const { return lineWidth; }
void width(size_t width) { lineWidth =width; }
std::ostream&Stream() const { return s;}
PrettyPrinter& Indent(size_t indent)
@@ -67,6 +71,21 @@ namespace pipedal
column = 0;
}
PrettyPrinter& Column(int n)
{
if (column >= n) {
lineBuffer.push_back(' ');
++column;
return *this;
}
while (column != n)
{
lineBuffer.push_back(' ');
++column;
}
return *this;
}
PrettyPrinter& HangingIndent()
{
hangingIndent = true;
@@ -235,5 +254,13 @@ namespace pipedal
};
}
pp_manip Column(int n)
{
return [n] (PrettyPrinter &pp) -> PrettyPrinter& {
pp.Column(n);
return pp;
};
}
}