remotion of some c++ includes to avoid dependency on libstdc++
This commit is contained in:
parent
3013a83f2f
commit
83b69f8fef
3 changed files with 10 additions and 6 deletions
|
@ -20,7 +20,8 @@
|
||||||
#define B2GLUE_H
|
#define B2GLUE_H
|
||||||
|
|
||||||
#include "math_2d.h"
|
#include "math_2d.h"
|
||||||
#include <limits>
|
#include <limits.h>
|
||||||
|
|
||||||
namespace b2ConvexDecomp {
|
namespace b2ConvexDecomp {
|
||||||
|
|
||||||
typedef real_t float32;
|
typedef real_t float32;
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include "b2Triangle.h"
|
#include "b2Triangle.h"
|
||||||
#include "stdio.h"
|
#include "stdio.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <limits>
|
#include <limits.h>
|
||||||
namespace b2ConvexDecomp {
|
namespace b2ConvexDecomp {
|
||||||
|
|
||||||
static bool B2_POLYGON_REPORT_ERRORS = false;
|
static bool B2_POLYGON_REPORT_ERRORS = false;
|
||||||
|
|
|
@ -626,11 +626,14 @@ void AudioServerJavascript::finish(){
|
||||||
}
|
}
|
||||||
void AudioServerJavascript::update(){
|
void AudioServerJavascript::update(){
|
||||||
|
|
||||||
for(List<Stream*>::Element *E=active_audio_streams.front();E;E=E->next()) {
|
for(List<Stream*>::Element *E=active_audio_streams.front();E;) { //stream might be removed durnig this callback
|
||||||
|
|
||||||
if (E->get()->audio_stream ) {
|
List<Stream*>::Element *N=E->next();
|
||||||
|
|
||||||
|
if (E->get()->audio_stream)
|
||||||
E->get()->audio_stream->update();
|
E->get()->audio_stream->update();
|
||||||
}
|
|
||||||
|
E=N;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -653,7 +656,7 @@ int AudioServerJavascript::get_default_mix_rate() const{
|
||||||
|
|
||||||
void AudioServerJavascript::set_stream_global_volume_scale(float p_volume){
|
void AudioServerJavascript::set_stream_global_volume_scale(float p_volume){
|
||||||
|
|
||||||
|
stream_volume_scale=p_volume;
|
||||||
}
|
}
|
||||||
void AudioServerJavascript::set_fx_global_volume_scale(float p_volume){
|
void AudioServerJavascript::set_fx_global_volume_scale(float p_volume){
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue