Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Sound_Library v2.00 Component Reference
|
|
[ TDx_SoundBuffer::GetFrequency() ]
[ next: GetPan() ]
[ prev: GetFormat() ]
public:
virtual bool __fastcall GetFrequency( dword* pFrequency );
TDX_SOUNDBUFFER::GETFREQUENCY()
[ component method ]
- Description
The
TDx_SoundBuffer::GetFrequency
method
will
return
the
frequency,
in
samples
per
second,
at
which
the
sound
buffer
is
playing.
The
minimum
and
maximum
frequencies
are
defined
in
the
dsound.h
DSBFREQUENCY_MIN
and
DSBFREQUENCY_MAX
members
as
100
and
100,000
respectively.
If
the
method
call
fails,
the
OnError
event
will
be
triggered
with
one
of
the
following
values:
TDX_BADPARAMS
DSERR_CONTROLUNAVAIL
DSERR_INVALIDPARAM
DSERR_PRIOLEVELNEEDED
- Parameters
Frequency
The Frequency parameter will reference the playing frequency of the buffer if this method returns successfully.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|