[DUG] Anyone with 5 minutes spare time?

Ross Levis ross at stationplaylist.com
Wed May 26 22:00:09 NZST 2010


If you are referring to the Clootie page, I just downloaded the headers from
there and it's the same file as I've got.

 

I'm pretty sure no one has done this yet for Delphi, or at least published
it.  I spend 2 or 3 hours searching the net yesterday.  I only found one
instance of some C++ code.

 

If you google "delphi DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION" or "delphi
CLSID_DirectSoundPrivate", you get only 3 or 4 pages which don't have
anything to do with Delphi.  It's not a commonly used interface.

 

Ross.

 

From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Cameron Hart
Sent: Wednesday, 26 May 2010 8:41 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Anyone with 5 minutes spare time?

 

I have googled it further for you again with the term "directx 9 delphi
pas".  lots of libraries returned that look promising.

 

From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Ross Levis
Sent: Wednesday, 26 May 2010 6:53 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] Anyone with 5 minutes spare time?

 

I've already got a file called DirectSound.pas which is similar to those on
the internet but none of them have this particular interface which I believe
was introduced in DirectX 9.

 

Cheers,

Ross.

 

From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Cameron Hart
Sent: Wednesday, 26 May 2010 6:29 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Anyone with 5 minutes spare time?

 

Just to clarify, directsound.pas (or similar units floating on the net)
should give you interfaces to the Dsound.dll.  this is what you need to do
things like below.

 

From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Ross Levis
Sent: Wednesday, 26 May 2010 5:40 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: [DUG] Anyone with 5 minutes spare time?

 

Hi everyone.

 

I've never used interfaces in Windows before and I've got no idea how to do
this, so I'm wondering if someone would like to whip up a Delphi function
for me.  I don't think it would take more than 5 or 10 minutes.  I searched
the internet extensively and C++ code exists but nothing for Delphi.

 

http://msdn.microsoft.com/en-us/library/ee418863(v=VS.85).aspx

 

I need to access the DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION properties on
the above page and specifically return the WaveDeviceID from a given GUID.
I have the GUID and need the WaveDeviceID.  ie.

 

Function DSGUIDToWaveDeviceID(GUID: TGUID; DataFlow: ??): Cardinal;

 

Very much appreciated J

 

Ross.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20100526/9324ca77/attachment-0001.html 


More information about the Delphi mailing list