Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1e28442356 | |||
| c645722d21 |
@@ -8,7 +8,7 @@
|
|||||||
--accent-muted: #ff746c;
|
--accent-muted: #ff746c;
|
||||||
--accent-deafened: #464459;
|
--accent-deafened: #464459;
|
||||||
--line-width: 2px;
|
--line-width: 2px;
|
||||||
--line-color: white;
|
--line-color: oklch(0.7 0 0.99);
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@@ -27,7 +27,13 @@ body {
|
|||||||
font-family: Nunito;
|
font-family: Nunito;
|
||||||
font-size: 15pt;
|
font-size: 15pt;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
color: var(--line-color);
|
||||||
|
background-color: var(--line-color);
|
||||||
|
height: var(--line-width);
|
||||||
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ impl AudioSystem {
|
|||||||
0,
|
0,
|
||||||
vec![
|
vec![
|
||||||
0;
|
0;
|
||||||
2400 // 50ms of buffer
|
SAMPLE_RATE as usize/4 // 250ms of buffer
|
||||||
],
|
],
|
||||||
)));
|
)));
|
||||||
let decoder = opus::Decoder::new(SAMPLE_RATE, opus::Channels::Mono)?;
|
let decoder = opus::Decoder::new(SAMPLE_RATE, opus::Channels::Mono)?;
|
||||||
|
|||||||
Reference in New Issue
Block a user