![]()  | 
  
    The Open Master Hearing Aid (openMHA)
    openMHA
    
   Open community platform for hearing aid algorithm research 
   | 
 
Base class for source selection. More...

Public Member Functions | |
| base_t (MHA_AC::algo_comm_t &iac) | |
| void | select_source (const std::vector< std::string > &src, int in_channels) | 
| Change the selection of input sources.  More... | |
Protected Attributes | |
| MHA_AC::algo_comm_t & | ac | 
  Protected Attributes inherited from MHAPlugin::config_t< MHAMultiSrc::channels_t > | |
| MHAMultiSrc::channels_t * | cfg | 
| Pointer to the runtime configuration currently used by the signal processing thread.  More... | |
Additional Inherited Members | |
  Protected Member Functions inherited from MHAPlugin::config_t< MHAMultiSrc::channels_t > | |
| MHAMultiSrc::channels_t * | poll_config () | 
| Receive the latest run time configuration.  More... | |
| MHAMultiSrc::channels_t * | peek_config () const | 
| Receive the latest run time configuration without changing the configuration pointer.  More... | |
| void | push_config (MHAMultiSrc::channels_t *ncfg) | 
| Push a new run time configuration into the configuration fifo.  More... | |
| void | cleanup_unused_cfg () | 
| To be called by the push_config() for housekeeping.  More... | |
| void | remove_all_cfg () | 
| To be called on Plugin destruction, will delete all runtime configuration list nodes and objects regardless of their in_use flag.  More... | |
| config_t () | |
| ~config_t () | |
Base class for source selection.
| MHAMultiSrc::base_t::base_t | ( | MHA_AC::algo_comm_t & | iac | ) | 
| void MHAMultiSrc::base_t::select_source | ( | const std::vector< std::string > & | src, | 
| int | in_channels | ||
| ) | 
Change the selection of input sources.
This function is real-time and thread safe.
| src | List of input sources | 
| in_channels | Number of input channels in direct input (the processed signal) | 
      
  | 
  protected |