~ubuntu-branches/ubuntu/quantal/vice/quantal

« back to all changes in this revision

Viewing changes to src/sounddrv/soundwmm.c

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2009-03-31 00:37:15 UTC
  • mfrom: (1.1.7 upstream) (9.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090331003715-i5yisvcfv7mgz3eh
Tags: 2.1.dfsg-1
* New major upstream release (closes: #495937).
* Add desktop files (closes: #501181).

Show diffs side-by-side

added added

removed removed

Lines of Context:
435
435
 
436
436
        /* Wait until enough free space in the circular buffer */
437
437
        freebufspace = (play_cursor - write_cursor);
438
 
        if (freebufspace < 0)
439
 
            freebufspace += buffer_size;
440
438
        if (freebufspace >= worktodo)
441
439
            break;
442
440
        /* Also break out of loop if buffer stops playing */