www.BCB-Tools.com
Home of
RAD DirectX
for
C++ Builder
...
...
Please Register
So we can
create more
the TDx_Library
the TDx9_Library
|
TDx_Sound_Library v1.90 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: admin@bcb-tools.com.
|
|