|
MPD
0.20.15
|
#include "AudioFormat.hxx"Go to the source code of this file.
Functions | |
| void | CheckSampleRate (unsigned long sample_rate) |
| void | CheckSampleFormat (SampleFormat sample_format) |
| void | CheckChannelCount (unsigned sample_format) |
| AudioFormat | CheckAudioFormat (unsigned long sample_rate, SampleFormat sample_format, unsigned channels) |
| Check AudioFormat attributes and construct an AudioFormat instance. More... | |
| AudioFormat CheckAudioFormat | ( | unsigned long | sample_rate, |
| SampleFormat | sample_format, | ||
| unsigned | channels | ||
| ) |
Check AudioFormat attributes and construct an AudioFormat instance.
Throws #std::runtime_error on error.
| void CheckChannelCount | ( | unsigned | sample_format | ) |
| void CheckSampleFormat | ( | SampleFormat | sample_format | ) |
| void CheckSampleRate | ( | unsigned long | sample_rate | ) |
1.8.14