1#ifndef ZAO_ENDPOINT_AUDIO_PCM_FORMAT_HPP_
2#define ZAO_ENDPOINT_AUDIO_PCM_FORMAT_HPP_
28 PcmFormat(
int sampling_rate,
unsigned channel_mask)
noexcept {
49 kLeftChannel = (1u << 0),
50 kRightChannel = (1u << 1),
51 kStereo = kLeftChannel | kRightChannel,
67 channel_mask_ = new_value;
75 auto mask = channel_mask_;
76 int num_of_channels = 0;
83 return num_of_channels;
94 return sampling_rate_ == other.sampling_rate_ &&
95 channel_mask_ == other.channel_mask_;
106 return !(*
this == other);
113 int sampling_rate_ = 0;
118 unsigned channel_mask_ = 0u;
Zao製品共通の名前空間
Definition FactoryInterface.hpp:11