Alex Romosan wrote:
> Hans Janssen <handigehan...@gmail.com> writes:
> 
>> After this patch Flightgear gives me a compile error,
>>
>> ATCVoice.cxx: In member function �bool FGATCVoice::LoadVoice(const 
>> std::string&)�:
>> ATCVoice.cxx:77: error: no matching function for call to 
>> �SGSoundMgr::load(std::string&, void**, int*, unsigned int*, int*)�
>> /home/hans/flightgear/build/devel/include/simgear/sound/soundmgr_openal.hxx:259:
>>  
>> note: candidates are: bool SGSoundMgr::load(std::string&, void**, int*, 
>> size_t*, int*)
> 
> this patch should fix it:
> 
> --- src/ATCDCL/ATCVoice.hxx     18 Sep 2009 15:27:25 -0000      1.5
> +++ src/ATCDCL/ATCVoice.hxx     17 Oct 2009 14:45:53 -0000
> @@ -56,7 +56,7 @@
>  
>         // the sound and word position data
>         char* rawSoundData;
> -       unsigned int rawDataSize;
> +       size_t rawDataSize;
>          SGSoundSample *SoundData;
>  
>         // A map of words vs. byte position and length in rawSoundData
> 
> --alex--
> 

Ha, i was just building it with that same fix when i read your message 
and i can confirm that it works.

But sound is stil not working.

Hans

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to