3#include "audinate/dal/Common.hpp"
7namespace Audinate {
namespace DAL {
421 std::string mManufacturerName;
423 std::string mModelName;
425 std::string mDefaultName;
426 std::vector<std::string> mTxChannels;
427 std::vector<std::string> mRxChannels;
428 unsigned int mNumTxFlows;
429 unsigned int mNumRxFlows;
430 Samplerate mSamplerate;
431 InterfaceName mInterfaceName;
432 InterfaceIndex mInterfaceIndex;
433 std::map<Protocol, SocketDescriptor> mProtocolSocketDescriptors;
434 unsigned int mAudioPortRange;
435 TimeSource mTimeSource;
436 bool mAllowAudioProcessingBeforeNetworkTimeSync;
437 unsigned int mSamplesPerPeriod;
438 unsigned int mPeriodsPerBuffer;
439 unsigned int mEncoding;
440 std::string mPerChannelEncodingFile;
441 std::string mProcessPath;
442 std::string mConfigurationPath;
443 std::string mLoggingPath;
445 unsigned int mNetworkLatency;
446 std::string mActivationDirectory;
447 bool mCloseWebSocketOnActivation;
void setNumTxChannels(unsigned int numTxChannels)
Set the number of transmit channels for the DAL instance.
void setProtocolSocketDescriptor(Protocol protocol, SocketDescriptor socketDescriptor)
Set the socket descriptor (port number or socket path) to be used by DAL for the given protocol.
Version getManufacturerVersion() const
Get the manufacturer product version for the DAL Instance.
Samplerate getSamplerate() const
Get the samplerate for the DAL instance.
void setPeriodsPerBuffer(unsigned int periodsPerBuffer)
Set the number of periods to be stored in each channel buffer.
void setProcessPath(std::string processPath)
Set the local filesystem path where the DAL instance's supporting binaries can be found.
void setNumTxFlows(unsigned int numTxFlows)
Override the default number of the transmit flows for the DAL instance.
void setInterfaceIndex(InterfaceIndex index)
Set the index of the local network interface on which DAL will run.
void setRxChannelName(unsigned int rxChannelIndex, const std::string &name)
Set the default name for the given receive (rx) channel.
unsigned int getNumTxChannels() const
Get the number of transmit channels for the DAL instance.
void setNumRxChannels(unsigned int numRxChannels)
Set the number of receive channels for the DAL instance.
std::string getTxChannelName(unsigned int txChannelIndex) const
Get the default name for the given tx channel.
void setModelId(const Id64 &modelId)
Set the model id for the DAL Instance.
std::string getPerChannelEncodingFile() const
Get the path to per-channel encoding file used by DAL instance.
unsigned int getPeriodsPerBuffer() const
Get the number of periods for each channel buffer.
std::string getDefaultName() const
Get the default device name for the DAL instance.
unsigned int getNumTxFlows() const
Get the number of transmit (tx) flows.
std::string getManufacturerName() const
Get the manufacturer friendly name for the DAL Instance.
std::string getProcessPath() const
Get the local filesystem path where the DAL instance's supporting binaries can be found.
unsigned int getEncoding() const
Get the encoding used by the DAL instance.
std::string getRxChannelName(unsigned int rxChannelIndex) const
Get the default name for the given receive (rx) channel.
LogLevel getLogLevel() const
Get the log level for DAL instance.
void setInterfaceName(InterfaceName name)
Set the name of the local network interface on which DAL will run.
void setNumRxFlows(unsigned int numRxFlows)
Override the default number of receive flows for the DAL instance.
std::string getLoggingPath() const
Get the logging path used by the child processes for storing log information.
void setTxChannelName(unsigned int txChannelIndex, const std::string &name)
Set the default name for the given transmit (tx) channel.
void setTimeSource(TimeSource timeSource)
Set the time source for the DAL instance.
unsigned int getNumRxFlows() const
Get the number of receive (rx) flows.
InterfaceName getInterfaceName() const
Get the name of the local network interface on which DAL will run.
void setActivationDirectory(const std::string &path)
Set the activation directory path for the DAL instance.
void setManufacturerName(const std::string &manufacturerName)
Set the manufacturer friendly name for the DAL Instance.
SocketDescriptor getProtocolSocketDescriptor(Protocol protocol) const
Get the socket descriptor (port number or socket path) to be used by DAL for the given protocol.
void setEncoding(unsigned int encoding)
Set the encoding used by the DAL instance.
void setDefaultName(const std::string &name)
Set the default device name for the DAL instance.
void setNetworkLatency(unsigned int networkLatency)
Set the DAL device network latency.
unsigned int getSamplesPerPeriod() const
Get the number of samples between audio period events.
unsigned int getNetworkLatency() const
Get DAL device network latency.
uint16_t getAudioPortRange() const
Get the audio port range to be used by DAL instance.
void setLoggingPath(std::string loggingPath)
Set the logging path used by the child processes for storing log information.
Id64 getModelId() const
Get the model id for the DAL Instance.
void setModelName(const std::string &modelName)
Set the model name for the DAL Instance.
void setAudioPortRange(uint16_t range)
Set the audio port range to be used by DAL instance.
InterfaceIndex getInterfaceIndex() const
Get the index of the local network interface on which DAL will run.
void setSamplerate(Samplerate samplerate)
Set the samplerate for the DAL instance.
void setSamplesPerPeriod(unsigned int samplesPerPeriod)
Set the number of samples between audio period events.
std::string getModelName() const
Get the model name for the DAL Instance.
unsigned int getNumRxChannels() const
Get the number of receive channels for the DAL instance.
void setCloseWebSocketOnActivation(bool closeWebSocketOnActivation)
Set whether the activation websocket should be closed after device activation.
void setManufacturerVersion(const Version &manufacturerVersion)
Set the manufacturer product version for the DAL Instance.
bool getAllowAudioProcessingBeforeNetworkTimeSync() const
Get whether DAL can process audio before network time is synced.
TimeSource getTimeSource() const
Get the time source for the DAL instance.
std::string getConfigurationPath() const
Get the configuration path used by the child processes for storing configuration data.
std::string getActivationDirectory() const
Get the activation directory path for the DAL instance.
void setConfigurationPath(std::string configurationPath)
Set the configuration path used by the DAL instance (including its child processes) for storing confi...
bool getCloseWebSocketOnActivation() const
Get whether the activation websocket is closed after device activation.
void setAllowAudioProcessingBeforeNetworkTimeSync(bool enabled)
Set whether DAL can process audio before network time is synced.
void setPerChannelEncodingFile(const std::string &fileName)
Set per-channel encoding configuration in DAL.
void setLogLevel(LogLevel logLevel)
Set the log level for DAL instance.
A Version class used for tracking updates to your DAL Dante device.
Definition Types.hpp:53