mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-13 12:32:05 +01:00
audio: Remove comment
This commit is contained in:
parent
2bea7d4e1a
commit
31758bf3ab
@ -271,9 +271,6 @@ type proceededValues struct {
|
|||||||
//
|
//
|
||||||
// NewPlayer takes the ownership of src. Player's Close calls src's Close.
|
// NewPlayer takes the ownership of src. Player's Close calls src's Close.
|
||||||
func NewPlayer(context *Context, src io.ReadCloser) (*Player, error) {
|
func NewPlayer(context *Context, src io.ReadCloser) (*Player, error) {
|
||||||
//if context.mux.hasSource(src) {
|
|
||||||
// return nil, errors.New("audio: src cannot be shared with another Player")
|
|
||||||
//}
|
|
||||||
p := &Player{
|
p := &Player{
|
||||||
&playerImpl{
|
&playerImpl{
|
||||||
mux: context.mux,
|
mux: context.mux,
|
||||||
|
Loading…
Reference in New Issue
Block a user