ess_output_channel - RoseLeBlood/openess GitHub Wiki

OpenESS Output Channel

source file: ess_output_channel.h

class ess_output_channel : public ess_channel

The basic channel type for the input module

public constructor

no parameter constructor

set ess_object name to "ess_output_channel"
set ess_channel type to ESS_CHANNEL_OUTPUT
  • ess_output_channel();

name param [in] human readelble name for the channel

set ess_object name to name
set ess_channel type to ESS_CHANNEL_OUTPUT
  • ess_output_channel(std::string name);

name param [in] human readelble name for the channel
channel param [in] which channel

set ess_channel name to name
set ess_channel type to ESS_CHANNEL_OUTPUT

public functions

read from this channel

block param [out] the pointer to write the data to
offset param [in] the readed offset

return the readed size - error <0
  • virtual unsigned int read(ess_audioblock_t block unsigned int offset, unsigned int size)

get the buffer size
  • virtual unsigned int get_size()

get the buffer
  • virtual int32_t* get_buffer() { return nullptr; }