2#ifndef __ASE_NATIVE_DEVICE_HH__
3#define __ASE_NATIVE_DEVICE_HH__
11 AudioProcessorP
const proc_;
19 static DeviceP create_native_device (
AudioEngine &engine,
const String ®istryuri);
28 AudioComboP audio_combo ()
const {
return combo_; }
32 DeviceS list_devices ()
override {
return children_; }
35 DeviceP insert_device (
const String &uri, Device &beforesibling)
override;
36 void remove_all_devices ();
37 void _set_event_source (AudioProcessorP esource)
override;
41DeviceP create_processor_device (AudioEngine &engine,
const String &uri,
bool engineproducer);
Interface to access Device instances.
Base type for classes that have a Property.
PropertyS access_properties() override
Retrieve handles for all properties.
AudioProcessorP _audio_processor() const override
Retrieve the corresponding AudioProcessor.
void _disconnect_remove() override
Disconnect the device and remove all object references.
void _activate() override
Add AudioProcessor to the Engine and start processing.
void remove_device(Device &sub) override
Remove a directly contained device.
DeviceP append_device(const String &uri) override
Append a new device, see list_device_types().
bool is_combo_device() override
Retrieve wether this NativeDevice handles sub devices.
void _deactivate() override
Stop processing the corresponding AudioProcessor.
DeviceInfo device_info() override
Describe this Device type.
void serialize(WritNode &xs) override
Serialize members and childern.
void _set_parent(GadgetImpl *parent) override
Assign parent container.
Interface to access NativeDevice instances.
One entry in a Writ serialization document.
#define ASE_DEFINE_MAKE_SHARED(CLASS)
The Anklang C++ API namespace.
std::string String
Convenience alias for std::string.