Changeset 14275baf39c03cdb75faf38ba25ed1d31191609c

Show
Ignore:
Timestamp:
14/01/07 13:40:05 (2 years ago)
Author:
Felix Paul Kühne <fkuehne@videolan.org>
git-committer:
Felix Paul Kühne <fkuehne@videolan.org> 1168778405 +0000
git-parent:

[41fc10b74fd7f26526ddabd72673bec7fa658d4c]

git-author:
Felix Paul Kühne <fkuehne@videolan.org> 1168778405 +0000
Message:

* design change: the current volume is automatically stored on quit now and restored on first playback of the next run, similar to other major media players (closes #989)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/macosx/intf.m

    ra7d57cd r14275ba  
    15291529    playlist_t * p_playlist; 
    15301530    vout_thread_t * p_vout; 
     1531    int returnedValue = 0; 
    15311532 
    15321533#define p_input p_intf->p_sys->p_input 
     
    15551556    } 
    15561557    msleep( 500000 ); 
     1558     
     1559    /* make sure that the current volume is saved */ 
     1560    config_PutInt( p_intf->p_libvlc, "volume", i_lastShownVolume ); 
     1561    returnedValue = config_SaveConfigFile( p_intf->p_libvlc, "main" ); 
     1562    if( returnedValue != 0 ) 
     1563        msg_Err( p_intf,  
     1564                 "error while saving volume in osx's terminate method (%i)", 
     1565                 returnedValue ); 
    15571566 
    15581567    /* save the prefs if they were changed in the extended panel */