splitted message files

git-svn-id: svn://elaine/murooma/trunk@236 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
(no author) 2014-09-06 09:50:42 +00:00
parent 18f3c5178f
commit 344892b8f1
15 changed files with 939 additions and 159 deletions

View file

@ -5,13 +5,18 @@
#include <iostream>
SampleFormat::SampleFormat(const std::string& format) //: rate(rate_), bits(bits_), channels(channels_), sampleSize(bytes_), frameSize(frameSize_)
SampleFormat::SampleFormat() : BaseMessage(message_type::payload)
{
}
SampleFormat::SampleFormat(const std::string& format) : BaseMessage(message_type::payload)
{
setFormat(format);
}
SampleFormat::SampleFormat(uint16_t sampleRate, uint16_t bitsPerSample, uint16_t channelCount) //: rate(rate_), bits(bits_), channels(channels_), sampleSize(bytes_), frameSize(frameSize_)
SampleFormat::SampleFormat(uint16_t sampleRate, uint16_t bitsPerSample, uint16_t channelCount) : BaseMessage(message_type::payload)
{
setFormat(sampleRate, bitsPerSample, channelCount);
}