mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
example: remove unused variable
This commit is contained in:
parent
61276da87e
commit
cbdc024f4c
1 changed files with 0 additions and 4 deletions
|
|
@ -371,7 +371,6 @@ static int sdl_alloc_buffers(struct data *data)
|
||||||
static int negotiate_formats(struct data *data)
|
static int negotiate_formats(struct data *data)
|
||||||
{
|
{
|
||||||
int res;
|
int res;
|
||||||
const struct spa_port_info *info;
|
|
||||||
struct spa_pod *format;
|
struct spa_pod *format;
|
||||||
uint8_t buffer[256];
|
uint8_t buffer[256];
|
||||||
struct spa_pod_builder b = SPA_POD_BUILDER_INIT(buffer, sizeof(buffer));
|
struct spa_pod_builder b = SPA_POD_BUILDER_INIT(buffer, sizeof(buffer));
|
||||||
|
|
@ -397,9 +396,6 @@ static int negotiate_formats(struct data *data)
|
||||||
format)) < 0)
|
format)) < 0)
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
if ((res = spa_node_port_get_info(data->source, SPA_DIRECTION_OUTPUT, 0, &info)) < 0)
|
|
||||||
return res;
|
|
||||||
|
|
||||||
|
|
||||||
setup_buffers(data);
|
setup_buffers(data);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue