mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
spa: alsa: change index type
The `card` structure uses `uint32_t` for its index member, on the other hand, the `state` structure uses `int`. No code depends on it being `int`, therefore change it to `uint32_t` for consistency.
This commit is contained in:
parent
3c66d46007
commit
ee0963b68e
2 changed files with 3 additions and 3 deletions
|
|
@ -109,7 +109,7 @@ struct state {
|
|||
struct spa_system *data_system;
|
||||
struct spa_loop *data_loop;
|
||||
|
||||
int card_index;
|
||||
uint32_t card_index;
|
||||
struct card *card;
|
||||
snd_pcm_stream_t stream;
|
||||
snd_output_t *output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue