Changeset 90764 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Aug 20, 2021 3:54:46 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 146398
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioTestServiceClient.cpp
r90048 r90764 230 230 231 231 /** 232 * Tells the ATS server that we want disconnect. 233 * 234 * @returns VBox status code. 235 * @param pClient Client to disconnect. 236 */ 237 static int audioTestSvcClientDoBye(PATSCLIENT pClient) 238 { 239 ATSPKTREQHOWDY Req; 240 Req.uVersion = ATS_PROTOCOL_VS; 241 audioTestSvcClientReqHdrInit(&Req.Hdr, sizeof(Req), ATSPKT_OPCODE_BYE, 0); 242 int rc = audioTestSvcClientSendMsg(pClient, &Req, sizeof(Req)); 243 if (RT_SUCCESS(rc)) 244 rc = audioTestSvcClientRecvAck(pClient); 245 return rc; 246 } 247 248 /** 232 249 * Creates an ATS client. 233 250 * … … 255 272 void AudioTestSvcClientDestroy(PATSCLIENT pClient) 256 273 { 274 /* ignore rc */ audioTestSvcClientDoBye(pClient); 275 257 276 if (pClient->pTransport) 258 277 pClient->pTransport->pfnTerm(pClient->pTransportInst);
Note:
See TracChangeset
for help on using the changeset viewer.