From 3f6cc6ddd99b790c9d527a64b41055f57501e414 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 24 Nov 2019 19:18:28 +0100 Subject: tdm_audio: Place each channel on its own annotation row. --- decoders/tdm_audio/pd.py | 1 + 1 file changed, 1 insertion(+) (limited to 'decoders/tdm_audio') diff --git a/decoders/tdm_audio/pd.py b/decoders/tdm_audio/pd.py index 9c57d7a..6c5869b 100644 --- a/decoders/tdm_audio/pd.py +++ b/decoders/tdm_audio/pd.py @@ -42,6 +42,7 @@ class Decoder(srd.Decoder): {'id': 'edge', 'desc': 'Clock edge to sample on', 'default': 'rising', 'values': ('rising', 'falling') } ) annotations = tuple(('ch%d' % i, 'Ch%d' % i) for i in range(MAX_CHANNELS)) + annotation_rows = tuple(('ch%d' % i, 'Ch%d' % i, (i,)) for i in range(MAX_CHANNELS)) def __init__(self): self.reset() -- cgit v1.2.3-70-g09d2