mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2025-02-17 01:12:06 +01:00
This will let us notify pipewire that our buffer has changed and trigger a renegotiation cycle which will take care of reallocating the buffers
15 lines
473 B
C
15 lines
473 B
C
#ifndef PIPEWIRE_SCREENCAST_H
|
|
#define PIPEWIRE_SCREENCAST_H
|
|
|
|
#include "screencast_common.h"
|
|
|
|
#define XDPW_PWR_BUFFERS 1
|
|
#define XDPW_PWR_ALIGN 16
|
|
|
|
void pwr_update_stream_param(struct xdpw_screencast_instance *cast);
|
|
void xdpw_pwr_stream_create(struct xdpw_screencast_instance *cast);
|
|
void xdpw_pwr_stream_destroy(struct xdpw_screencast_instance *cast);
|
|
int xdpw_pwr_context_create(struct xdpw_state *state);
|
|
void xdpw_pwr_context_destroy(struct xdpw_state *state);
|
|
|
|
#endif
|