FreeRDP
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/crt.h>
#include <freerdp/types.h>
#include <AudioToolbox/AudioToolbox.h>
#include <AudioToolbox/AudioQueue.h>
#include "rdpsnd_main.h"
Macros | |
#define | __COREFOUNDATION_CFPLUGINCOM__ 1 |
#define | IUNKNOWN_C_GUTS void *_reserved; void* QueryInterface; void* AddRef; void* Release |
#define | MAC_AUDIO_QUEUE_NUM_BUFFERS 10 |
#define | MAC_AUDIO_QUEUE_BUFFER_SIZE 32768 |
#define | freerdp_rdpsnd_client_subsystem_entry FREERDP_API freerdp_rdpsnd_client_subsystem_entry |
Functions | |
static void | mac_audio_queue_output_cb (void *inUserData, AudioQueueRef inAQ, AudioQueueBufferRef inBuffer) |
static BOOL | rdpsnd_mac_set_format (rdpsndDevicePlugin *device, const AUDIO_FORMAT *format, UINT32 latency) |
static char * | FormatError (OSStatus st) |
static BOOL | rdpsnd_mac_open (rdpsndDevicePlugin *device, const AUDIO_FORMAT *format, UINT32 latency) |
static void | rdpsnd_mac_close (rdpsndDevicePlugin *device) |
static void | rdpsnd_mac_free (rdpsndDevicePlugin *device) |
static BOOL | rdpsnd_mac_format_supported (rdpsndDevicePlugin *device, const AUDIO_FORMAT *format) |
static BOOL | rdpsnd_mac_set_volume (rdpsndDevicePlugin *device, UINT32 value) |
static void | rdpsnd_mac_start (rdpsndDevicePlugin *device) |
static UINT | rdpsnd_mac_play (rdpsndDevicePlugin *device, const BYTE *data, size_t size) |
UINT | freerdp_rdpsnd_client_subsystem_entry (PFREERDP_RDPSND_DEVICE_ENTRY_POINTS pEntryPoints) |
#define __COREFOUNDATION_CFPLUGINCOM__ 1 |
FreeRDP: A Remote Desktop Protocol Implementation Audio Output Virtual Channel
Copyright 2012 Laxmikant Rashinkar LK.Ra Copyright 2015 Thincast Technologies GmbH Copyright 2015 DI (FH) Martin Haimberger shin kar@g mail .commarti Copyright 2016 Inuvika Inc. Copyright 2016 David PHAM-VAN n.ha imber ger@ thinc ast. comd.pha mvan @inuv ika. com
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.
#define freerdp_rdpsnd_client_subsystem_entry FREERDP_API freerdp_rdpsnd_client_subsystem_entry |
#define MAC_AUDIO_QUEUE_BUFFER_SIZE 32768 |
#define MAC_AUDIO_QUEUE_NUM_BUFFERS 10 |
|
static |
UINT freerdp_rdpsnd_client_subsystem_entry | ( | PFREERDP_RDPSND_DEVICE_ENTRY_POINTS | pEntryPoints | ) |
Function description
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |