Skip to content

Commit

Permalink
Increase the size of the ring buffer.
Browse files Browse the repository at this point in the history
  • Loading branch information
kixelated committed Jul 24, 2024
1 parent 7a11e36 commit f5ca8b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/playback/backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default class Backend {
msg.audio = {
channels: channels,
sampleRate: sampleRate,
ring: new RingShared(2, sampleRate / 20), // 50ms
ring: new RingShared(2, sampleRate / 10), // 100ms
}

this.#audio = new Audio(msg.audio)
Expand Down

0 comments on commit f5ca8b0

Please sign in to comment.