Changeset 2007 for pjproject/trunk/pjmedia/src/pjmedia/dsound.c
- Timestamp:
- Jun 12, 2008 12:48:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/dsound.c
r1422 r2007 60 60 static int snd_init_count; 61 61 62 /* Latency settings */ 63 static unsigned snd_input_latency = PJMEDIA_SND_DEFAULT_REC_LATENCY; 64 static unsigned snd_output_latency = PJMEDIA_SND_DEFAULT_PLAY_LATENCY; 65 62 66 63 67 /* Individual DirectSound capture/playback stream descriptor */ … … 987 991 988 992 993 /* 994 * Set sound latency. 995 */ 996 PJ_DEF(pj_status_t) pjmedia_snd_set_latency(unsigned input_latency, 997 unsigned output_latency) 998 { 999 PJ_TODO(APPLY_LATENCY_SETTINGS_ON_DSOUND); 1000 1001 snd_input_latency = (input_latency == 0)? 1002 PJMEDIA_SND_DEFAULT_REC_LATENCY : input_latency; 1003 snd_output_latency = (output_latency == 0)? 1004 PJMEDIA_SND_DEFAULT_PLAY_LATENCY : output_latency; 1005 1006 return PJ_SUCCESS; 1007 } 1008 989 1009 #endif /* PJMEDIA_SOUND_IMPLEMENTATION */ 990 1010
Note: See TracChangeset
for help on using the changeset viewer.