hal_play_test: Added support for play list through qap

Change-Id: I43b236793c3ae072e83fa88c4d3e156d840f026d
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 2524448..82d95e5 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -2966,7 +2966,7 @@
     struct stream_out *out = (struct stream_out *)stream;
 
     if (is_interactive_usecase(out->usecase)) {
-        return out->config.period_size;
+        return out->config.period_size * out->config.period_count;
     } else if (out->flags & AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD) {
         if (out->flags & AUDIO_OUTPUT_FLAG_TIMESTAMP)
             return out->compr_config.fragment_size - sizeof(struct snd_codec_metadata);