2025-09-13 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdalsaconfig(8) that caused multiple card entries
	to appear for sound devices with more than one PCM.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2025-09-13 18:46:08 -04:00
parent 9482446a6d
commit 62c3f7e5b7
8 changed files with 50 additions and 245 deletions

View File

@@ -2,7 +2,7 @@
//
// QListBoxItem for ALSA PCM devices.
//
// (C) Copyright 2009-2021 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2009-2025 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -30,12 +30,9 @@ class AlsaItem : public QListWidgetItem
AlsaItem(const AlsaItem &item);
int cardNumber() const;
void setCardNumber(int cardnum);
int pcmNumber() const;
void setPcmNumber(int pcmnum);
private:
int alsa_card_number;
int alsa_pcm_number;
};