ITSMFAudioDevice Struct Reference

#include <tsmf_audio.h>

Data Fields

BOOL(* Open )(ITSMFAudioDevice *audio, const char *device)
BOOL(* SetFormat )(ITSMFAudioDevice *audio, UINT32 sample_rate, UINT32 channels, UINT32 bits_per_sample)
BOOL(* Play )(ITSMFAudioDevice *audio, const BYTE *data, UINT32 data_size)
UINT64(* GetLatency )(ITSMFAudioDevice *audio)
BOOL(* ChangeVolume )(ITSMFAudioDevice *audio, UINT32 newVolume, UINT32 muted)
BOOL(* Flush )(ITSMFAudioDevice *audio)
void(* Free )(ITSMFAudioDevice *audio)

Detailed Description

FreeRDP: A Remote Desktop Protocol Implementation Video Redirection Virtual Channel - Audio Device Manager

Copyright 2010-2011 Vic Lee

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Field Documentation

BOOL(* ITSMFAudioDevice::ChangeVolume) (ITSMFAudioDevice *audio, UINT32 newVolume, UINT32 muted)
BOOL(* ITSMFAudioDevice::Flush) (ITSMFAudioDevice *audio)
void(* ITSMFAudioDevice::Free) (ITSMFAudioDevice *audio)
UINT64(* ITSMFAudioDevice::GetLatency) (ITSMFAudioDevice *audio)
BOOL(* ITSMFAudioDevice::Open) (ITSMFAudioDevice *audio, const char *device)
BOOL(* ITSMFAudioDevice::Play) (ITSMFAudioDevice *audio, const BYTE *data, UINT32 data_size)
BOOL(* ITSMFAudioDevice::SetFormat) (ITSMFAudioDevice *audio, UINT32 sample_rate, UINT32 channels, UINT32 bits_per_sample)

The documentation for this struct was generated from the following file: