[PATCH]ccaudio2-0.9.10-speex-1.1.12.patch

"Zhang Le" <[email protected]> Mon, 28 Aug 2006 17:59:13 +0800
Newsgroups gmane.comp.gnu.ccaudio.devel
Message-ID <[email protected]>
--===============1783387926==
Content-Type: multipart/alternative; 
	boundary="----=_Part_223928_7033872.1156759153748"

------=_Part_223928_7033872.1156759153748
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

After there is a header file change from speex 1.1.11.1 to 1.1.12.
as a consequence, the following patch is needed to compile
ccaudio2-0.9.10against
speex-1.1.12

--- codecs/speex.cpp.orig       2006-08-21 18:55:59.000000000 +0800
+++ codecs/speex.cpp    2006-08-21 18:56:06.000000000 +0800
@@ -48,7 +48,7 @@
 class SpeexCommon: public AudioCodec
 {
 protected:
-       SpeexMode *spx_mode;
+       const SpeexMode *spx_mode;
        SpeexBits enc_bits, dec_bits;
        unsigned int spx_clock, spx_channel;
        void *encoder, *decoder;


-- 
Zhang Le, Robert
Linux Engineer/Trainer
http://zhllg.blogspot.com
http://zh.gentoo-wiki.com
http://savannah.nongnu.org/projects/pgubook
http://groups.google.com/group/gentoo-china
http://groups.google.com/group/szlug

------=_Part_223928_7033872.1156759153748
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

After there is a header file change from speex <a href="http://1.1.11.1">1.1.11.1</a> to 1.1.12.<br>as a consequence, the following patch is needed to compile ccaudio2-0.9.10 against speex-1.1.12<br><br>--- codecs/speex.cpp.orig&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2006-08-21 18:55:
59.000000000 +0800<br>+++ codecs/speex.cpp&nbsp;&nbsp;&nbsp; 2006-08-21 18:56:06.000000000 +0800<br>@@ -48,7 +48,7 @@<br>&nbsp;class SpeexCommon: public AudioCodec<br>&nbsp;{<br>&nbsp;protected:<br>-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SpeexMode *spx_mode;<br>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; const SpeexMode *spx_mode;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SpeexBits enc_bits, dec_bits;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unsigned int spx_clock, spx_channel;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; void *encoder, *decoder;<br><br clear="all"><br>-- <br>Zhang Le, Robert<br>Linux Engineer/Trainer<br><a href="http://zhllg.blogspot.com">
http://zhllg.blogspot.com</a><br><a href="http://zh.gentoo-wiki.com">http://zh.gentoo-wiki.com</a><br><a href="http://savannah.nongnu.org/projects/pgubook">http://savannah.nongnu.org/projects/pgubook</a><br><a href="http://groups.google.com/group/gentoo-china">
http://groups.google.com/group/gentoo-china</a><br><a href="http://groups.google.com/group/szlug">http://groups.google.com/group/szlug</a>

------=_Part_223928_7033872.1156759153748--



--===============1783387926==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ccaudio-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ccaudio-devel

--===============1783387926==--