blob: d84ecb3fbb05c02a68e8d91b66162b836f588be2 [file] [log] [blame]
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
class AudioClient(object):
"""AudioClient is a layer to control audio logic over a remote DUT."""
def __init__(self, multimedia_client_connection):
"""Construct an AudioClient.
@param multimedia_client_connection: MultimediaClientConnection object.
self._connection = multimedia_client_connection
def _audio_proxy(self):
"""Gets the proxy to DUT audio utility.
@return XML RPC proxy to DUT audio utility.
def playback(self, file_path):
"""Playback an audio file on DUT.
@param file_path: The path to the file on DUT.