mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05: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; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue