Collapse All
Parallels Desktop® 10 for Mac — C API Reference Guide
PrlDevAudio_StopStream Function
Audio Playback

Stops audio stream.

Syntax
PRL_RESULT PrlDevAudio_StopStream(
    PRL_HANDLE hVm, 
    PRL_AUDIO_STREAM_TYPE Type
);
File

PrlApiVm.h

Parameters

hVm
A handle of type PHT_VIRTUAL_MACHINE identifying the virtual machine.
Type
Value from PRL_AUDIO_STREAM_TYPE enumeration selecting play or recording stream type
Returns

PRL_RESULT . Possible values:

PRL_ERR_SUCCESS - audio input stream was stopped.

PRL_ERR_INVALID_ARG - Vm handle is incorrect.

PRL_ERR_UNINITIALIZED - there is no any valid connection to Vm or audio input stream was never started.

PRL_ERR_AUDIO_ENCODINGS_NOT_SUPPORTED - audio encodings are not supported on the server.

Links
Copyright © 1999-2015 Parallels IP Holdings GmbH and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!