summaryrefslogtreecommitdiff
path: root/decoders/i2s_dump/__init__.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2013-10-13 17:30:32 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2013-10-13 17:32:20 +0200
commitf54ffe555c7be3cc674833953fd5d8aba1a88e17 (patch)
tree71c9900ec737dc1dc2baf047ef8436a16078ac0f /decoders/i2s_dump/__init__.py
parent7fb4935edde881272fabdeda83f554bcf150689f (diff)
downloadlibsigrokdecode-f54ffe555c7be3cc674833953fd5d8aba1a88e17.tar.gz
libsigrokdecode-f54ffe555c7be3cc674833953fd5d8aba1a88e17.zip
Add new i2s_dump protocol decoder.
This stacks of top of the 'i2s' decoder and outputs the audio data to file (or stdout) in various formats. Currently only WAV is supported. This is work in progress, it has various hard-coded assumptions.
Diffstat (limited to 'decoders/i2s_dump/__init__.py')
-rw-r--r--decoders/i2s_dump/__init__.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/decoders/i2s_dump/__init__.py b/decoders/i2s_dump/__init__.py
new file mode 100644
index 0000000..6b24953
--- /dev/null
+++ b/decoders/i2s_dump/__init__.py
@@ -0,0 +1,26 @@
+##
+## This file is part of the libsigrokdecode project.
+##
+## Copyright (C) 2013 Uwe Hermann <uwe@hermann-uwe.de>
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+##
+
+'''
+TODO.
+'''
+
+from .pd import *
+