Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delphi DirectSound and SampleGrabber

Status
Not open for further replies.

wilstyx

Programmer
Mar 16, 2010
2
US
According to the M$ if you set the SampleGrabber Filter to
majortype := MEDIATYPE_AUDIO;
subtype := MEDIASUBTYPE_PCM;//GUID_NULL;
formattype := FORMAT_WaveFormatEx;

The Add it to the Filter Graph Then Render the file the SampleGrabber will "intelligently" connect itself so
you get the samples in the form of Subtype. I have tried everything and unless I feed it a wav I get the Compressed samples rather than PCM. I have tried rendering the file
removing the audio render connecting the SampleGrabber back
then reattaching the Audio Render with the exact same effect. I have look using google and AltaVista and all I get is the same answer over and over that what M$ says is true Well I can prove its not !
Please Help !
 
Isn't there a commandment that states "Thou shalt NOT contest the word of M$"?!?

Roo
Delphi Rules!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top