LV2::FixedExt< Derived, Required > Struct Template Reference

#include <lv2plugin.hpp>

Inheritance diagram for LV2::FixedExt< Derived, Required >:

LV2::Extension< Required >

List of all members.

Static Public Member Functions

static void map_feature_handlers (FeatureHandlerMap &hmap)

Protected Member Functions

uint32_t get_buffer_size () const


Detailed Description

template<class Derived, bool Required>
struct LV2::FixedExt< Derived, Required >

The fixed buffer size extension. A host that supports this will always call the plugin's run() function with the same sample_count parameter, which will be equal to the uint32_t variable pointed to by the data pointer for this feature.

Member Function Documentation

template<class Derived, bool Required>
static void LV2::FixedExt< Derived, Required >::map_feature_handlers ( FeatureHandlerMap &  hmap  )  [inline, static]

Default implementation does nothing - no handlers added.

Reimplemented from LV2::Extension< Required >.

template<class Derived, bool Required>
uint32_t LV2::FixedExt< Derived, Required >::get_buffer_size (  )  const [inline, protected]

This returns the buffer size that the host has promised to use. If the host does not support this extension this function will return 0.


The documentation for this struct was generated from the following file:
Generated on Tue Jan 8 23:08:21 2008 by  doxygen 1.5.4