|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_DEV_AUDIOBUFFERSIZE_H
10 #define YARP_DEV_AUDIOBUFFERSIZE_H
21 template <
typename SAMPLE>
22 class CircularAudioBuffer;
27 template <
typename SAMPLE>
34 size_t getBytes() {
return m_samples * m_channels * m_depth; }
48 #endif // YARP_DEV_AUDIOBUFFERSIZE_H
bool read(yarp::os::idl::WireReader &reader) override
bool read(yarp::os::ConnectionReader &reader) override
Read this object from a network connection.
bool write(const yarp::os::idl::WireWriter &writer) const override
IDL-friendly connection writer.
An interface for writing to a network connection.
bool read(yarp::os::idl::WireReader &reader) override
bool write(yarp::os::ConnectionWriter &writer) const override
Write this object to a network connection.
IDL-friendly connection reader.
An interface for reading from a network connection.
size_t getBufferElements()
The main, catch-all namespace for YARP.
bool write(const yarp::os::idl::WireWriter &writer) const override