Changeset 982:05f1be351ac0 in roaraudio for roard/loop.c


Ignore:
Timestamp:
12/17/08 21:14:07 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

quit if a primary output stream can not be inited, changed change of g_pos to be the same as for streams

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/loop.c

    r920 r982  
    4040 
    4141 ROAR_DBG("main_loop(*) = ?"); 
    42  alive = 1; 
     42// alive = 1; 
    4343 g_pos = 0; 
    4444 
     
    9494//  output_buffer_reinit(); 
    9595 
    96   g_pos = ROAR_MATH_OVERFLOW_ADD(g_pos, ROAR_OUTPUT_BUFFER_SAMPLES); 
     96  g_pos = ROAR_MATH_OVERFLOW_ADD(g_pos, ROAR_OUTPUT_BUFFER_SAMPLES*g_sa->channels); 
    9797  ROAR_DBG("main_loop(*): current pos: %u", g_pos); 
    9898#ifdef MONITOR_LATENCY 
Note: See TracChangeset for help on using the changeset viewer.