reconfigure_element


Description:

public virtual bool reconfigure_element (Element element)

Tries to reconfigure an existing element to use the device.

If this function fails, then one must destroy the element and create a new one using create_element.

Note: This should only be implemented for elements can change their device in the PLAYING state.

Parameters:

this

a Device

element

a Element

Returns:

true if the element could be reconfigured to use this device, false otherwise.