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