Commit d1cb9540 authored by Tristan Matthews's avatar Tristan Matthews

* #5957: getRecordingSmplRate returns a value

parent d61a2b07
......@@ -89,7 +89,7 @@ void AudioRecord::setSndSamplingRate (int smplRate)
sndSmplRate_ = smplRate;
}
int AudioRecord::getSndSamplingRate()
int AudioRecord::getSndSamplingRate() const
{
return sndSmplRate_;
}
......
......@@ -53,7 +53,7 @@ class AudioRecord
void setSndSamplingRate (int smplRate);
int getSndSamplingRate(void);
int getSndSamplingRate(void) const;
void setRecordingOption (FILE_TYPE type, SOUND_FORMAT format, int sndSmplRate, std::string path);
......
......@@ -61,9 +61,9 @@ void Recordable::setRecordingSmplRate (int smplRate)
}
int Recordable::getRecordingSmplRate()
int Recordable::getRecordingSmplRate() const
{
recAudio.getSndSamplingRate();
return recAudio.getSndSamplingRate();
}
......@@ -72,7 +72,7 @@ class Recordable
*/
void setRecordingSmplRate (int smplRate);
int getRecordingSmplRate(void);
int getRecordingSmplRate(void) const;
virtual std::string getRecFileId() = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment