spx
spx copied to clipboard
Unable to run a 'Hello World' demo on the Windows platform, but it runs successfully on the Mac platform.
Unable to run a 'Hello World' demo on the Windows platform, but it runs successfully on the Mac platform.
The result on Windows is as follows:
The Go version is: go1.20.4 for windows/386.
me too.
need install OpenAL32, https://openal.org/
Unable to run a 'Hello World' demo on the Windows platform, but it runs successfully on the Mac platform. The result on Windows is as follows:
The Go version is: go1.20.4 for windows/386.
Because the record function of the window environment depends on the capabilities provided by Openal. ``var ( modOpenAL32 = syscall. NewLazyDLL("OpenAL32.dll")
procalcCaptureCloseDevice = modOpenAL32.NewProc("alcCaptureCloseDevice") procalcCaptureOpenDevice = modOpenAL32.NewProc("alcCaptureOpenDevice") procalcCaptureSamples = modOpenAL32.NewProc("alcCaptureSamples") procalcCaptureStart = modOpenAL32.NewProc("alcCaptureStart") procalcCaptureStop = modOpenAL32.NewProc("alcCaptureStop") procalcCloseDevice = modOpenAL32.NewProc("alcCloseDevice") procalcCreateContext = modOpenAL32.NewProc("alcCreateContext") procalcGetError = modOpenAL32.NewProc("alcGetError") procalcOpenDevice = modOpenAL32.NewProc("alcOpenDevice") )``