~ubuntu-branches/ubuntu/trusty/emscripten/trusty-proposed

« back to all changes in this revision

Viewing changes to tests/openal_buffers.c

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2014-01-19 14:12:40 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20140119141240-jg1l42cc158j59tn
Tags: 1.9.0~20140119~7dc8c2f-1
* New snapshot release (Closes: #733714)
* Provide sources for javascript and flash. Done in orig-tar.sh
  Available in third_party/websockify/include/web-socket-js/src/
  (Closes: #735903)

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
ALenum format = 0;
27
27
ALuint source = 0;
28
28
 
29
 
void iter(void *arg) {
 
29
void iter() {
30
30
  ALuint buffer = 0;
31
31
  ALint buffersProcessed = 0;
32
32
  ALint buffersWereQueued = 0;
180
180
  emscripten_set_main_loop(iter, 0, 0);
181
181
#else
182
182
  while (1) {
183
 
    iter(NULL);
 
183
    iter();
184
184
    usleep(16);
185
185
  }
186
186
#endif