Hey Thanks everyone for the help.
Olliv and skywalk got it on the money.
Search found 54 matches
- Fri Feb 15, 2019 4:53 pm
- Forum: Coding Questions
- Topic: How can I use the GetFunction() in Purebasic on Mac?
- Replies: 6
- Views: 1215
- Fri Feb 15, 2019 6:01 am
- Forum: Coding Questions
- Topic: How can I use the GetFunction() in Purebasic on Mac?
- Replies: 6
- Views: 1215
How can I use the GetFunction() in Purebasic on Mac?
I'm tying to use the Purebasic Function on a Mac the right way.
Can you help with this one ?
Is this right ?[/size]
Code: Select all
GetFunction() with BASS_Init(-1,44100,0,0,0)
Can you help with this one ?
Is this right ?
Code: Select all
GetFunction(0, "BASS_Init" -1, 44100, 0, 0, 0)
- Tue Jul 04, 2017 6:52 pm
- Forum: Coding Questions
- Topic: Is it possible to get sound memory address from LoadSound??
- Replies: 8
- Views: 2683
Re: Is it possible to get sound memory address from LoadSou
Hi, I didn't think it was there. I thank you for responding.
I tried the code but It did not work, it returned this message.
The specified memory location is not valid for reading.
I did put debug on, or is it something else I have to do??
I tried the code but It did not work, it returned this message.
The specified memory location is not valid for reading.
I did put debug on, or is it something else I have to do??
- Tue Jul 04, 2017 12:44 am
- Forum: Coding Questions
- Topic: Is it possible to get sound memory address from LoadSound??
- Replies: 8
- Views: 2683
Re: Is it possible to get sound memory address from LoadSou
Yes it is. thank you for your response, but I already knew that and it didn't answer my question.
I was referring to the LOADSOUND function and its numbers it returns.
I was referring to the LOADSOUND function and its numbers it returns.
- Mon Jul 03, 2017 8:36 pm
- Forum: Coding Questions
- Topic: Is it possible to get sound memory address from LoadSound??
- Replies: 8
- Views: 2683
Is it possible to get sound memory address from LoadSound??
Hi, I'm trying to get the sound memory address from LoadSound function.
the function returns a number, is that the address or something else. I just need to know where in memory is the sound data.
Please help
the function returns a number, is that the address or something else. I just need to know where in memory is the sound data.
Please help
- Fri Feb 03, 2017 5:29 am
- Forum: Mac OSX
- Topic: how to use Mac AVFoundation framework for audio playback??
- Replies: 1
- Views: 1783
how to use Mac AVFoundation framework for audio playback??
Hi, I tried to use the AVFoundation framework to playback audio.
I can not find info on this subject, I tried the Apple website and no success.
need a simple code to setup the functions.
Import "/System/Library/Frameworks/AVFoundation.framework/AVFoundation"
Init()
EndImport
Do ...
I can not find info on this subject, I tried the Apple website and no success.
need a simple code to setup the functions.
Import "/System/Library/Frameworks/AVFoundation.framework/AVFoundation"
Init()
EndImport
Do ...
- Sun Jan 08, 2017 10:04 am
- Forum: Mac OSX
- Topic: Is it possible to compile to a different OS
- Replies: 1
- Views: 1708
Is it possible to compile to a different OS
is it possible to use the target menu selection, to compile for Windows from a Mac?
is that what the "set default target" selection is for ?
please someone explain
Thank You
is that what the "set default target" selection is for ?
please someone explain
Thank You
- Sat Nov 26, 2016 12:23 am
- Forum: Mac OSX
- Topic: Hey, Do anyone no how to use PortAudio on Mac OS X
- Replies: 8
- Views: 4200
Re: Hey, Do anyone no how to use PortAudio on Mac OS X
yeah thats easy, but I need to get the data values.
I found out that I can use the libmpeg123 DLL or DYLIB Windows and MAC respectively.
thanks for the help.
I found out that I can use the libmpeg123 DLL or DYLIB Windows and MAC respectively.
thanks for the help.
- Wed Nov 23, 2016 9:21 pm
- Forum: Mac OSX
- Topic: Hey, Do anyone no how to use PortAudio on Mac OS X
- Replies: 8
- Views: 4200
Re: Hey, Do anyone no how to use PortAudio on Mac OS X
Hi, the mixxx dj program I assumed they used port audio dll for mp3. http://www.mixxx.org
and check the website : http://www.portaudio.com
i need to decode mp3 files, is there a way I can do it myself using the mp3 format info ?
or I can just use a third party sdk dll ?
I know about the bass.dll ...
and check the website : http://www.portaudio.com
i need to decode mp3 files, is there a way I can do it myself using the mp3 format info ?
or I can just use a third party sdk dll ?
I know about the bass.dll ...
- Wed Nov 23, 2016 7:46 am
- Forum: Mac OSX
- Topic: Hey, Do anyone no how to use PortAudio on Mac OS X
- Replies: 8
- Views: 4200
Re: Hey, Do anyone no how to use PortAudio on Mac OS X
I just need to get the data to do visuals.
- Tue Nov 22, 2016 11:49 pm
- Forum: Mac OSX
- Topic: Hey, Do anyone no how to use PortAudio on Mac OS X
- Replies: 8
- Views: 4200
Hey, Do anyone no how to use PortAudio on Mac OS X
Im using a demo for PortAudio and libportaudio.2.0.0.dylib with Purebasic version 5.44 Beta.
The problem or the error is : Bad parameter type, number expected instead of string.
and the code in ProcedureReturn PeekS(*info\name)
The code is :
Procedure.s Pa_PaHostApiIndexToString(Ind)
*info ...
The problem or the error is : Bad parameter type, number expected instead of string.
and the code in ProcedureReturn PeekS(*info\name)
The code is :
Procedure.s Pa_PaHostApiIndexToString(Ind)
*info ...
- Tue Nov 22, 2016 9:16 pm
- Forum: Coding Questions
- Topic: Need help with PortAudio and SoundTouch on Purebasic
- Replies: 7
- Views: 2403
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.
- Tue Nov 22, 2016 6:43 pm
- Forum: Coding Questions
- Topic: Need help with PortAudio and SoundTouch on Purebasic
- Replies: 7
- Views: 2403
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.
Procedure.s Pae_PaHostApiIndexToString(Ind)
*info.PaHostApiInfo = Pa ...
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.
Procedure.s Pae_PaHostApiIndexToString(Ind)
*info.PaHostApiInfo = Pa ...
- Tue Nov 22, 2016 6:32 am
- Forum: Coding Questions
- Topic: Need help with PortAudio and SoundTouch on Purebasic
- Replies: 7
- Views: 2403
Re: Need help with PortAudio and SoundTouch on Purebasic
the code Im having trouble with :
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 ...
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 ...
- Tue Nov 22, 2016 6:09 am
- Forum: Coding Questions
- Topic: Need help with PortAudio and SoundTouch on Purebasic
- Replies: 7
- Views: 2403
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.