8 #ifndef META_OCEAN_MEDIA_SOUND_MEDIUM_H
9 #define META_OCEAN_MEDIA_SOUND_MEDIUM_H
64 inline SoundType(
const SoundFrequency frequency,
const unsigned int channels,
const unsigned int bitsPerSample);
76 inline unsigned int channels()
const;
82 inline unsigned int bitsPerSample()
const;
94 inline void setChannels(
const unsigned int channels);
100 inline void setBitsPerSoundSample(
const unsigned int bits);
107 inline bool operator==(
const SoundType& right)
const;
114 inline bool operator<(
const SoundType& right)
const;
173 inline bool hasSound()
const;
179 inline unsigned int soundChannels()
const;
191 inline unsigned int soundBitsPerSample()
const;
211 inline unsigned int preferredSoundChannels()
const;
223 inline unsigned int preferredSoundBitsPerSample()
const;
295 typeFrequency(frequency),
296 typeChannels(channels),
297 typeBitsPerSample(bitsPerSample)
304 return typeFrequency;
314 return typeBitsPerSample;
319 typeFrequency = frequency;
324 typeChannels = channels;
329 typeBitsPerSample = bits;
This class implements a timestamp.
Definition: Timestamp.h:36
bool isInvalid() const
Returns whether the timestamp holds an invalid time.
Definition: Timestamp.h:308
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15