1#ifndef ZAO_ENDPOINT_AUDIO_PCM_FORMAT_HPP_
2#define ZAO_ENDPOINT_AUDIO_PCM_FORMAT_HPP_
34 PcmFormat(
int sampling_rate,
unsigned channel_mask)
noexcept {
59 kLeftChannel = (1u << 0),
60 kRightChannel = (1u << 1),
61 kStereo = kLeftChannel | kRightChannel,
81 channel_mask_ = new_value;
91 auto mask = channel_mask_;
92 int num_of_channels = 0;
99 return num_of_channels;
114 return sampling_rate_ == other.sampling_rate_ &&
115 channel_mask_ == other.channel_mask_;
130 return !(*
this == other);
138 int sampling_rate_ = 0;
144 unsigned channel_mask_ = 0u;
Zao製品共通の名前空間
Definition FactoryInterface.hpp:11