Commit c5ccd102 authored by jcacerec's avatar jcacerec
Browse files

fix getter methods

parent c00f7e31
......@@ -295,12 +295,12 @@ public:
virtual void writeAudioBuffer(const int8_t* ptrToSlot)
{ mReceiveRingBuffer->insertSlotNonBlocking(ptrToSlot); }
uint32_t getBufferSizeInSamples() const
{ return mAudioInterface->getBufferSizeInSamples(); }
{ return mAudioBufferSize; /*return mAudioInterface->getBufferSizeInSamples();*/ }
AudioInterface::samplingRateT getSampleRateType() const
{ return mAudioInterface->getSampleRateType(); }
int getSampleRate() const
{ return mAudioInterface->getSampleRate(); }
{ return mSampleRate; /*return mAudioInterface->getSampleRate();*/ }
uint8_t getAudioBitResolution() const
{ return mAudioBitResolution; /*return mAudioInterface->getAudioBitResolution();*/ }
......
Supports Markdown
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