mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
pipewire: module-raop-sink: use uint32_t for sample rate
32 bits are enough, and additionally this also fixes an incorrect format string, which caused the default `audio.rate` to be incorrectly set on some platforms, such as 32-bit arm ones. Fixes #4080
This commit is contained in:
parent
4067b3a985
commit
7732d0e3e5
3 changed files with 9 additions and 9 deletions
|
|
@ -633,7 +633,7 @@ int rtp_stream_receive_packet(struct rtp_stream *s, uint8_t *buffer, size_t len)
|
|||
return impl->receive_rtp(impl, buffer, len);
|
||||
}
|
||||
|
||||
uint64_t rtp_stream_get_time(struct rtp_stream *s, uint64_t *rate)
|
||||
uint64_t rtp_stream_get_time(struct rtp_stream *s, uint32_t *rate)
|
||||
{
|
||||
struct impl *impl = (struct impl*)s;
|
||||
struct spa_io_position *pos = impl->io_position;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue