Contents of /trunk/libmustux/patches/libmustux-0.20.2-gcc4.patch
Parent Directory | Revision Log
Revision 144 -
(show annotations)
(download)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 1547 byte(s)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 1547 byte(s)
-import
1 | --- libmustux-0.20.2/MustuxAudioDeviceMapper.hh 2003-10-31 20:41:47.000000000 +0000 |
2 | +++ libmustux-0.20.2-gcc4/MustuxAudioDeviceMapper.hh 2005-10-25 11:18:10.000000000 +0000 |
3 | @@ -160,7 +160,7 @@ |
4 | int find_bus_out(int rate, int bitDepth, int channels); |
5 | int find_bus_in(int rate, int bitDepth, int channels); |
6 | |
7 | - snd_pcm_format_t MustuxAudioDeviceMapper::get_format(int bitDepht); |
8 | + snd_pcm_format_t get_format(int bitDepht); |
9 | }; |
10 | |
11 | #include "MustuxAudioBus.hh" |
12 | --- libmustux-0.20.2/MustuxFft.hh 2003-10-06 18:14:11.000000000 +0000 |
13 | +++ libmustux-0.20.2-gcc4/MustuxFft.hh 2005-10-25 11:25:23.000000000 +0000 |
14 | @@ -12,7 +12,7 @@ |
15 | { |
16 | public : |
17 | |
18 | - static const float NORMALIZATION_FACTOR = 50.0; // EMPIRIC.. FOR A STATIC 440 SINOIDE WAVE WITH MAX APLITUDE , THE POWER SPECTRUM WAS 8800. This way, it becomes 100 in the normalization. |
19 | +// const float NORMALIZATION_FACTOR = 50.0; // EMPIRIC.. FOR A STATIC 440 SINOIDE WAVE WITH MAX APLITUDE , THE POWER SPECTRUM WAS 8800. This way, it becomes 100 in the normalization. |
20 | |
21 | MustuxFft(int pSize, int pWinType = 1, int pSampleRate=44100); |
22 | ~MustuxFft(); |
23 | --- libmustux-0.20.2/MustuxFft.cc 2003-10-06 18:14:11.000000000 +0000 |
24 | +++ libmustux-0.20.2-gcc4/MustuxFft.cc 2005-10-25 11:24:25.000000000 +0000 |
25 | @@ -13,7 +13,7 @@ |
26 | #include <math.h> |
27 | #include <stdio.h> |
28 | |
29 | - |
30 | +static const float NORMALIZATION_FACTOR = 50.0; |
31 | |
32 | unsigned MustuxFft::numberOfBitsNeeded ( unsigned param ) |
33 | { |