Skip to content

Commit

Permalink
Fix audio sent to Anki not being properly mp3-encoded
Browse files Browse the repository at this point in the history
  • Loading branch information
killergerbah committed Nov 21, 2024
1 parent 710299c commit abce1f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/audio-clip/audio-clip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ class EncodedAudioData implements AudioData {
}

async base64() {
return await this._data.base64();
return blobToBase64(await this.blob());
}

async play() {
Expand Down

0 comments on commit abce1f5

Please sign in to comment.