portaudio/pa_dll_switch/letter_from_tim_010817.txt
2002-01-22 00:51:49 +00:00

42 lines
No EOL
1.1 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From: "Tim Flohrer" <flohrer@zplane.de>
To: "Phil Burk" <philburk@softsynth.com>
Subject: Re: suggestion - multiple backends
Date: Friday, August 17, 2001 7:48 AM
Hi Phil,
here is what I did:
1. I changed the pa_lib.c and portaudio.h in order to provide a dll api
if wanted
2. in my application I had a couple of function pointers defined (see
excerpt loadPA_DLL.cpp) that get their value when the dll is loaded
3. all other files that use the PortAudio-functions had the PaDllEntry.h
included
I extracted the loadPA_DLL.cpp out of my source so I hope it's
understandable somehow. If not feel free to ask.
There are also functions for checking if DirectX is available. I am not
really sure if this is 100% correct, but I noticed that on NT systems it
is missing the function no. 7 in the dsound.dll so I just check if it's
there ;O) On the other hand this doesn't tell you if Dsound is emulated
or not (Dsound gets really bad when emulated, but i suppose you know that).
Hope I didn't forget anything
cheers
tim
--
tim flohrer
flohrer@zplane.de
zplane.development
holsteinische str. 39-42
12161 berlin
fon: +49.30.854 09 15.0
fax: +49.30.854 09 15.5