Everything you need on internet.

 

Search Directsound.pas and it returns results

 

http://files.codes-sources.com/fichier.aspx?id=48842&f=DirectSound.pas

 

 

 

From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@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.

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to