summaryrefslogtreecommitdiffstats
path: root/xrdpvr/xrdpvr.h
diff options
context:
space:
mode:
Diffstat (limited to 'xrdpvr/xrdpvr.h')
-rw-r--r--xrdpvr/xrdpvr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/xrdpvr/xrdpvr.h b/xrdpvr/xrdpvr.h
index 1324282c..7ef87af5 100644
--- a/xrdpvr/xrdpvr.h
+++ b/xrdpvr/xrdpvr.h
@@ -34,7 +34,9 @@ int xrdpvr_deinit_player(void *channel, int stream_id);
int xrdpvr_play_media(void *channel, int stream_id, char *filename);
int xrdpvr_set_geometry(void *channel, int stream_id, int xpos, int ypos, int width, int height);
int xrdpvr_set_video_format(void *channel, uint32_t stream_id);
-int xrdpvr_set_audio_format(void *channel, uint32_t stream_id);
+int xrdpvr_set_audio_format(void *channel, uint32_t stream_id, char *extradata,
+ int extradata_size, int sample_rate, int bit_rate,
+ int channels, int block_align);
int xrdpvr_send_video_data(void *channel, uint32_t stream_id, uint32_t data_len, uint8_t *data);
int xrdpvr_send_audio_data(void *channel, uint32_t stream_id, uint32_t data_len, uint8_t *data);
int xrdpvr_create_metadata_file(void *channel, char *filename);
@@ -45,6 +47,7 @@ int xrdpvr_get_frame(void **av_pkt_ret, int *is_video_frame, int *delay_in_us);
int send_audio_pkt(void *channel, int stream_id, void *pkt_p);
int send_video_pkt(void *channel, int stream_id, void *pkt_p);
int xrdpvr_set_volume(void *channel, int volume);
+int xrdpvr_send_init(void *channel);
#ifdef __cplusplus
}