summaryrefslogtreecommitdiffstats
path: root/alsa-binding
diff options
context:
space:
mode:
Diffstat (limited to 'alsa-binding')
-rw-r--r--alsa-binding/Alsa-SetGet.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/alsa-binding/Alsa-SetGet.c b/alsa-binding/Alsa-SetGet.c
index 494c694..19b2164 100644
--- a/alsa-binding/Alsa-SetGet.c
+++ b/alsa-binding/Alsa-SetGet.c
@@ -736,8 +736,13 @@ STATIC json_object *getDeviceInfo(int card, int device)
// Retrieve info for one given card
STATIC json_object *alsaCardProbe(queryCardInfo *queryInfo) {
- int cardToProbe = NO_CARD_SELECTED, playbackDeviceToProbe, multipleCardToCheck, isCardCorresponding, isDeviceCorresponding;
- unsigned int searchingForDevice = 1, correspondingCard = NO_CARD_SELECTED;
+ int cardToProbe = NO_CARD_SELECTED,
+ correspondingCard = NO_CARD_SELECTED,
+ playbackDeviceToProbe,
+ multipleCardToCheck,
+ isCardCorresponding,
+ isDeviceCorresponding;
+ unsigned int searchingForDevice = 1;
json_object *correspondingCardJ, *correspondingDeviceJ = NULL, *correspondingCardAndDeviceJ, *toReturnJ;