Modernize prepare_64bit_asio script
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
9560779986
commit
e0c4428ee0
3 changed files with 12 additions and 8 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "rtaudio"]
|
||||
path = rtaudio
|
||||
url = https://github.com/falkTX/rtaudio.git
|
|
@ -1,9 +1,9 @@
|
|||
#!/bin/sh
|
||||
ed -s asio.h <<< $'g/unsigned long/s//ULONG/g\nw\nq'
|
||||
ed -s asio.h <<< $'g/long long int/s//LONGLONG/g\nw\nq'
|
||||
ed -s asio.h <<< $'g/long int/s//LONG/g\nw\nq'
|
||||
ed -s asio.h <<< $'g/long/s//LONG/g\nw\nq'
|
||||
ed -s asio.h <<< $'g/(\*bufferSwitch)/s//(CALLBACK *bufferSwitch)/g\nw\nq'
|
||||
ed -s asio.h <<< $'g/(\*sampleRateDidChange)/s//(CALLBACK *sampleRateDidChange)/g\nw\nq'
|
||||
ed -s asio.h <<< $'g/(\*asioMessage)/s//(CALLBACK *asioMessage)/g\nw\nq'
|
||||
ed -s asio.h <<< $'g/(\*bufferSwitchTimeInfo)/s//(CALLBACK *bufferSwitchTimeInfo)/g\nw\nq'
|
||||
sed -i asio.h -e 's/unsigned long/ULONG/g'
|
||||
sed -i asio.h -e 's/long long int/LONGLONG/g'
|
||||
sed -i asio.h -e 's/long int/LONG/g'
|
||||
sed -i asio.h -e 's/long/LONG/g'
|
||||
sed -i asio.h -e 's/(\*bufferSwitch)/(CALLBACK *bufferSwitch)/g'
|
||||
sed -i asio.h -e 's/(\*sampleRateDidChange)/(CALLBACK *sampleRateDidChange)/g'
|
||||
sed -i asio.h -e 's/(\*asioMessage)/(CALLBACK *asioMessage)/g'
|
||||
sed -i asio.h -e 's/(\*bufferSwitchTimeInfo)/(CALLBACK *bufferSwitchTimeInfo)/g'
|
||||
|
|
1
rtaudio
Submodule
1
rtaudio
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit c067c3d563bd5b3d55e0cad91d43b31c7fc497fc
|
Loading…
Add table
Reference in a new issue