Skip to content

Commit

Permalink
Audio worklet fix (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
kixelated authored Aug 7, 2024
1 parent 36604f8 commit f13df9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/playback/audio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as Message from "./worker/message"

// This is a non-standard way of importing worklet/workers.
// Unfortunately, it's the only option because of a Vite bug: https://github.com/vitejs/vite/issues/11823
import workletURL from "./worklet?url"
import workletURL from "./worklet/index.ts?worker&url"

// NOTE: This must be on the main thread
export class Audio {
Expand Down

0 comments on commit f13df9d

Please sign in to comment.