mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
audio: Add comment about #146
This commit is contained in:
parent
8c23c8ba34
commit
1c10d46288
@ -20,6 +20,12 @@ import (
|
|||||||
"github.com/gopherjs/gopherjs/js"
|
"github.com/gopherjs/gopherjs/js"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Known issue (#146): We can't change the sample rate of a AudioContext.
|
||||||
|
// This means that if AudioContext's sample rate is 48000,
|
||||||
|
// there is no way to play 44.1Hz PCM properly without resampling.
|
||||||
|
// Let's wait for the new spec and browser implementation:
|
||||||
|
// https://github.com/WebAudio/web-audio-api/issues/300
|
||||||
|
|
||||||
// Keep this so as not to be destroyed by GC.
|
// Keep this so as not to be destroyed by GC.
|
||||||
var (
|
var (
|
||||||
nodes = []*js.Object{}
|
nodes = []*js.Object{}
|
||||||
|
Loading…
Reference in New Issue
Block a user