Banuba SDK
Loading...
Searching...
No Matches
effect_player_configuration.hpp
Go to the documentation of this file.
1/// \file
2/// \addtogroup EffectPlayer
3/// @{
4///
5// AUTOGENERATED FILE - DO NOT MODIFY!
6// This file was generated by Djinni from effect_player.djinni
7
8#pragma once
9
10#include <bnb/utils/defs.hpp>
11#include <cstdint>
12#include <memory>
13
14namespace bnb { namespace interfaces {
15
16/** Configuration for EffectPlayer */
18public:
20
21 /**
22 * @param fx_width Width of effect rendering area
23 * @param fx_height Height of effect rendering area
24 */
25 static std::shared_ptr<effect_player_configuration> create(int32_t fx_width, int32_t fx_height);
26
27 /** Init audio device. */
28 virtual void set_audio_enabled(bool enabled) = 0;
29};
30
31} } // namespace bnb::interfaces
32/// @}
33
static std::shared_ptr< effect_player_configuration > create(int32_t fx_width, int32_t fx_height)
virtual void set_audio_enabled(bool enabled)=0
Init audio device.