Rev 298 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 298 | Rev 300 | ||
---|---|---|---|
Line 550... | Line 550... | ||
550 | // Wait till all pending sounds are finished. |
550 | // Wait till all pending sounds are finished. |
551 | int done = 0; |
551 | int done = 0; |
552 | int i; |
552 | int i; |
Line 553... | Line 553... | ||
553 | 553 | ||
554 | // FIXME (below). |
554 | // FIXME (below). |
Line 555... | Line 555... | ||
555 | printf( stderr, "I_ShutdownSound: NOT finishing pending sounds\n"); |
555 | printf( "I_ShutdownSound: NOT finishing pending sounds\n"); |
556 | 556 | ||
557 | while ( !done ) |
557 | while ( !done ) |
Line 566... | Line 566... | ||
566 | } |
566 | } |
Line 567... | Line 567... | ||
567 | 567 | ||
568 | void I_InitSound() |
568 | void I_InitSound() |
Line 569... | Line 569... | ||
569 | { int i; |
569 | { int i; |
Line 570... | Line 570... | ||
570 | 570 | ||
571 | printf( stderr, "I_InitSound: "); |
571 | printf("I_InitSound: "); |
572 | 572 | ||
573 | for (i=1 ; i |
573 | for (i=1 ; i |
Line 584... | Line 584... | ||
584 | S_sfx[i].data = S_sfx[i].link->data; |
584 | S_sfx[i].data = S_sfx[i].link->data; |
585 | lengths[i] = lengths[(S_sfx[i].link - S_sfx)/sizeof(sfxinfo_t)]; |
585 | lengths[i] = lengths[(S_sfx[i].link - S_sfx)/sizeof(sfxinfo_t)]; |
586 | } |
586 | } |
587 | } |
587 | } |
Line 588... | Line 588... | ||
588 | 588 | ||
Line 589... | Line 589... | ||
589 | printf( stderr, " pre-cached all sound data\n"); |
589 | printf( " pre-cached all sound data\n"); |
590 | 590 | ||
591 | // Now initialize mixbuffer with zero. |
591 | // Now initialize mixbuffer with zero. |
Line 592... | Line 592... | ||
592 | for ( i = 0; i< MIXBUFFERSIZE; i++ ) |
592 | for ( i = 0; i< MIXBUFFERSIZE; i++ ) |
593 | mixbuffer[i] = 0; |
593 | mixbuffer[i] = 0; |
Line 594... | Line 594... | ||
594 | 594 | ||
Line 595... | Line 595... | ||
595 | // Finished initialization. |
595 | // Finished initialization. |