VirtualBox

source: vbox/trunk/src/VBox/Devices/Audio/AudioTestServiceClient.h@ 90830

最後變更 在這個檔案從90830是 90830,由 vboxsync 提交於 4 年 前

Audio/ValKit: More work on ATS client destruction handling. bugref:10008

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 2.2 KB
 
1/* $Id: AudioTestServiceClient.h 90830 2021-08-24 10:47:52Z vboxsync $ */
2/** @file
3 * AudioTestServiceClient - Audio test execution server, Public Header.
4 */
5
6/*
7 * Copyright (C) 2021 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.alldomusa.eu.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef VBOX_INCLUDED_SRC_Audio_AudioTestServiceClient_h
19#define VBOX_INCLUDED_SRC_Audio_AudioTestServiceClient_h
20#ifndef RT_WITHOUT_PRAGMA_ONCE
21# pragma once
22#endif
23
24#include "AudioTestServiceInternal.h"
25
26/**
27 * Structure for maintaining an ATS client.
28 */
29typedef struct ATSCLIENT
30{
31 /** Pointer to the selected transport layer. */
32 PCATSTRANSPORT pTransport;
33 /** Pointer to the selected transport instance to use. */
34 PATSTRANSPORTINST pTransportInst;
35 /** The opaque client instance. */
36 PATSTRANSPORTCLIENT pTransportClient;
37} ATSCLIENT;
38/** Pointer to an ATS client. */
39typedef ATSCLIENT *PATSCLIENT;
40
41/** @name Creation / destruction.
42 * @{ */
43int AudioTestSvcClientCreate(PATSCLIENT pClient);
44void AudioTestSvcClientDestroy(PATSCLIENT pClient);
45/** @} */
46
47/** @name Connection handling.
48 * @{ */
49int AudioTestSvcClientConnect(PATSCLIENT pClient);
50int AudioTestSvcClientClose(PATSCLIENT pClient);
51/** @} */
52
53/** @name Option handling.
54 * @{ */
55int AudioTestSvcClientHandleOption(PATSCLIENT pClient, int ch, PCRTGETOPTUNION pVal);
56/** @} */
57
58/** @name Test set handling.
59 * @{ */
60int AudioTestSvcClientTestSetBegin(PATSCLIENT pClient, const char *pszTag);
61int AudioTestSvcClientTestSetEnd(PATSCLIENT pClient, const char *pszTag);
62int AudioTestSvcClientTestSetDownload(PATSCLIENT pClient, const char *pszTag, const char *pszPathOutAbs);
63/** @} */
64
65/** @name Tone handling.
66 * @{ */
67int AudioTestSvcClientTonePlay(PATSCLIENT pClient, PAUDIOTESTTONEPARMS pToneParms);
68int AudioTestSvcClientToneRecord(PATSCLIENT pClient, PAUDIOTESTTONEPARMS pToneParms);
69/** @} */
70
71#endif /* !VBOX_INCLUDED_SRC_Audio_AudioTestServiceClient_h */
72
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette