FreeRDP
|
#include <freerdp/config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/crt.h>
#include <winpr/synch.h>
#include <winpr/string.h>
#include <winpr/thread.h>
#include <winpr/debug.h>
#include <winpr/cmdline.h>
#import <AVFoundation/AVFoundation.h>
#include <CoreAudio/CoreAudioTypes.h>
#include <AudioToolbox/AudioToolbox.h>
#include <AudioToolbox/AudioQueue.h>
#include <freerdp/addin.h>
#include <freerdp/channels/rdpsnd.h>
#include "audin_main.h"
Macros | |
#define | __COREFOUNDATION_CFPLUGINCOM__ 1 |
#define | IUNKNOWN_C_GUTS |
#define | IOS_AUDIO_QUEUE_NUM_BUFFERS 100 |
Functions | |
static AudioFormatID | audin_ios_get_format (const AUDIO_FORMAT *format) |
static AudioFormatFlags | audin_ios_get_flags_for_format (const AUDIO_FORMAT *format) |
static BOOL | audin_ios_format_supported (IAudinDevice *device, const AUDIO_FORMAT *format) |
static UINT | audin_ios_set_format (IAudinDevice *device, const AUDIO_FORMAT *format, UINT32 FramesPerPacket) |
static void | ios_audio_queue_input_cb (void *aqData, AudioQueueRef inAQ, AudioQueueBufferRef inBuffer, const AudioTimeStamp *inStartTime, UInt32 inNumPackets, const AudioStreamPacketDescription *inPacketDesc) |
static UINT | audin_ios_close (IAudinDevice *device) |
static UINT | audin_ios_open (IAudinDevice *device, AudinReceive receive, void *user_data) |
static UINT | audin_ios_free (IAudinDevice *device) |
FREERDP_ENTRY_POINT (UINT VCAPITYPE ios_freerdp_audin_client_subsystem_entry(PFREERDP_AUDIN_DEVICE_ENTRY_POINTS pEntryPoints)) | |
#define __COREFOUNDATION_CFPLUGINCOM__ 1 |
FreeRDP: A Remote Desktop Protocol Implementation Audio Input Redirection Virtual Channel - iOS implementation
Copyright (c) 2015 Armin Novak armin Copyright 2015 Thincast Technologies GmbH .nov ak@th inca st.co m
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 IOS_AUDIO_QUEUE_NUM_BUFFERS 100 |
#define IUNKNOWN_C_GUTS |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Function description
FREERDP_ENTRY_POINT | ( | UINT VCAPITYPE | ios_freerdp_audin_client_subsystem_entry PFREERDP_AUDIN_DEVICE_ENTRY_POINTS pEntryPoints | ) |
|
static |