Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
- Hides the custom ALSA device to avoid selecting it
  • Loading branch information
GhostNaN authored Feb 25, 2020
1 parent 729269d commit 938be21
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ReVidiaGUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,9 @@ def getDevice(self, firstRun, pulseAudio=False):
defaultList.append('Default PulseAudio Input Device')

itemList = defaultList + deviceList[0]
if 'Input: revidia_capture - ALSA' in itemList: # Hide custom ALSA device
itemList.remove('Input: revidia_capture - ALSA')

if not pulseAudio:
device, ok = QInputDialog.getItem(self, "ReVidia", "Select Audio Device:", itemList, 0, False)
else: # Auto select PulseAudio
Expand Down

0 comments on commit 938be21

Please sign in to comment.