libguac
1.6.0
Toggle main menu visibility
Loading...
Searching...
No Matches
audio-fntypes.h
Go to the documentation of this file.
1
/*
2
* Licensed to the Apache Software Foundation (ASF) under one
3
* or more contributor license agreements. See the NOTICE file
4
* distributed with this work for additional information
5
* regarding copyright ownership. The ASF licenses this file
6
* to you under the Apache License, Version 2.0 (the
7
* "License"); you may not use this file except in compliance
8
* with the License. You may obtain a copy of the License at
9
*
10
* http://www.apache.org/licenses/LICENSE-2.0
11
*
12
* Unless required by applicable law or agreed to in writing,
13
* software distributed under the License is distributed on an
14
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
* KIND, either express or implied. See the License for the
16
* specific language governing permissions and limitations
17
* under the License.
18
*/
19
20
#ifndef GUAC_AUDIO_FNTYPES_H
21
#define GUAC_AUDIO_FNTYPES_H
22
28
29
#include "
audio-types.h
"
30
#include "
user-types.h
"
31
38
typedef
void
guac_audio_encoder_begin_handler
(
guac_audio_stream
* audio);
39
46
typedef
void
guac_audio_encoder_flush_handler
(
guac_audio_stream
* audio);
47
54
typedef
void
guac_audio_encoder_end_handler
(
guac_audio_stream
* audio);
55
67
typedef
void
guac_audio_encoder_join_handler
(
guac_audio_stream
* audio,
68
guac_user
* user);
69
84
typedef
void
guac_audio_encoder_write_handler
(
guac_audio_stream
* audio,
85
const
unsigned
char
* pcm_data,
int
length);
86
87
#endif
88
guac_audio_encoder_begin_handler
void guac_audio_encoder_begin_handler(guac_audio_stream *audio)
Handler which is called when the audio stream is opened.
Definition
audio-fntypes.h:38
guac_audio_encoder_write_handler
void guac_audio_encoder_write_handler(guac_audio_stream *audio, const unsigned char *pcm_data, int length)
Handler which is called when PCM data is written to the audio stream.
Definition
audio-fntypes.h:84
guac_audio_encoder_flush_handler
void guac_audio_encoder_flush_handler(guac_audio_stream *audio)
Handler which is called when the audio stream needs to be flushed.
Definition
audio-fntypes.h:46
guac_audio_encoder_join_handler
void guac_audio_encoder_join_handler(guac_audio_stream *audio, guac_user *user)
Handler which is called when a new user has joined the Guacamole connection associated with the audio...
Definition
audio-fntypes.h:67
guac_audio_encoder_end_handler
void guac_audio_encoder_end_handler(guac_audio_stream *audio)
Handler which is called when the audio stream is closed.
Definition
audio-fntypes.h:54
audio-types.h
Type definitions related to simple streaming audio.
guac_audio_stream
Basic audio stream.
Definition
audio.h:71
guac_user
Representation of a physical connection within a larger logical connection which may be shared.
Definition
user.h:115
user-types.h
Type definitions related to the guac_user object.
guacamole
audio-fntypes.h
Generated by
1.17.0