FreeRDP
|
#include <freerdp/config.h>
#include <winpr/wtypes.h>
#include <freerdp/types.h>
#include <freerdp/codec/dsp.h>
#import <AudioToolbox/AudioToolbox.h>
#include "rdpsnd_main.h"
#include "TPCircularBuffer.h"
Macros | |
#define | INPUT_BUFFER_SIZE 32768 |
#define | CIRCULAR_BUFFER_SIZE (INPUT_BUFFER_SIZE * 4) |
#define | THIS(__ptr) ((rdpsndIOSPlugin*)__ptr) |
Functions | |
static OSStatus | rdpsnd_ios_render_cb (void *inRefCon, AudioUnitRenderActionFlags __unused *ioActionFlags, const AudioTimeStamp __unused *inTimeStamp, UInt32 inBusNumber, UInt32 __unused inNumberFrames, AudioBufferList *ioData) |
static BOOL | rdpsnd_ios_format_supported (rdpsndDevicePlugin *__unused device, const AUDIO_FORMAT *format) |
static BOOL | rdpsnd_ios_set_volume (rdpsndDevicePlugin *__unused device, UINT32 __unused value) |
static void | rdpsnd_ios_start (rdpsndDevicePlugin *device) |
static void | rdpsnd_ios_stop (rdpsndDevicePlugin *__unused device) |
static UINT | rdpsnd_ios_play (rdpsndDevicePlugin *device, const BYTE *data, size_t size) |
static BOOL | rdpsnd_ios_open (rdpsndDevicePlugin *device, const AUDIO_FORMAT *format, UINT32 __unused latency) |
static void | rdpsnd_ios_close (rdpsndDevicePlugin *device) |
static void | rdpsnd_ios_free (rdpsndDevicePlugin *device) |
FREERDP_ENTRY_POINT (UINT VCAPITYPE ios_freerdp_rdpsnd_client_subsystem_entry(PFREERDP_RDPSND_DEVICE_ENTRY_POINTS pEntryPoints)) | |
#define CIRCULAR_BUFFER_SIZE (INPUT_BUFFER_SIZE * 4) |
#define INPUT_BUFFER_SIZE 32768 |
FreeRDP: A Remote Desktop Protocol Implementation Audio Output Virtual Channel
Copyright 2013 Dell Software Mike. Copyright 2015 Thincast Technologies GmbH Copyright 2015 DI (FH) Martin Haimberger McDo nald@ soft ware. dell .commarti n.ha imber ger@ thinc ast. 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 THIS | ( | __ptr | ) | ((rdpsndIOSPlugin*)__ptr) |
FREERDP_ENTRY_POINT | ( | UINT VCAPITYPE | ios_freerdp_rdpsnd_client_subsystem_entry PFREERDP_RDPSND_DEVICE_ENTRY_POINTS pEntryPoints | ) |
Function description
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |