Changeset 372 for pjproject/trunk


Ignore:
Timestamp:
Apr 3, 2006 10:01:27 AM (19 years ago)
Author:
bennylp
Message:

Added some flags during playback buffer creation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/dsound.c

    r371 r372  
    159159    pj_memset(&dsbdesc, 0, sizeof(DSBUFFERDESC));  
    160160    dsbdesc.dwSize = sizeof(DSBUFFERDESC);  
    161     dsbdesc.dwFlags = DSBCAPS_CTRLVOLUME | DSBCAPS_CTRLPOSITIONNOTIFY; 
    162     /* DSBCAPS_GETCURRENTPOSITION2 */ 
     161    dsbdesc.dwFlags = DSBCAPS_CTRLVOLUME | DSBCAPS_CTRLPOSITIONNOTIFY | 
     162                      DSBCAPS_GETCURRENTPOSITION2 | DSBCAPS_GLOBALFOCUS; 
    163163 
    164164    dsbdesc.dwBufferBytes = buffer_count * bytes_per_frame; 
Note: See TracChangeset for help on using the changeset viewer.