FreeRDP
Loading...
Searching...
No Matches
ITSMFAudioDevice Struct Reference

Data Fields

WINPR_ATTR_NODISCARD BOOL(* Open )(ITSMFAudioDevice *audio, const char *device)
 
WINPR_ATTR_NODISCARD BOOL(* SetFormat )(ITSMFAudioDevice *audio, UINT32 sample_rate, UINT32 channels, UINT32 bits_per_sample)
 
WINPR_ATTR_NODISCARD BOOL(* Play )(ITSMFAudioDevice *audio, const BYTE *data, UINT32 data_size)
 
WINPR_ATTR_NODISCARD UINT64(* GetLatency )(ITSMFAudioDevice *audio)
 
WINPR_ATTR_NODISCARD BOOL(* ChangeVolume )(ITSMFAudioDevice *audio, UINT32 newVolume, UINT32 muted)
 
WINPR_ATTR_NODISCARD 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

http://www.apache.org/licenses/LICENSE-2.0

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.

Definition at line 27 of file tsmf_audio.h.

Field Documentation

◆ ChangeVolume

WINPR_ATTR_NODISCARD BOOL(* ITSMFAudioDevice::ChangeVolume) (ITSMFAudioDevice *audio, UINT32 newVolume, UINT32 muted)

Definition at line 39 of file tsmf_audio.h.

◆ Flush

WINPR_ATTR_NODISCARD BOOL(* ITSMFAudioDevice::Flush) (ITSMFAudioDevice *audio)

Definition at line 42 of file tsmf_audio.h.

◆ Free

void(* ITSMFAudioDevice::Free) (ITSMFAudioDevice *audio)

Definition at line 44 of file tsmf_audio.h.

◆ GetLatency

WINPR_ATTR_NODISCARD UINT64(* ITSMFAudioDevice::GetLatency) (ITSMFAudioDevice *audio)

Definition at line 37 of file tsmf_audio.h.

◆ Open

WINPR_ATTR_NODISCARD BOOL(* ITSMFAudioDevice::Open) (ITSMFAudioDevice *audio, const char *device)

Definition at line 30 of file tsmf_audio.h.

◆ Play

WINPR_ATTR_NODISCARD BOOL(* ITSMFAudioDevice::Play) (ITSMFAudioDevice *audio, const BYTE *data, UINT32 data_size)

Definition at line 35 of file tsmf_audio.h.

◆ SetFormat

WINPR_ATTR_NODISCARD BOOL(* ITSMFAudioDevice::SetFormat) (ITSMFAudioDevice *audio, UINT32 sample_rate, UINT32 channels, UINT32 bits_per_sample)

Definition at line 32 of file tsmf_audio.h.


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