|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
Portaudio Windows ASIO with MSVCOoops... I forgot about the PA_NO_ASIO definition which needs to be
commented out. If someone could try this that would be great! Here's the tutorial: Portaudio Windows ASIO with MSVC ASIO is a low latency audio API from Steinberg. To compile an ASIO application, you must first download the ASIO SDK from Steinberg. You also need to obtain ASIO drivers for your audio device. First, #include the portaudio header file (“portaudio.h”) in the project. Next, add the following ASIO-related .cpp files to the project: pa_asio.cpp (Portaudio\pa_asio) asio.cpp (Portaudio\build\msvc\common) asiodrivers.cpp (Portaudio\build\msvc\host) asiolist.cpp (Portaudio\build\msvc\host\pc) Then, add the following Portaudio-related .c files to the project: pa_allocation.c (Portaudio\src\common) pa_converters.c (Portaudio\src\common) pa_cpuload.c (Portaudio\src\common) pa_dither.c (Portaudio\src\common) pa_front.c (Portaudio\src\common) pa_process.c (Portaudio\src\common) pa_skeleton.c (Portaudio\src\common) pa_stream.c (Portaudio\src\common) pa_trace.c (Portaudio\src\common) pa_win_hostapis.c (Portaudio\src\os\win) pa_win_util.c (Portaudio\src\os\win) pa_win_wmme.c (Portaudio\src\hostapi\wmme) pa_x86_plain_converters.c (Portaudio\src\os\win) Then, add the following include paths to the project: portaudio\include portaudio\src\common portaudio\build\msvc\common portaudio\build\msvc\host portaudio\build\msvc\host\pc Finally, open the “pa_win_hostapis.c” file and go to line 60. Comment out the “PA_NO_ASIO” definition. You should now try compiling the "Portaudio\test\patest_saw.c" file because it is the simplest of the test files. _______________________________________________ Portaudio mailing list Portaudio@... http://techweb.rfa.org/mailman/listinfo/portaudio |
|
|
Re: Portaudio Windows ASIO with MSVCOn Thu, 25 May 2006, Chris Share wrote:
> Ooops... I forgot about the PA_NO_ASIO definition which needs to be commented > out. fixed. bjorn ------------- Bjorn Roche Check out my CD Mastering Software for Mac OS X : http://www.xowave.com _______________________________________________ Portaudio mailing list Portaudio@... http://techweb.rfa.org/mailman/listinfo/portaudio |
|
|
Re: Portaudio Windows ASIO with MSVCHi, I have followed the tutorial to build a project,but the output is Error Number: -9985 Error message: Device unavailable what's wrong with my project? Chris Share wrote: > > Ooops... I forgot about the PA_NO_ASIO definition which needs to be > commented out. > > If someone could try this that would be great! > > Here's the tutorial: > > > > Portaudio Windows ASIO with MSVC > > ASIO is a low latency audio API from Steinberg. To compile an ASIO > application, you must first download the ASIO SDK from Steinberg. You > also need to obtain ASIO drivers for your audio device. > > First, #include the portaudio header file (“portaudio.h”) in the project. > > Next, add the following ASIO-related .cpp files to the project: > > pa_asio.cpp (Portaudio\pa_asio) > asio.cpp (Portaudio\build\msvc\common) > asiodrivers.cpp (Portaudio\build\msvc\host) > asiolist.cpp (Portaudio\build\msvc\host\pc) > > Then, add the following Portaudio-related .c files to the project: > > pa_allocation.c (Portaudio\src\common) > pa_converters.c (Portaudio\src\common) > pa_cpuload.c (Portaudio\src\common) > pa_dither.c (Portaudio\src\common) > pa_front.c (Portaudio\src\common) > pa_process.c (Portaudio\src\common) > pa_skeleton.c (Portaudio\src\common) > pa_stream.c (Portaudio\src\common) > pa_trace.c (Portaudio\src\common) > pa_win_hostapis.c (Portaudio\src\os\win) > pa_win_util.c (Portaudio\src\os\win) > pa_win_wmme.c (Portaudio\src\hostapi\wmme) > pa_x86_plain_converters.c (Portaudio\src\os\win) > > Then, add the following include paths to the project: > > portaudio\include > portaudio\src\common > portaudio\build\msvc\common > portaudio\build\msvc\host > portaudio\build\msvc\host\pc > > Finally, open the “pa_win_hostapis.c” file and go to line 60. Comment > out the “PA_NO_ASIO” definition. > > You should now try compiling the "Portaudio\test\patest_saw.c" file > because it is the simplest of the test files. > _______________________________________________ > Portaudio mailing list > Portaudio@... > http://techweb.rfa.org/mailman/listinfo/portaudio > > -- View this message in context: http://www.nabble.com/Portaudio-Windows-ASIO-with-MSVC-tp4557382p17041628.html Sent from the Portaudio - Dev mailing list archive at Nabble.com. _______________________________________________ Portaudio mailing list Portaudio@... http://techweb.rfa.org/mailman/listinfo/portaudio |
|
|
|
|
|
Re: Portaudio Windows ASIO with MSVCHey
I am new here and I hope that I am posting this in the most applicable thread. My question is quite basic, but here it goes. I have recently read the Steinberg ASIO API (2.2) and was wondering how PortAudio is related? Are the two completely mutually exclusive or do they perform the same function? Apologies if my question is vague, but I am uncertain about the purpose of each one. Typically, acquiring data from a sound card requires a host application communicating with a driver that directly accesses the soundcard. Is ASIO the "driver" in this case (as well as Direct Sound, WASAPI, WDMKS and WMME?) where PortAudio is the "host application"? Thanks for the help. Erik
|
|
|
Re: Portaudio Windows ASIO with MSVCPerhaps it is time for a diagram of portaudio?
Portaudio live on top of ASIO, which is probably best described as a class of drivers though I'm not really an expert on ASIO, so someone will probably jump in and say "but it's so much more...". Portaudio simplifies and makes audio apps portable to multiple classes of hardware drivers, and even simplifies the process of porting to other OSes. It also lets you interface with things that look, act and smell like audio drivers, but serve other purposes, such as Jack. Hope that helps. bjorn On May 23, 2008, at 5:21 PM, emiehling wrote: > > Hey > > I am new here and I hope that I am posting this in the most applicable > thread. My question is quite basic, but here it goes. > > I have recently read the Steinberg ASIO API (2.2) and was wondering > how > PortAudio is related? Are the two completely mutually exclusive or > do they > perform the same function? Apologies if my question is vague, but I am > uncertain about the purpose of each one. > > Typically, acquiring data from a sound card requires a host > application > communicating with a driver that directly accesses the soundcard. Is > ASIO > the "driver" in this case (as well as Direct Sound, WASAPI, WDMKS > and WMME?) > where PortAudio is the "host application"? > > Thanks for the help. > Erik > > > Ross Bencina-3 wrote: >> >> Hi >> >> Perhaps nothing is wrong. It is reporting that the device is >> unavailable. >> Perhaps you have more than one ASIO driver installed and the first >> one is >> for a device which isn't connected? >> >> Have you tried compiling pa_devs to see what ASIO devices are listed? >> >> Ross. >> >> >> ----- Original Message ----- >> From: "Xiaolong" <long12300126@...> >> To: <portaudio@...> >> Sent: Sunday, May 04, 2008 11:09 AM >> Subject: Re: [Portaudio] Portaudio Windows ASIO with MSVC >> >> >>> >>> Hi, >>> I have followed the tutorial to build a project,but the output is >>> >>> Error Number: -9985 >>> Error message: Device unavailable >>> what's wrong with my project? >>> >>> Chris Share wrote: >>>> >>>> Ooops... I forgot about the PA_NO_ASIO definition which needs to be >>>> commented out. >>>> >>>> If someone could try this that would be great! >>>> >>>> Here's the tutorial: >>>> >>>> >>>> >>>> Portaudio Windows ASIO with MSVC >>>> >>>> ASIO is a low latency audio API from Steinberg. To compile an ASIO >>>> application, you must first download the ASIO SDK from Steinberg. >>>> You >>>> also need to obtain ASIO drivers for your audio device. >>>> >>>> First, #include the portaudio header file (“portaudio.h”) in >>>> the >>>> project. >>>> >>>> Next, add the following ASIO-related .cpp files to the project: >>>> >>>> pa_asio.cpp (Portaudio\pa_asio) >>>> asio.cpp (Portaudio\build\msvc\common) >>>> asiodrivers.cpp (Portaudio\build\msvc\host) >>>> asiolist.cpp (Portaudio\build\msvc\host\pc) >>>> >>>> Then, add the following Portaudio-related .c files to the project: >>>> >>>> pa_allocation.c (Portaudio\src\common) >>>> pa_converters.c (Portaudio\src\common) >>>> pa_cpuload.c (Portaudio\src\common) >>>> pa_dither.c (Portaudio\src\common) >>>> pa_front.c (Portaudio\src\common) >>>> pa_process.c (Portaudio\src\common) >>>> pa_skeleton.c (Portaudio\src\common) >>>> pa_stream.c (Portaudio\src\common) >>>> pa_trace.c (Portaudio\src\common) >>>> pa_win_hostapis.c (Portaudio\src\os\win) >>>> pa_win_util.c (Portaudio\src\os\win) >>>> pa_win_wmme.c (Portaudio\src\hostapi\wmme) >>>> pa_x86_plain_converters.c (Portaudio\src\os\win) >>>> >>>> Then, add the following include paths to the project: >>>> >>>> portaudio\include >>>> portaudio\src\common >>>> portaudio\build\msvc\common >>>> portaudio\build\msvc\host >>>> portaudio\build\msvc\host\pc >>>> >>>> Finally, open the “pa_win_hostapis.c” file and go to line 60. >>>> Comment >>>> out the “PA_NO_ASIO” definition. >>>> >>>> You should now try compiling the "Portaudio\test\patest_saw.c" file >>>> because it is the simplest of the test files. >>>> _______________________________________________ >>>> Portaudio mailing list >>>> Portaudio@... >>>> http://techweb.rfa.org/mailman/listinfo/portaudio >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Portaudio-Windows-ASIO-with-MSVC-tp4557382p17041628.html >>> Sent from the Portaudio - Dev mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> Portaudio mailing list >>> Portaudio@... >>> http://techweb.rfa.org/mailman/listinfo/portaudio >>> >> _______________________________________________ >> Portaudio mailing list >> Portaudio@... >> http://techweb.rfa.org/mailman/listinfo/portaudio >> >> > > -- > View this message in context: http://www.nabble.com/Portaudio-Windows-ASIO-with-MSVC-tp4557382p17441244.html > Sent from the Portaudio - Dev mailing list archive at Nabble.com. > > _______________________________________________ > Portaudio mailing list > Portaudio@... > http://techweb.rfa.org/mailman/listinfo/portaudio ----------------------------- Bjorn Roche XO Wave Digital Audio Production and Post-Production Software http://www.xowave.com http://blog.bjornroche.com http://myspace.com/xowave _______________________________________________ Portaudio mailing list Portaudio@... http://techweb.rfa.org/mailman/listinfo/portaudio |
|
|
PortAudio Diagram was: Re: Portaudio Windows ASIO with MSVCOn Jun 1, 2008, at 6:13 PM, Bjorn Roche wrote: > Perhaps it is time for a diagram of portaudio? Attached. Is it more or less accurate? Should I upload it to the wiki somewhere (perhaps as a png)? Changes? ----------------------------- Bjorn Roche XO Wave Digital Audio Production and Post-Production Software http://www.xowave.com http://blog.bjornroche.com http://myspace.com/xowave _______________________________________________ Portaudio mailing list Portaudio@... http://techweb.rfa.org/mailman/listinfo/portaudio |
|
|
Re: PortAudio DiagramBjorn Roche wrote: > Attached. Is it more or less accurate? Should I upload it to the wiki > somewhere (perhaps as a png)? Changes? The diagram makes it look like PortAudio talk directly to the sound cards. Also one soundcards can be accessed my multiple audio APIs. Perhaps it could be layered like this: Application | PortAudio Common | PortAudio API Interface / \ WMME ASIO etc \ / SoundCard Phil Burk _______________________________________________ Portaudio mailing list Portaudio@... http://techweb.rfa.org/mailman/listinfo/portaudio |
|
|
Re: PortAudio DiagramOn Jun 2, 2008, at 12:19 PM, Phil Burk wrote: > > > Bjorn Roche wrote: >> Attached. Is it more or less accurate? Should I upload it to the wiki >> somewhere (perhaps as a png)? Changes? > > The diagram makes it look like PortAudio talk directly to the sound > cards. Also one soundcards can be accessed my multiple audio APIs. > > Perhaps it could be layered like this: > Excellent points. I'll give it another go. Thanks Phil! bjorn > Application > | > PortAudio Common > | > PortAudio API Interface > / \ > WMME ASIO etc > \ / > SoundCard > > Phil Burk > _______________________________________________ > Portaudio mailing list > Portaudio@... > http://techweb.rfa.org/mailman/listinfo/portaudio ----------------------------- Bjorn Roche XO Wave Digital Audio Production and Post-Production Software http://www.xowave.com http://blog.bjornroche.com http://myspace.com/xowave _______________________________________________ Portaudio mailing list Portaudio@... http://techweb.rfa.org/mailman/listinfo/portaudio |
|
|
Re: PortAudio Diagram was: Re: Portaudio Windows ASIO withMSVCHi Bjorn
Looking good, I have some suggestions though: - I'm not sure why some APIs have one star (soundcard) and some have more than one.. there doesn't seem to be a good reason for this. - What you've called "Driver Types" are probably best called "Host APIs" since this is what PA talks to, and the real driver situation is often much more complicated (an ASIO driver might just be a wrapper for a WDM driver for example). The arrows from PortAudio should point to the host API, the full layering is (given WMME as an example) PortAudio -> WMME (host API) -> Driver (??) -> SoundCard - The OS is not really part of the layering.. your diagram implies this because of the way you've put soundcard/driver/os in boxes at the right. My 2 cents as usual Cheers Ross. ----- Original Message ----- From: "Bjorn Roche" <bjorn@...> To: "Bjorn Roche" <bjorn@...> Cc: "emiehling" <emiehling@...>; <portaudio@...> Sent: Monday, June 02, 2008 8:44 AM Subject: [Portaudio] PortAudio Diagram was: Re: Portaudio Windows ASIO withMSVC > > On Jun 1, 2008, at 6:13 PM, Bjorn Roche wrote: > >> Perhaps it is time for a diagram of portaudio? > > > Attached. Is it more or less accurate? Should I upload it to the wiki > somewhere (perhaps as a png)? Changes? > > -------------------------------------------------------------------------------- > > > ----------------------------- > Bjorn Roche > XO Wave > Digital Audio Production and Post-Production Software > http://www.xowave.com > http://blog.bjornroche.com > http://myspace.com/xowave > > > -------------------------------------------------------------------------------- > _______________________________________________ > Portaudio mailing list > Portaudio@... > http://techweb.rfa.org/mailman/listinfo/portaudio > _______________________________________________ Portaudio mailing list Portaudio@... http://techweb.rfa.org/mailman/listinfo/portaudio |
|
|
Re: PortAudio Diagram was: Re: Portaudio Windows ASIO withMSVCThanks to everyone who helped out with this issue.
It really cleared things up for me. Cheers, Erik On Tue, Jun 3, 2008 at 12:14 AM, Ross Bencina <rossb-lists@...> wrote: Hi Bjorn _______________________________________________ Portaudio mailing list Portaudio@... http://techweb.rfa.org/mailman/listinfo/portaudio |
| Free Forum Powered by Nabble | Forum Help |