ReactOS 0.4.16-dev-306-g647d351
|
#include <audio_format.hpp>
Public Member Functions | |
audio_format (unsigned int samples_per_second, unsigned short int bits_per_sample, unsigned short int channels) | |
virtual | ~audio_format (void) |
bool | operator== (audio_format &eq) const |
unsigned int | sample_rate (void) const |
unsigned short int | bits (void) const |
unsigned short int | channels (void) const |
unsigned int | byte_rate (void) const |
unsigned int | block_align (void) const |
unsigned int | samples_in_seconds (float seconds) const |
unsigned int | samples_in_bytes (unsigned int bytes) const |
unsigned int | bytes_in_samples (unsigned int samples) const |
Protected Attributes | |
unsigned int | samples_psec |
unsigned short int | bits_psample |
unsigned short int | chan |
Definition at line 15 of file audio_format.hpp.
|
inline |
Definition at line 23 of file audio_format.hpp.
|
inlinevirtual |
Definition at line 32 of file audio_format.hpp.
Definition at line 53 of file audio_format.hpp.
Referenced by audio_resampler_acm::init_(), audio_wavein::nsample(), audio_waveout::nsample(), audio_wavein::open(), audio_waveout::open(), audio_wavein::samplevalue_max(), and audio_waveout::samplevalue_max().
Definition at line 68 of file audio_format.hpp.
Referenced by audio_resampler_acm::init_(), audio_wavein::open(), and audio_waveout::open().
Definition at line 63 of file audio_format.hpp.
Referenced by audio_wavein::alloc_buffers_mem_(), audio_waveout::alloc_buffers_mem_(), audio_membuffer::alloc_seconds(), audio_membuffer::audio_membuffer(), audio_membuffer::fseconds_recorded(), audio_membuffer::fseconds_total(), audio_resampler_acm::init_(), audio_resampler_acm::open(), audio_wavein::open(), audio_waveout::open(), audio_membuffer::resize_seconds(), audio_membuffer::seconds_recorded(), and audio_membuffer::seconds_total().
Definition at line 83 of file audio_format.hpp.
Referenced by audio_wavein::nsample(), and audio_waveout::nsample().
Definition at line 58 of file audio_format.hpp.
Referenced by audio_resampler_acm::init_(), audio_wavein::open(), and audio_waveout::open().
|
inline |
Definition at line 37 of file audio_format.hpp.
Definition at line 48 of file audio_format.hpp.
Referenced by audio_resampler_acm::init_(), audio_wavein::open(), and audio_waveout::open().
Definition at line 78 of file audio_format.hpp.
Referenced by audio_membuffer::audio_receive(), audio_membuffer::read(), audio_membuffer::samples_received(), audio_wavein::tot_samples_buf(), and audio_waveout::tot_samples_buf().
Definition at line 73 of file audio_format.hpp.
Referenced by audio_membuffer::total_samples().
Definition at line 19 of file audio_format.hpp.
Referenced by bits(), block_align(), byte_rate(), bytes_in_samples(), operator==(), and samples_in_bytes().
Definition at line 20 of file audio_format.hpp.
Referenced by block_align(), byte_rate(), bytes_in_samples(), channels(), operator==(), samples_in_bytes(), and samples_in_seconds().
Definition at line 18 of file audio_format.hpp.
Referenced by byte_rate(), operator==(), sample_rate(), and samples_in_seconds().