blob: 04d37f14cc225535d7e3ffb89f08226294527550 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright (C) by Josh Blum. See LICENSE.txt for licensing information.
#include <gras/block_config.hpp>
using namespace gras;
GlobalBlockConfig::GlobalBlockConfig(void)
{
maximum_output_items = 0;
buffer_affinity = -1;
interruptible_work = false;
}
InputPortConfig::InputPortConfig(void)
{
item_size = 1;
reserve_items = 1;
maximum_items = 0;
inline_buffer = false;
preload_items = 0;
force_done = true;
}
OutputPortConfig::OutputPortConfig(void)
{
item_size = 1;
reserve_items = 1;
maximum_items = 0;
}
|