#include <yarp/dev/AudioBufferSize.h>
Definition at line 24 of file AudioBufferSize.h.
◆ AudioBufferSize() [1/2]
yarp::dev::AudioBufferSize::AudioBufferSize |
( |
| ) |
|
|
default |
◆ AudioBufferSize() [2/2]
yarp::dev::AudioBufferSize::AudioBufferSize |
( |
size_t |
samples, |
|
|
size_t |
channels, |
|
|
size_t |
depth_in_bytes |
|
) |
| |
◆ getBufferElements()
size_t yarp::dev::AudioBufferSize::getBufferElements |
( |
| ) |
|
|
inline |
◆ getBytes()
size_t yarp::dev::AudioBufferSize::getBytes |
( |
| ) |
|
|
inline |
◆ getChannels()
size_t yarp::dev::AudioBufferSize::getChannels |
( |
| ) |
|
|
inline |
◆ getSamples()
size_t yarp::dev::AudioBufferSize::getSamples |
( |
| ) |
|
|
inline |
◆ read() [1/2]
Read this object from a network connection.
Override this for your particular class.
- Parameters
-
reader | an interface to the network connection for reading |
- Returns
- true iff the object is successfully read
Reimplemented from yarp::dev::audioBufferSizeData.
Definition at line 38 of file AudioBufferSize.h.
◆ read() [2/2]
◆ write() [1/2]
◆ write() [2/2]
Write this object to a network connection.
Override this for your particular class. Be aware that depending on the nature of the connections a port has, and what protocol they use, and how efficient the YARP implementation is, this method may be called once, twice, or many times, as the result of a single call to Port::write
- Parameters
-
writer | an interface to the network connection for writing |
- Returns
- true iff the object is successfully written
Reimplemented from yarp::dev::audioBufferSizeData.
Definition at line 39 of file AudioBufferSize.h.
◆ CircularAudioBuffer
template<typename SAMPLE >
The documentation for this class was generated from the following files: