VirtualBox

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

Last change on this file since 89484 was 89458, checked in by vboxsync, 4 years ago

Audio/ValKit: Simplified code a bit by removing unnecessary parameters. bugref:10008

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1/* $Id: AudioTestServiceClient.h 89458 2021-06-02 09:04:06Z 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.virtualbox.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
24typedef struct ATSCLIENT
25{
26 uint8_t abHdr[16];
27 uint16_t cbHdr;
28 RTSOCKET hSock;
29} ATSCLIENT;
30typedef ATSCLIENT *PATSCLIENT;
31
32int AudioTestSvcClientConnect(PATSCLIENT pClient, const char *pszAddr, uint32_t uPort);
33int AudioTestSvcClientTestSetBegin(PATSCLIENT pClient, const char *pszTag);
34int AudioTestSvcClientTestSetEnd(PATSCLIENT pClient, const char *pszTag);
35int AudioTestSvcClientTonePlay(PATSCLIENT pClient, PAUDIOTESTTONEPARMS pToneParms);
36int AudioTestSvcClientToneRecord(PATSCLIENT pClient, PAUDIOTESTTONEPARMS pToneParms);
37int AudioTestSvcClientClose(PATSCLIENT pClient);
38
39#endif /* !VBOX_INCLUDED_SRC_Audio_AudioTestServiceClient_h */
40
Note: See TracBrowser for help on using the repository browser.

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