AVDECC Controller  v0.4.8
 All Classes Namespaces Files Functions Enumerations Enumerator Macros
Public Member Functions | List of all members
avdecc_lib::audio_unit_descriptor Class Referenceabstract

#include <audio_unit_descriptor.h>

Inheritance diagram for avdecc_lib::audio_unit_descriptor:
avdecc_lib::descriptor_base

Public Member Functions

virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
clock_domain_index ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
number_of_stream_input_ports ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
base_stream_input_port ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
number_of_stream_output_ports ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
base_stream_output_port ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
number_of_external_input_ports ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
base_external_input_port ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
number_of_external_output_ports ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
base_external_output_port ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
number_of_internal_input_ports ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
base_internal_input_port ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
number_of_internal_output_ports ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
base_internal_output_port ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
number_of_controls ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
base_control ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
number_of_signal_selectors ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
base_signal_selector ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
number_of_mixers ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
base_mixer ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
number_of_matrices ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
base_matrix ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
number_of_splitters ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
base_splitter ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
number_of_combiners ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
base_combiner ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
number_of_demultiplexers ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
base_demultiplexer ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
number_of_multiplexers ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
base_multiplexer ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
number_of_transcoders ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
base_transcoder ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
number_of_control_blocks ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
base_control_block ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint32_t STDCALL 
current_sampling_rate ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint32_t STDCALL 
get_sampling_rate_by_index (uint32_t sampling_rate_index)=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
sampling_rates_count ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint32_t STDCALL 
set_sampling_rate_sampling_rate ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint32_t STDCALL 
get_sampling_rate_sampling_rate ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
int STDCALL 
send_set_sampling_rate_cmd (void *notification_id, uint32_t new_sampling_rate)=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
int STDCALL 
send_get_sampling_rate_cmd (void *notification_id)=0
 
- Public Member Functions inherited from avdecc_lib::descriptor_base
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
descriptor_type () const =0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
descriptor_index () const =0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint8_t *STDCALL 
object_name ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint16_t STDCALL 
localized_description ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint32_t STDCALL 
acquire_entity_flags ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint64_t STDCALL 
acquire_entity_owner_entity_id ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint32_t STDCALL 
lock_entity_flags ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
uint64_t STDCALL 
lock_entity_locked_entity_id ()=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
int STDCALL 
send_acquire_entity_cmd (void *notification_id, uint32_t acquire_entity_flag)=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
int STDCALL 
send_lock_entity_cmd (void *notification_id, uint32_t lock_entity_flag)=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
int STDCALL 
send_set_name_cmd (void *notification_id, uint16_t name_index, uint16_t config_index, char *new_name)=0
 
virtual
AVDECC_CONTROLLER_LIB32_API
int STDCALL 
send_get_name_cmd (void *notification_id, uint16_t name_index, uint16_t config_index)=0
 

Member Function Documentation

virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::base_combiner ( )
pure virtual
Returns
index of the first Signal Combiner descriptor.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::base_control ( )
pure virtual
Returns
The index of the first Control descriptor.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::base_control_block ( )
pure virtual
Returns
The index of the first Control Block descriptor.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::base_demultiplexer ( )
pure virtual
Returns
The index of the first Signal Demultiplexer descriptor.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::base_external_input_port ( )
pure virtual
Returns
The index of the first External Port Input descriptor.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::base_external_output_port ( )
pure virtual
Returns
The index of the first External Port Output descriptor.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::base_internal_input_port ( )
pure virtual
Returns
The index of the first input Internal JACK INPUT and Internal Port Input descriptors.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::base_internal_output_port ( )
pure virtual
Returns
The index of the first output Internal JACK OUTPUT and Internal Port Output descriptors.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::base_matrix ( )
pure virtual
Returns
The index of the first Matrix descriptor.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::base_mixer ( )
pure virtual
Returns
The index of the first Mixer descriptor.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::base_multiplexer ( )
pure virtual
Returns
The index of the first Multiplexer descriptor..
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::base_signal_selector ( )
pure virtual
Returns
The index of the first Signal Selector descriptor.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::base_splitter ( )
pure virtual
Returns
The index of the first Signal Splitter descriptor.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::base_stream_input_port ( )
pure virtual
Returns
The index of the first Stream Port Input descriptor.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::base_stream_output_port ( )
pure virtual
Returns
The index of the first Stream Port Output descriptor.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::base_transcoder ( )
pure virtual
Returns
The index of the first Signal Transcoder descriptor.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::clock_domain_index ( )
pure virtual
Returns
The descriptor index of the Clock Domain descriptor describing the clock domain for the Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint32_t STDCALL avdecc_lib::audio_unit_descriptor::current_sampling_rate ( )
pure virtual
Returns
The current sampling rate of this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint32_t STDCALL avdecc_lib::audio_unit_descriptor::get_sampling_rate_by_index ( uint32_t  sampling_rate_index)
pure virtual
Returns
The corresponding sampling rate by index of this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint32_t STDCALL avdecc_lib::audio_unit_descriptor::get_sampling_rate_sampling_rate ( )
pure virtual
Returns
The sampling rate of a port or unit after sending a GET_SAMPLING_RATE command and receiving a response back for the command.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::number_of_combiners ( )
pure virtual
Returns
The number of combiners within this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::number_of_control_blocks ( )
pure virtual
Returns
The number of control blocks within this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::number_of_controls ( )
pure virtual
Returns
The number of controls within this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::number_of_demultiplexers ( )
pure virtual
Returns
The number of demultiplexers within this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::number_of_external_input_ports ( )
pure virtual
Returns
The number of external Input Ports used by this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::number_of_external_output_ports ( )
pure virtual
Returns
The number of external Output Ports used by this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::number_of_internal_input_ports ( )
pure virtual
Returns
The number of internal Input Ports used by this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::number_of_internal_output_ports ( )
pure virtual
Returns
The number of internal Output Ports used by this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::number_of_matrices ( )
pure virtual
Returns
The number of matrices within this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::number_of_mixers ( )
pure virtual
Returns
The number of mixers within this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::number_of_multiplexers ( )
pure virtual
Returns
The number of multiplexers within this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::number_of_signal_selectors ( )
pure virtual
Returns
The number of signal selectors within this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::number_of_splitters ( )
pure virtual
Returns
The number of splitters within this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::number_of_stream_input_ports ( )
pure virtual
Returns
The number of Input Stream Ports used by this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::number_of_stream_output_ports ( )
pure virtual
Returns
The number of Output Stream Ports used by this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::number_of_transcoders ( )
pure virtual
Returns
The number of transcoders within this Audio Unit.
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avdecc_lib::audio_unit_descriptor::sampling_rates_count ( )
pure virtual
Returns
The number of sample rates. The maximum value is 91 for this version of AEM.
virtual AVDECC_CONTROLLER_LIB32_API int STDCALL avdecc_lib::audio_unit_descriptor::send_get_sampling_rate_cmd ( void *  notification_id)
pure virtual

Send a GET_SAMPLING_RATE command to get the current sampling rate of a port or unit.

Parameters
notification_idA void pointer to the unique identifier associated with the command.

The sampling rates can be retrieved by calling the following function after successfully receiving a response back for the GET_SAMPLING_RATE command sent.

See Also
get_sampling_rate_sampling_rate()
virtual AVDECC_CONTROLLER_LIB32_API int STDCALL avdecc_lib::audio_unit_descriptor::send_set_sampling_rate_cmd ( void *  notification_id,
uint32_t  new_sampling_rate 
)
pure virtual

Send a SET_SAMPLING_RATE command to change the sampling rate of a port or unit.

Parameters
notification_idA void pointer to the unique identifier associated with the command.
new_sampling_rateThe sampling rate field is set to the new sampling rate.

The new sampling rates can be retrieved by calling the following function after successfully receiving a response back for the SET_SAMPLING_RATE command sent.

See Also
set_sampling_rate_sampling_rate()
virtual AVDECC_CONTROLLER_LIB32_API uint32_t STDCALL avdecc_lib::audio_unit_descriptor::set_sampling_rate_sampling_rate ( )
pure virtual
Returns
The sampling rate of a port or unit after sending a SET_SAMPLING_RATE command and receiving a response back for the command.

The documentation for this class was generated from the following file: