|
|
@ -682,7 +682,7 @@ class VariableOsAudioData(ReadonlyTableVariable):
|
|
|
|
aplay = getProgPath('/usr/bin/aplay')
|
|
|
|
aplay = getProgPath('/usr/bin/aplay')
|
|
|
|
if not aplay:
|
|
|
|
if not aplay:
|
|
|
|
return [[]]
|
|
|
|
return [[]]
|
|
|
|
entry = re.compile('^card (\d+): ([^,]+)')
|
|
|
|
entry = re.compile('^card (\d+): ([^:]+)')
|
|
|
|
return tuple(map(lambda x:x.groups(),
|
|
|
|
return tuple(map(lambda x:x.groups(),
|
|
|
|
filter(None,map(entry.search,
|
|
|
|
filter(None,map(entry.search,
|
|
|
|
process(aplay,'-l')))))
|
|
|
|
process(aplay,'-l')))))
|
|
|
|