mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
fix sign confusion
This commit is contained in:
parent
74e5f9fbcf
commit
e918f9f77c
60 changed files with 164 additions and 146 deletions
|
|
@ -43,8 +43,8 @@ extern "C" {
|
|||
#include <spa/param/param.h>
|
||||
#include <spa/param/audio/format-utils.h>
|
||||
|
||||
#define DEFAULT_RATE 48000
|
||||
#define DEFAULT_CHANNELS 2
|
||||
#define DEFAULT_RATE 48000u
|
||||
#define DEFAULT_CHANNELS 2u
|
||||
|
||||
struct props {
|
||||
char device[64];
|
||||
|
|
@ -127,7 +127,7 @@ struct state {
|
|||
int timerfd;
|
||||
bool alsa_started;
|
||||
bool slaved;
|
||||
int threshold;
|
||||
uint32_t threshold;
|
||||
|
||||
snd_htimestamp_t now;
|
||||
int64_t sample_count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue