Hi all, trying to use PortAudio with on a Windows or Mac. I checked all the PureBasic forum and tried all the program examples but was unable to get the programs running. I need to know how and where to put the PortAudio files for PureBasic.
I do not need the BASS.DLL library.
if anyone knows how to use SoundTouch and/or PortAudio, please let me know.
please help
Need help with PortAudio and SoundTouch on Purebasic
Re: Need help with PortAudio and SoundTouch on Purebasic
Hi,
hm it works here without problems.
Win 7
the libportaudio-2.dll is in the same directory as the pb file.
The size is 164864.
In Linux the so file is at the normal place /usr/lib/
Bernd
hm it works here without problems.
Win 7
the libportaudio-2.dll is in the same directory as the pb file.
The size is 164864.
In Linux the so file is at the normal place /usr/lib/
Bernd
Re: Need help with PortAudio and SoundTouch on Purebasic
Thanks for the response. Im new to using portaudio.
Im trying to use portaudio on the mac to play mp3 music.
is there a demo I can get to follow on?
Please someone help.
Im trying to use portaudio on the mac to play mp3 music.
is there a demo I can get to follow on?
Please someone help.
Re: Need help with PortAudio and SoundTouch on Purebasic
the code Im having trouble with :
Code and quote tags added
22.11.2016
RSBasic
Code: Select all
Procedure.s Pae_PaHostApiIndexToString(Ind)
*info.PaHostApiInfo = Pa_GetHostApiInfo(Ind)
ProcedureReturn PeekS(*info\name)
EndProcedure
Procedure.s DeviceString(*dev.PaDeviceInfo)
ProcedureReturn PeekS(*dev\name) + " (" + Pae_PaHostApiIndexToString(*dev\hostApi) + ")"
EndProcedure
__________________________________________________[00:31:27] [COMPILER] Line 13: Bad parameter type, number expected instead of string.
Code and quote tags added
22.11.2016
RSBasic
Re: Need help with PortAudio and SoundTouch on Purebasic
Hi,
for me it's not possible to see what's in line 13.
Please use code tags.
And, if you use PB 5.50 what you have not written, use:
Bernd
for me it's not possible to see what's in line 13.
Please use code tags.
And, if you use PB 5.50 what you have not written, use:
Code: Select all
PeekS(*dev\name, -1, #PB_Ascii)
Re: Need help with PortAudio and SoundTouch on Purebasic
Thanks for responding.
ok Im using version 5.43 on a mac, I should have mentioned it if it makes any difference.
I used the fix but it did not work same error and you did the wrong line.
it was line 13 and both routine.
it could be what I mentioned the version I used.
ok Im using version 5.43 on a mac, I should have mentioned it if it makes any difference.
I used the fix but it did not work same error and you did the wrong line.
it was line 13 and both routine.
Code: Select all
Procedure.s Pae_PaHostApiIndexToString(Ind)
*info.PaHostApiInfo = Pa_GetHostApiInfo(Ind)
ProcedureReturn [color=#FF0000]PeekS(*info\name)[/color]
EndProcedure
Re: Need help with PortAudio and SoundTouch on Purebasic
OS X is always 'special'
If you use 5.43, have you checked unicode?
If yes, remove it.
On windows portaudio lib only uses ascii strings.
Or you have to add #PB_Ascii to each PeekS() or you have to modifiy the import wrapper to use p-Ascii as pseudotype.
Maybe any of our OS X gurus can assist you better than I.
Bernd

If you use 5.43, have you checked unicode?
If yes, remove it.
On windows portaudio lib only uses ascii strings.
Or you have to add #PB_Ascii to each PeekS() or you have to modifiy the import wrapper to use p-Ascii as pseudotype.
Maybe any of our OS X gurus can assist you better than I.
Bernd
Re: Need help with PortAudio and SoundTouch on Purebasic
ok thanks, i will do more research and try the os x gurus.
thank you.
thank you.