10#ifndef ZEP_AUDIO_PCM_FORMAT_HPP_
11#define ZEP_AUDIO_PCM_FORMAT_HPP_
36 PcmFormat(
int sampling_rate,
unsigned channel_mask)
noexcept {
57 kLeftChannel = (1u << 0),
58 kRightChannel = (1u << 1),
59 kStereo = kLeftChannel | kRightChannel,
75 channel_mask_ = new_value;
83 auto mask = channel_mask_;
84 int num_of_channels = 0;
91 return num_of_channels;
102 return sampling_rate_ == other.sampling_rate_ &&
103 channel_mask_ == other.channel_mask_;
114 return !(*
this == other);
121 int sampling_rate_ = 0;
126 unsigned channel_mask_ = 0u;
Namespace for ZEP SDK.
Definition FactoryInterface.hpp:19