Ignore:
Timestamp:
09/16/08 00:58:42 (5 years ago)
Author:
reyalp
Message:

merged old-trunk 491:502. russian.lng not updated, since it is very out of date in this tree already.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platform/generic/wrappers.c

    r479 r514  
    596596#endif 
    597597 
    598 #if CAM_CAN_MUTE_MICROPHONE 
    599598int mute_on_zoom(int x){ 
    600599 static int old_busy=0; 
    601600 int busy=zoom_busy||focus_busy; 
    602  if (conf.mute_on_zoom && (old_busy!=busy)) { 
    603   if (busy) _TurnOffMic(); else _TurnOnMic(); 
     601 if (old_busy!=busy) { 
     602  if (busy) { 
     603#if CAM_CAN_MUTE_MICROPHONE 
     604   if (conf.mute_on_zoom) _TurnOffMic(); 
     605#endif 
     606   } 
     607   else { 
     608#if CAM_CAN_MUTE_MICROPHONE 
     609  if (conf.mute_on_zoom) _TurnOnMic(); 
     610#endif 
     611#if CAM_EV_IN_VIDEO 
     612  if (get_ev_video_avail()) set_ev_video_avail(0); 
     613#endif 
     614  } 
    604615  old_busy=busy; 
    605616 } 
    606617 return x; // preserve R0 if called from assembler 
    607618} 
    608 #endif 
    609  
    610619 
    611620 
Note: See TracChangeset for help on using the changeset viewer.