--- jokosher-0.11.3/Jokosher/Project.py.old 2009-06-10 15:59:09.386485000 +0800
+++ jokosher-0.11.3/Jokosher/Project.py 2009-06-10 16:02:13.067000000 +0800
@@ -150,7 +150,7 @@
#Restrict adder's output caps due to adder bug 341431
self.levelElementCaps = gst.element_factory_make("capsfilter", "levelcaps")
- capsString = "audio/x-raw-float,rate=44100,channels=2,width=32,endianness=1234"
+ capsString = "audio/x-raw-float,rate=44100,channels=2,width=32,endianness=(int)BYTE_ORDER"
caps = gst.caps_from_string(capsString)
self.levelElementCaps.set_property("caps", caps)
--- jokosher-0.11.3/Jokosher/Instrument.py.old 2009-06-10 15:59:28.786075000 +0800
+++ jokosher-0.11.3/Jokosher/Instrument.py 2009-06-10 16:02:45.597229000 +0800
@@ -45,7 +45,7 @@
This current must be audio/x-raw-float to prevent static from occuring
when adding LADSPA effects while playing.
"""
- LADSPA_ELEMENT_CAPS = "audio/x-raw-float, width=(int)32, rate=(int)[ 1, 2147483647 ], channels=(int)1, endianness=(int)1234"
+ LADSPA_ELEMENT_CAPS = "audio/x-raw-float, width=(int)32, rate=(int)[ 1, 2147483647 ], channels=(int)1, endianness=(int)BYTE_ORDER"
"""
Signals: