[Title]audio: remove restarting unflushed data
authormunkyu.im <munkyu.im@samsung.com>
Wed, 29 Aug 2012 03:59:20 +0000 (12:59 +0900)
committermunkyu.im <munkyu.im@samsung.com>
Wed, 29 Aug 2012 03:59:20 +0000 (12:59 +0900)
[Type]
[Module]
[Priority]Minor
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

audio/winwaveaudio.c

index 234e3dc23ca8feef97eeaf5cd057f8dec732e782..3d6f8f70a4dc8904f7f92c38e3254d571c30d628 100644 (file)
@@ -349,6 +349,9 @@ static int winwave_ctl_out (HWVoiceOut *hw, int cmd, ...)
             else {
                 hw->poll_mode = 0;
             }
+#if defined(CONFIG_MARU)
+                wave->paused = 0;
+#else
             if (wave->paused) {
                 mr = waveOutRestart (wave->hwo);
                 if (mr != MMSYSERR_NOERROR) {
@@ -356,6 +359,7 @@ static int winwave_ctl_out (HWVoiceOut *hw, int cmd, ...)
                 }
                 wave->paused = 0;
             }
+#endif
         }
         return 0;