void freerdp_channels_dummy() { audin_server_context_new(NULL); audin_server_context_free(NULL); rdpsnd_server_context_new(NULL); rdpsnd_server_context_free(NULL); cliprdr_server_context_new(NULL); cliprdr_server_context_free(NULL); echo_server_context_new(NULL); echo_server_context_free(NULL); rdpdr_server_context_new(NULL); rdpdr_server_context_free(NULL); drdynvc_server_context_new(NULL); drdynvc_server_context_free(NULL); rdpei_server_context_new(NULL); rdpei_server_context_free(NULL); remdesk_server_context_new(NULL); remdesk_server_context_free(NULL); encomsp_server_context_new(NULL); encomsp_server_context_free(NULL); rdpgfx_server_context_new(NULL); rdpgfx_server_context_free(NULL); }
void freerdp_channels_dummy() { audin_server_context_new(NULL); audin_server_context_free(NULL); rdpsnd_server_context_new(NULL); rdpsnd_server_context_free(NULL); }
void sf_peer_audin_init(testPeerContext* context) { context->audin = audin_server_context_new(context->vcm); context->audin->rdpcontext = &context->_p; context->audin->data = context; context->audin->num_server_formats = server_audin_get_formats(&context->audin->server_formats); if (context->audin->num_server_formats > 0) context->audin->dst_format = &context->audin->server_formats[0]; context->audin->Opening = sf_peer_audin_opening; context->audin->OpenResult = sf_peer_audin_open_result; context->audin->ReceiveSamples = sf_peer_audin_receive_samples; }
void mf_peer_audin_init(mfPeerContext* context) { context->audin = audin_server_context_new(context->vcm); context->audin->data = context; context->audin->server_formats = audio_formats; context->audin->num_server_formats = sizeof(audio_formats) / sizeof(audio_formats[0]); context->audin->dst_format.wFormatTag = 1; context->audin->dst_format.nChannels = 2; context->audin->dst_format.nSamplesPerSec = 44100; context->audin->dst_format.wBitsPerSample = 16; context->audin->Opening = mf_peer_audin_opening; context->audin->OpenResult = mf_peer_audin_open_result; context->audin->ReceiveSamples = mf_peer_audin_receive_samples; }