Commit 6165da4a authored by Simon Morlat's avatar Simon Morlat
Browse files

fix typo

parent 37b381b7
......@@ -86,7 +86,7 @@ namespace fake_android{
*frameCount = 54321;
if (AudioTrackImpl::get()->mGetMinFrameCount.isFound()){
status_t ret = AudioTrackImpl::get()->mGetMinFrameCount.invoke(frameCount,streamType,sampleRate);
if ((ret == 0) && (*frameCount = 54321)) {
if ((ret == 0) && (*frameCount == 54321)) {
// If no error and the magic value has not been erased then the getMinFrameCount implementation
// is a dummy one. So perform the calculation manually as it is supposed to be implemented...
int afSampleRate;
......
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