Home | History | Annotate | Download | only in interface

Lines Matching refs:strategy

33  *    strategy, strategy to be followed by a usage or a stream, ...)
39 * Add a strategy to the engine
41 * @param[in] name of the strategy to add
46 * @return NO_ERROR if the strategy has been added successfully, error code otherwise.
91 * Set the device to be used by a strategy.
93 * @param[in] strategy: name of the strategy for which the device to use has to be set
94 * @param[in] devices; mask of devices to be used for the given strategy.
96 * @return true if the devices were set correclty for this strategy, false otherwise.
98 virtual bool setDeviceForStrategy(const routing_strategy &strategy, audio_devices_t devices) = 0;
101 * Set the strategy to be followed by a stream.
103 * @param[in] stream: name of the stream for which the strategy to use has to be set
104 * @param[in] strategy to follow for the given stream.
106 * @return true if the strategy were set correclty for this stream, false otherwise.
108 virtual bool setStrategyForStream(const audio_stream_type_t &stream, routing_strategy strategy) = 0;
111 * Set the strategy to be followed by a stream.
113 * @param[in] stream: name of the stream for which the strategy to use has to be set
122 * Set the strategy to be followed by a usage.
124 * @param[in] usage: name of the usage for which the strategy to use has to be set
125 * @param[in] strategy to follow for the given usage.
127 * @return true if the strategy were set correclty for this usage, false otherwise.
129 virtual bool setStrategyForUsage(const audio_usage_t &usage, routing_strategy strategy) = 0;