Merge "fix for N_SE-54633: Display error occur while play recorded 1 second audio...
authorAmit Kumar <a.kumar35@samsung.com>
Tue, 8 Oct 2013 09:31:49 +0000 (09:31 +0000)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Tue, 8 Oct 2013 09:31:49 +0000 (09:31 +0000)
project/src/Audio/AudioInOut.cpp

index 916da2c..3cf1945 100644 (file)
@@ -666,7 +666,14 @@ AudioInOut::InitializeAudioOut()
                __recordedTime = MAX_REC_TIME;
        }
        maxTime.Append(__recordedTime);
-       maxTime.Append(L" secs");
+       if(__recordedTime < 2)
+       {
+               maxTime.Append(L" sec");
+       }
+       else
+       {
+               maxTime.Append(L" secs");
+       }
        __pLabelTotatTime->SetText(maxTime);
        __pProgress->SetRange(0, __maxBufferSize);