2 Commits

Author SHA1 Message Date
sam 1e28442356 consistant line color 2025-11-27 18:02:30 -07:00
sam c645722d21 increase playback buffer size on desktop 2025-11-27 17:33:25 -07:00
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -8,7 +8,7 @@
--accent-muted: #ff746c;
--accent-deafened: #464459;
--line-width: 2px;
--line-color: white;
--line-color: oklch(0.7 0 0.99);
}
body {
@@ -27,7 +27,13 @@ body {
font-family: Nunito;
font-size: 15pt;
font-weight: 600;
}
hr {
color: var(--line-color);
background-color: var(--line-color);
height: var(--line-width);
border: none;
}
button {
+1 -1
View File
@@ -121,7 +121,7 @@ impl AudioSystem {
0,
vec![
0;
2400 // 50ms of buffer
SAMPLE_RATE as usize/4 // 250ms of buffer
],
)));
let decoder = opus::Decoder::new(SAMPLE_RATE, opus::Channels::Mono)?;