/**
* xrdp : A Remote Desktop Protocol server .
*
* Copyright ( C ) Jay Sorg 2009 - 2014
*
* 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 _SOUND_H_
#define _SOUND_H_
#include "arch.h"
#include "parse.h"
#include "os_calls.h"
#include "chansrv.h"
#include "trans.h"
#define SNDC_CLOSE 0 x01
#define SNDC_WAVE 0 x02
#define SNDC_SETVOLUME 0 x03
#define SNDC_SETPITCH 0 x04
#define SNDC_WAVECONFIRM 0 x05
#define SNDC_TRAINING 0 x06
#define SNDC_FORMATS 0 x07
#define SNDC_CRYPTKEY 0 x08
#define SNDC_WAVEENCRYPT 0 x09
#define SNDC_UDPWAVE 0 x0A
#define SNDC_UDPWAVELAST 0 x0B
#define SNDC_QUALITYMODE 0 x0C
/* used for sound input (mic) */
#define SNDC_REC_NEGOTIATE 39
#define SNDC_REC_START 40
#define SNDC_REC_STOP 41
#define SNDC_REC_DATA 42
#define SNDC_REC_SET_VOLUME 43
/* commands recvd from pulseaudio source */
#define PA_CMD_START_REC 1
#define PA_CMD_STOP_REC 2
#define PA_CMD_SEND_DATA 3
int sound_init(void );
int sound_deinit(void );
int sound_get_wait_objs(tbus *objs, int *count, int *timeout);
int sound_check_wait_objs(void );
int sound_data_in(struct stream *s, int chan_id, int chan_flags,
int length, int total_length);
#endif
Messung V0.5 in Prozent C=90 H=93 G=91
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet am 2026-07-10)
¤
*© Formatika GbR, Deutschland