Skip to content

Commit 0ee7c15

Browse files
authored
Merge pull request #57 from hifiberry/dev
Merge dev into master for version 0.21
2 parents b9605eb + b4e96d3 commit 0ee7c15

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

hifiberrydsp/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "0.20"
2-
_called_from_test = False
1+
__version__ = "0.21"
2+
_called_from_test = False

hifiberrydsp/parser/rew.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def readfilters(filename, fs=48000):
4646
fc = float(parts[5])
4747
gain = float(parts[8])
4848
q = float(parts[11])
49-
logging.info("Filter EQ fc=%s, q=%s, gaion=%s, fs=%s",
49+
logging.info("Filter EQ fc=%s, q=%s, gain=%s, fs=%s",
5050
fc, q, gain, fs)
5151
filters.append(
5252
Biquad.peaking_eq(fc, q, gain, fs))
@@ -109,7 +109,7 @@ def readfilters(filename, fs=48000):
109109
parts[4] == "Fc" and parts[6] == "Hz":
110110
fc = float(parts[5])
111111
q = 0.707
112-
logging.info("Filter NO fc=%s", fc, db)
112+
logging.info("Filter NO fc=%s q=%s", fc, q)
113113
filters.append(
114114
Biquad.notch(fc, q, fs))
115115

hifiberrydsp/parser/xmlprofile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def read_from_file(self, filename):
142142
logging.info("reading profile %s", filename)
143143
try:
144144
with open(filename) as fd:
145-
self.doc = xmltodict.parse(fd.read())
145+
self.doc = xmltodict.parse(fd.read(), dict_constructor=OrderedDict)
146146
except IOError:
147147
logging.error("can't read file %s", filename)
148148
return

0 commit comments

Comments
 (0)