summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-11-24 19:18:28 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2019-11-24 19:27:23 +0100
commit3f6cc6ddd99b790c9d527a64b41055f57501e414 (patch)
tree767b86cc08b93401cf7aa9d0f69ba1cfaee75e76
parenta276d9d65402e7dd766203dac7e5ac9ed00a0c96 (diff)
downloadlibsigrokdecode-3f6cc6ddd99b790c9d527a64b41055f57501e414.tar.gz
libsigrokdecode-3f6cc6ddd99b790c9d527a64b41055f57501e414.zip
tdm_audio: Place each channel on its own annotation row.
-rw-r--r--decoders/tdm_audio/pd.py1
1 files changed, 1 insertions, 0 deletions
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()