diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-01-18 19:15:41 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-01-23 20:02:38 +0100 |
commit | e54f222c4edf55a379e5b3ad892cf671ace83e48 (patch) | |
tree | 0cf8c3e3b4b6a7f8112ed984b5c456b83c4f3a9b /decoders/mxc6225xu/pd.py | |
parent | e8ce01860673214bae97a6b793a7f55e13128dba (diff) | |
download | libsigrokdecode-e54f222c4edf55a379e5b3ad892cf671ace83e48.tar.gz libsigrokdecode-e54f222c4edf55a379e5b3ad892cf671ace83e48.zip |
i2s: Add WAV dump support, drop obsolete 'i2s_dump' PD.
The functionality of the preliminary 'i2s_dump' PD is now available
in the proper 'i2s' PD, via the OUTPUT_BINARY mechanism that frontends
can use to dump decoded data (in various formats) to a file, or pipe it
into other applications, and so on.
Old sigrok-cli example usage:
$ sigrok-cli -i 2ch-16bit-16khz.sr \
-P i2s:sck=0:ws=1:sd=2,i2s_dump:filename=foo.wav
$ aplay foo.wav
New sigrok-cli example usage:
$ sigrok-cli -i 2ch-16bit-16khz.sr \
-P i2s:sck=0:ws=1:sd=2 -B i2s=wav > foo.wav
$ aplay foo.wav
New sigrok-cli example usage (piping into other applications):
$ sigrok-cli -i 2ch-16bit-16khz.sr \
-P i2s:sck=0:ws=1:sd=2 -B i2s=wav | aplay -
Diffstat (limited to 'decoders/mxc6225xu/pd.py')
0 files changed, 0 insertions, 0 deletions