From 6afd1b7ac24bb8b8e1ee68b3e59fd15a312d6b77 Mon Sep 17 00:00:00 2001 From: bloeys Date: Sat, 25 Jun 2022 23:58:57 +0400 Subject: [PATCH] Fix msg --- wavy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wavy.go b/wavy.go index 0ef307b..e1293a7 100644 --- a/wavy.go +++ b/wavy.go @@ -283,7 +283,7 @@ func (s *Sound) Close() error { func CopyInMemSound(s *Sound) *Sound { if s.Info.Mode != SoundMode_Memory { - panic("only in-memory sounds can not be copied. Please use NewSoundStreaming if you want to have multiple sound objects of a streaming sound") + panic("only in-memory sounds can be copied. Please use NewSoundStreaming if you want to have multiple sound objects of a streaming sound") } d := s.Data.(*SoundBuffer).Copy()