[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r10631: Modify types to keep older g
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r10631: Modify types to keep older gcc (3.4) happy. Partly fixes OpenSolaris build. |
Date: |
Thu, 26 Feb 2009 16:40:13 +0100 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 10631
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Thu 2009-02-26 16:40:13 +0100
message:
Modify types to keep older gcc (3.4) happy. Partly fixes OpenSolaris build.
modified:
libmedia/AudioDecoderSpeex.cpp
=== modified file 'libmedia/AudioDecoderSpeex.cpp'
--- a/libmedia/AudioDecoderSpeex.cpp 2009-02-25 22:33:03 +0000
+++ b/libmedia/AudioDecoderSpeex.cpp 2009-02-26 15:40:13 +0000
@@ -53,7 +53,7 @@
throw MediaException(_("AudioDecoderSpeex: initialization failed."));
}
- boost::uint32_t num = 0, den = 0;
+ spx_uint32_t num = 0, den = 0;
speex_resampler_get_ratio (_resampler, &num, &den);
assert(num && den);
@@ -111,14 +111,14 @@
break;
}
- boost::uint32_t conv_size = 0;
+ spx_uint32_t conv_size = 0;
boost::int16_t* conv_data = 0;
#ifdef RESAMPLING_SPEEX
conv_data = new boost::int16_t[_target_frame_size];
memset(conv_data, 0, _target_frame_size * 2);
- boost::uint32_t in_size = _speex_framesize;
+ spx_uint32_t in_size = _speex_framesize;
// Our input format is mono and we want to expand to stereo. Speex
// won't do this for us, but we can ask it to skip a sample after
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r10631: Modify types to keep older gcc (3.4) happy. Partly fixes OpenSolaris build.,
Benjamin Wolsey <=