|
Dante Application Library API
|
3 #include "audinate/dal/Common.hpp"
7 namespace Audinate {
namespace DAL {
112 void setTxChannelName(
unsigned int txChannelIndex,
const std::string & name);
139 void setRxChannelName(
unsigned int rxChannelIndex,
const std::string & name);
396 std::string mManufacturerName;
398 std::string mModelName;
400 std::string mDefaultName;
401 std::vector<std::string> mTxChannels;
402 std::vector<std::string> mRxChannels;
403 unsigned int mNumTxFlows;
404 unsigned int mNumRxFlows;
405 Samplerate mSamplerate;
406 InterfaceName mInterfaceName;
407 InterfaceIndex mInterfaceIndex;
408 std::map<Protocol, SocketDescriptor> mProtocolSocketDescriptors;
409 unsigned int mAudioPortRange;
410 TimeSource mTimeSource;
411 unsigned int mSamplesPerPeriod;
412 unsigned int mPeriodsPerBuffer;
413 unsigned int mEncoding;
414 std::string mPerChannelEncodingFile;
415 std::string mProcessPath;
416 std::string mConfigurationPath;
417 std::string mLoggingPath;
419 unsigned int mNetworkLatency;
420 std::string mActivationDirectory;
std::string getProcessPath() const
Get the local filesystem path where the DAL instance's supporting binaries can be found.
unsigned int getNumTxFlows() const
Get the number of transmit (tx) flows.
std::string getModelName() const
Get the model name for the DAL Instance.
void setEncoding(unsigned int encoding)
Set the encoding used by the DAL instance.
A Version class used for tracking updates to your DAL Dante device.
Definition: Types.hpp:52
std::string getLoggingPath() const
Get the logging path used by the child processes for storing log information.
Definition: Common.hpp:71
void setNumRxChannels(unsigned int numRxChannels)
Set the number of receive channels for the DAL instance.
void setNumTxFlows(unsigned int numTxFlows)
Override the default number of the transmit flows for the DAL instance.
void setLoggingPath(std::string loggingPath)
Set the logging path used by the child processes for storing log information.
void setConfigurationPath(std::string configurationPath)
Set the configuration path used by the DAL instance (including its child processes) for storing confi...
void setNumTxChannels(unsigned int numTxChannels)
Set the number of transmit channels for the DAL instance.
Configuration for a DAL instance.
Definition: InstanceConfig.hpp:16
InterfaceName getInterfaceName() const
Get the name of the local network interface on which DAL will run.
void setDefaultName(const std::string &name)
Set the default device name for the DAL instance.
void setSamplerate(Samplerate samplerate)
Set the samplerate for the DAL instance.
TimeSource getTimeSource() const
Get the time source for the DAL instance.
void setInterfaceIndex(InterfaceIndex index)
Set the index of the local network interface on which DAL will run.
void setProcessPath(std::string processPath)
Set the local filesystem path where the DAL instance's supporting binaries can be found.
void setProtocolSocketDescriptor(Protocol protocol, SocketDescriptor socketDescriptor)
Set the socket descriptor (port number or socket path) to be used by DAL for the given protocol.
unsigned int getNumRxFlows() const
Get the number of receive (rx) flows.
std::string getConfigurationPath() const
Get the configuration path used by the child processes for storing configuration data.
void setInterfaceName(InterfaceName name)
Set the name of the local network interface on which DAL will run.
SocketDescriptor getProtocolSocketDescriptor(Protocol protocol) const
Get the socket descriptor (port number or socket path) to be used by DAL for the given protocol.
InterfaceIndex getInterfaceIndex() const
Get the index of the local network interface on which DAL will run.
Id64 getModelId() const
Get the model id for the DAL Instance.
Samplerate getSamplerate() const
Get the samplerate for the DAL instance.
unsigned int getEncoding() const
Get the encoding used by the DAL instance.
Version getManufacturerVersion() const
Get the manufacturer product version for the DAL Instance.
void setAudioPortRange(uint16_t range)
Set the audio port range to be used by DAL instance.
void setLogLevel(LogLevel logLevel)
Set the log level for DAL instance.
LogLevel getLogLevel() const
Get the log level for DAL instance.
void setNetworkLatency(unsigned int networkLatency)
Set the DAL device network latency
std::string getActivationDirectory() const
Get the activation directory path for the DAL instance.
unsigned int getNumTxChannels() const
Get the number of transmit channels for the DAL instance.
void setPeriodsPerBuffer(unsigned int periodsPerBuffer)
Set the number of periods to be stored in each channel buffer.
void setTxChannelName(unsigned int txChannelIndex, const std::string &name)
Set the default name for the given transmit (tx) channel.
unsigned int getSamplesPerPeriod() const
Get the number of samples between audio period events.
std::string getRxChannelName(unsigned int rxChannelIndex) const
Get the default name for the given receive (rx) channel.
void setActivationDirectory(const std::string &path)
Set the activation directory path for the DAL instance.
void setManufacturerVersion(const Version &manufacturerVersion)
Set the manufacturer product version for the DAL Instance.
void setTimeSource(TimeSource timeSource)
Set the time source for the DAL instance.
uint16_t getAudioPortRange() const
Get the audio port range to be used by DAL instance.
void setModelId(const Id64 &modelId)
Set the model id for the DAL Instance.
void setNumRxFlows(unsigned int numRxFlows)
Override the default number of receive flows for the DAL instance.
std::string getDefaultName() const
Get the default device name for the DAL instance.
void setRxChannelName(unsigned int rxChannelIndex, const std::string &name)
Set the default name for the given receive (rx) channel.
std::string getTxChannelName(unsigned int txChannelIndex) const
Get the default name for the given tx channel.
std::string getManufacturerName() const
Get the manufacturer friendly name for the DAL Instance.
void setManufacturerName(const std::string &manufacturerName)
Set the manufacturer friendly name for the DAL Instance.
std::string getPerChannelEncodingFile() const
Get the path to per-channel encoding file used by DAL instance.
unsigned int getNetworkLatency() const
Get DAL device network latency.
unsigned int getPeriodsPerBuffer() const
Get the number of periods for each channel buffer.
void setSamplesPerPeriod(unsigned int samplesPerPeriod)
Set the number of samples between audio period events.
void setModelName(const std::string &modelName)
Set the model name for the DAL Instance.
unsigned int getNumRxChannels() const
Get the number of receive channels for the DAL instance.
void setPerChannelEncodingFile(const std::string &fileName)
Set per-channel encoding configuration in DAL.