2011-08-15 11:08:23 +04:00
|
|
|
/**
|
2012-10-09 07:02:04 +04:00
|
|
|
* FreeRDP: A Remote Desktop Protocol Implementation
|
2011-08-15 11:08:23 +04:00
|
|
|
* Audio Output Virtual Channel
|
|
|
|
*
|
|
|
|
* Copyright 2010-2011 Vic Lee
|
2013-10-19 20:38:31 +04:00
|
|
|
* Copyright 2012-2013 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
2011-08-15 11:08:23 +04:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __RDPSND_MAIN_H
|
|
|
|
#define __RDPSND_MAIN_H
|
|
|
|
|
2013-10-20 00:20:31 +04:00
|
|
|
#include <freerdp/api.h>
|
|
|
|
#include <freerdp/svc.h>
|
|
|
|
#include <freerdp/addin.h>
|
2013-10-19 20:38:31 +04:00
|
|
|
#include <freerdp/client/rdpsnd.h>
|
2014-09-12 18:19:32 +04:00
|
|
|
#include <freerdp/channels/log.h>
|
|
|
|
|
|
|
|
#define TAG CHANNELS_TAG("rdpsnd.client")
|
2011-08-15 11:08:23 +04:00
|
|
|
|
2013-09-23 14:38:05 +04:00
|
|
|
#if defined(WITH_DEBUG_SND)
|
2014-09-12 18:19:32 +04:00
|
|
|
#define DEBUG_SND(fmt, ...) WLog_DBG(TAG, fmt, ## __VA_ARGS__)
|
2013-09-23 14:38:05 +04:00
|
|
|
#else
|
|
|
|
#define DEBUG_SND(fmt, ...) do { } while (0)
|
|
|
|
#endif
|
|
|
|
|
2013-10-20 00:20:31 +04:00
|
|
|
int rdpsnd_virtual_channel_write(rdpsndPlugin* rdpsnd, wStream* s);
|
|
|
|
|
2011-08-15 11:08:23 +04:00
|
|
|
#endif /* __RDPSND_MAIN_H */
|