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:
Barnabás Pőcze 2021-12-20 19:20:38 +01:00
parent 3c66d46007
commit ee0963b68e
2 changed files with 3 additions and 3 deletions

View file

@ -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;