packages feed

proteaaudio 0.9.2 → 0.9.3

raw patch · 3 files changed

+20/−7 lines, 3 filesdep +system-cxx-std-libdep ~bytestringPVP ok

version bump matches the API change (PVP)

Dependencies added: system-cxx-std-lib

Dependency ranges changed: bytestring

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,6 @@+# 0.9.3+- apply migration to GHC 9.4.* for Windows (see https://gitlab.haskell.org/ghc/ghc/-/issues/22738)+ # 0.9.2 - fix a sample format conversion bug that caused pitch problems in `sampleFromMemoryPcm` 
proteaaudio.cabal view
@@ -1,6 +1,6 @@ Cabal-Version:       2.2 Name:                proteaaudio-Version:             0.9.2+Version:             0.9.3 Synopsis:            Simple audio library for Windows, Linux, OSX. Description:         Simple audio library for Windows, Linux, OSX. Supports PCM, Ogg and Wav playback and multichannel mixing. License:             BSD-3-Clause@@ -55,7 +55,7 @@  Library   Build-Depends:        base >= 4 && < 5,-                        bytestring == 0.10.*+                        bytestring >=0.10 && <0.12,    default-language:     Haskell2010 @@ -74,16 +74,26 @@    CXX-Options:          "-DPROTEAAUDIO_RT" +  if impl(ghc >= 9.4)+    build-depends:      system-cxx-std-lib+  else+    if os(windows)+      extra-libraries:  stdc+++    if os(linux)+      extra-libraries:  stdc+++    if os(darwin)+      extra-libraries:  stdc+++   if os(windows)     CXX-Options:        "-D__WINDOWS_DS__"-    Extra-Libraries:    stdc++ ole32 dsound winmm+    Extra-Libraries:    ole32 dsound winmm   if os(linux)     CXX-Options:        "-D__LINUX_PULSE__"-    Extra-Libraries:    stdc++ pthread pulse-simple pulse+    Extra-Libraries:    pthread pulse-simple pulse     pkgconfig-depends:  libpulse-simple, libpulse   if os(darwin)     CXX-Options:        "-D__MACOSX_CORE__"-    Extra-Libraries:    stdc++ pthread+    Extra-Libraries:    pthread     Frameworks:         CoreFoundation CoreAudio  executable proteaaudio-play@@ -99,5 +109,5 @@   build-depends:     base >= 4 && < 5,     filepath >=1.4 && <2,-    bytestring == 0.10.*,+    bytestring >=0.10 && <0.12,     proteaaudio
stack.yaml view
@@ -1,4 +1,4 @@-resolver: lts-15.6+resolver: nightly-2023-01-06  packages: - '.'