mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
fix warnings
This commit is contained in:
parent
7f0d5a1c10
commit
3fa2ad33e4
3 changed files with 5 additions and 5 deletions
|
|
@ -317,11 +317,10 @@ static int make_buffer(struct impl *this)
|
|||
struct buffer *b;
|
||||
struct spa_io_buffers *io = this->io;
|
||||
struct spa_io_range *range = this->io_range;
|
||||
int n_bytes, n_samples;
|
||||
uint32_t maxsize;
|
||||
uint32_t n_bytes, n_samples, maxsize;
|
||||
void *data;
|
||||
struct spa_data *d;
|
||||
int32_t filled, avail;
|
||||
uint32_t filled, avail;
|
||||
uint32_t index, offset, l0, l1;
|
||||
|
||||
read_timer(this);
|
||||
|
|
|
|||
|
|
@ -30,7 +30,8 @@
|
|||
static void \
|
||||
audio_test_src_create_sine_##type (struct impl *this, type *samples, size_t n_samples) \
|
||||
{ \
|
||||
int i, c, channels; \
|
||||
size_t i; \
|
||||
uint32_t c, channels; \
|
||||
float step, amp; \
|
||||
float freq = this->props.freq; \
|
||||
float volume = this->props.volume; \
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ ffmpeg_enum_interface_info(const struct spa_handle_factory *factory,
|
|||
int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t *index)
|
||||
{
|
||||
static const AVCodec *c = NULL;
|
||||
static int ci = 0;
|
||||
static uint32_t ci = 0;
|
||||
static struct spa_handle_factory f;
|
||||
static char name[128];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue