[music-dsp] to those who used MME (waveX) calls

IO dummy_49 at yahoo.com
Sun Feb 4 09:48:53 EST 2001


Hello Darren,

Thanx for your reply, but that info i know;

i just wondered how i can know an optimal MME
buffersize for soundcard x, without calling dx api.

See ya,

IO

--- Darren Reid <shokwave at nbnet.nb.ca> wrote:
> > i wonder where DirectSound gets its info on
> deciding
> > how big the primary buffer must be, which is a
> fixed
> > length, unalterable by the programmer ...
> 
> Try:
> IDirectSound8::GetCaps ()
> 
> It returns some stuff like:
> 
> dwTotalHwMemBytes
> Size, in bytes, of the amount of memory on the sound
> card that stores static
> sound buffers.
> 
> dwFreeHwMemBytes
> Size, in bytes, of the free memory on the sound
> card.
> 
> dwMaxContigFreeHwMemBytes
> Size, in bytes, of the largest contiguous block of
> free memory on the sound
> card.
> 
> dwUnlockTransferRateHwBuffers
> Description of the rate, in kilobytes per second, at
> which data can be
> transferred to hardware static sound buffers. This
> and the number of bytes
> transferred determines the duration of a call to the
> IDirectSoundBuffer8::Unlock method.
> 
> 
> Is that of any use?
> 
> -Darren
> 
> 
> dupswapdrop -- the music-dsp mailing list and
> website: subscription info,
> FAQ, source code archive, list archive, book
> reviews, dsp links
> http://shoko.calarts.edu/musicdsp/
> 


__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

dupswapdrop -- the music-dsp mailing list and website: subscription info,
FAQ, source code archive, list archive, book reviews, dsp links
http://shoko.calarts.edu/musicdsp/




More information about the music-dsp mailing list