Skip to content

Commit

Permalink
Merge pull request #1408 from Eiton/Dependency-Update
Browse files Browse the repository at this point in the history
fix: Sound volume for 16/24bit sounds
  • Loading branch information
K4thos authored Sep 23, 2023
2 parents 729bafd + aa6e1a5 commit abebeaa
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion build/get.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if not exist go.mod (
go mod init github.com/ikemen-engine/Ikemen-GO/src
)

go get -v -u github.com/samhocevar/beep
go get -v -u github.com/ikemen-engine/beep
go get -v -u github.com/flopp/go-findfont
go get -v -u github.com/go-gl/gl/v2.1/gl
go get -v -u github.com/go-gl/glfw/v3.3/glfw
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ require (
github.com/go-gl/gl v0.0.0-20211210172815-726fda9656d6
github.com/go-gl/mathgl v1.0.0
github.com/ikemen-engine/glfont v0.0.0-20230122001504-a74730561e23
github.com/samhocevar/beep v1.1.1-0.20230406132407-3fba40ddabcc
github.com/sqweek/dialog v0.0.0-20220809060634-e981b270ebbf
github.com/yuin/gopher-lua v0.0.0-20220504180219-658193537a64
golang.org/x/mobile v0.0.0-20221110043201-43a038452099
Expand All @@ -22,6 +21,7 @@ require (
github.com/gopherjs/gopherjs v0.0.0-20211219123610-ec9572f70e60 // indirect
github.com/hajimehoshi/go-mp3 v0.3.0 // indirect
github.com/hajimehoshi/oto v0.7.1 // indirect
github.com/ikemen-engine/beep v0.0.0-20230923080832-980aab9dbee7 // indirect
github.com/jfreymuth/oggvorbis v1.0.2 // indirect
github.com/jfreymuth/vorbis v1.0.1 // indirect
github.com/pkg/errors v0.9.1 // indirect
Expand Down
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,10 @@ github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/icza/bitio v1.0.0/go.mod h1:0jGnlLAx8MKMr9VGnn/4YrvZiprkvBelsVIbA9Jjr9A=
github.com/icza/mighty v0.0.0-20180919140131-cfd07d671de6/go.mod h1:xQig96I1VNBDIWGCdTt54nHt6EeI639SmHycLYL7FkA=
github.com/ikemen-engine/beep v0.0.0-20230923080832-980aab9dbee7 h1:AkGr31Fk2yev0h7uKqyGWtlO17p48h/ivB+Ro03wRvA=
github.com/ikemen-engine/beep v0.0.0-20230923080832-980aab9dbee7/go.mod h1:XKUV0wo5hZKhCM7QZEol3RIlgBh7ZI7lEdI+mzWx2qY=
github.com/ikemen-engine/beep v1.1.1-0.20230406132407-3fba40ddabcc h1:qzHZd81TyTOXwRqdZdST8iKPIXFQyQjDbHciRfNjviE=
github.com/ikemen-engine/beep v1.1.1-0.20230406132407-3fba40ddabcc/go.mod h1:6zWOOlj/GguL3srDS81ntVnyZEIJCGj88moFsQh7a/g=
github.com/ikemen-engine/glfont v0.0.0-20230122001504-a74730561e23 h1:qLKMExG3q4lNJabvxuJjvOYdaYz1t32Ee/N/6+fkE00=
github.com/ikemen-engine/glfont v0.0.0-20230122001504-a74730561e23/go.mod h1:7QcK+eKEO2FnoZx0L8YmI1hB+YxL3XzmFVuCbxI/BW4=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
Expand Down Expand Up @@ -244,8 +248,6 @@ github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6L
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
github.com/samhocevar/beep v1.1.1-0.20230406132407-3fba40ddabcc h1:qzHZd81TyTOXwRqdZdST8iKPIXFQyQjDbHciRfNjviE=
github.com/samhocevar/beep v1.1.1-0.20230406132407-3fba40ddabcc/go.mod h1:6zWOOlj/GguL3srDS81ntVnyZEIJCGj88moFsQh7a/g=
github.com/samhocevar/go-meltysynth v0.0.0-20230403180939-aca4a036cb16 h1:slzh3BWJ6FyMM8gkDzDwHz+gjU4+82ldB6oPyYi82Ho=
github.com/samhocevar/go-meltysynth v0.0.0-20230403180939-aca4a036cb16/go.mod h1:J+GU4sgu3oAPHCceoTIXNKzFHSybNhF/LyFkWZlqhvE=
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
Expand Down
16 changes: 8 additions & 8 deletions src/sound.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import (
"math"
"os"

"github.com/samhocevar/beep"
"github.com/samhocevar/beep/effects"

"github.com/samhocevar/beep/midi"
"github.com/samhocevar/beep/mp3"
"github.com/samhocevar/beep/speaker"
"github.com/samhocevar/beep/vorbis"
"github.com/samhocevar/beep/wav"
"github.com/ikemen-engine/beep"
"github.com/ikemen-engine/beep/effects"

"github.com/ikemen-engine/beep/midi"
"github.com/ikemen-engine/beep/mp3"
"github.com/ikemen-engine/beep/speaker"
"github.com/ikemen-engine/beep/vorbis"
"github.com/ikemen-engine/beep/wav"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions src/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (
"sync"
"time"

"github.com/samhocevar/beep"
"github.com/samhocevar/beep/speaker"
"github.com/ikemen-engine/beep"
"github.com/ikemen-engine/beep/speaker"
lua "github.com/yuin/gopher-lua"
)

Expand Down

0 comments on commit abebeaa

Please sign in to comment.