the checkbox-support parser needs to take into account the optional ALSA UCM pretags [1]:
#define PA_UCM_PRE_TAG_OUTPUT "[Out] " #define PA_UCM_PRE_TAG_INPUT "[In] "
[1] https://github.com/pulseaudio/pulseaudio/blob/master/src/modules/alsa/alsa-ucm.c#L55
The parser syntax for Port and PortWithProfile requires the following patch:
__syntax__ = ( + p.Optional('[Out] ').suppress() + + p.Optional('[In] ').suppress() + p.Word(p.alphanums + "-;").setResultsName('port-name')
the checkbox-support parser needs to take into account the optional ALSA UCM pretags [1]:
#define PA_UCM_ PRE_TAG_ OUTPUT "[Out] " PRE_TAG_ INPUT "[In] "
#define PA_UCM_
[1] https:/ /github. com/pulseaudio/ pulseaudio/ blob/master/ src/modules/ alsa/alsa- ucm.c#L55
The parser syntax for Port and PortWithProfile requires the following patch:
__syntax__ = ( sName(' port-name' )
+ p.Optional('[Out] ').suppress()
+ + p.Optional('[In] ').suppress()
+ p.Word(p.alphanums + "-;").setResult