diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2019-11-24 19:18:28 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2019-11-24 19:27:23 +0100 |
commit | 3f6cc6ddd99b790c9d527a64b41055f57501e414 (patch) | |
tree | 767b86cc08b93401cf7aa9d0f69ba1cfaee75e76 | |
parent | a276d9d65402e7dd766203dac7e5ac9ed00a0c96 (diff) | |
download | libsigrokdecode-3f6cc6ddd99b790c9d527a64b41055f57501e414.tar.gz libsigrokdecode-3f6cc6ddd99b790c9d527a64b41055f57501e414.zip |
tdm_audio: Place each channel on its own annotation row.
-rw-r--r-- | decoders/tdm_audio/pd.py | 1 |
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() |