Changeset c16efd6ca3eea3d6bd7d9fb7a6fcaa88d9bb873f

Show
Ignore:
Timestamp:
07/13/04 13:41:21 (4 years ago)
Author:
Clément Stenac <zorglub@videolan.org>
git-committer:
Clément Stenac <zorglub@videolan.org> 1089718881 +0000
git-parent:

[421866e2f073d8ff0fa0bf90477bb120b4dd5df5]

git-author:
Clément Stenac <zorglub@videolan.org> 1089718881 +0000
Message:

Couple of fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/wxwindows/extrapanel.cpp

    rce1924e rc16efd6  
    605605    if( p_aout == NULL ) 
    606606    { 
    607         config_PutFloat( p_intf, "equalizer-preamp", 0.0 ); 
     607        vlc_value_t val; 
     608        vlc_bool_t b_previous = eq_chkbox->IsChecked(); 
     609        val.f_float = 12.0; 
     610        IntfPreampCallback( NULL, NULL, val,val, this ); 
     611        config_PutFloat( p_intf, "equalizer-preamp", 12.0 ); 
     612        val.psz_string = strdup( "0 0 0 0 0 0 0 0 0 0" ); 
     613        IntfBandsCallback( NULL, NULL, val,val, this ); 
    608614        config_PutPsz( p_intf, "equalizer-bands", 
    609                         "0 0 0 0 0 0 0 0 0 0"); 
     615                                "0 0 0 0 0 0 0 0 0 0"); 
     616        config_PutPsz( p_intf, "equalizer-preset","flat" ); 
     617        eq_chkbox->SetValue( b_previous ); 
    610618    } 
    611619    else 
     
    613621        var_SetFloat( p_aout, "equalizer-preamp", 0.0 ); 
    614622        var_SetString( p_aout, "equalizer-bands", 
    615                         "0 0 0 0 0 0 0 0 0 0"); 
     623                                "0 0 0 0 0 0 0 0 0 0"); 
     624        var_SetString( p_aout , "equalizer-preset" , "flat" ); 
    616625        vlc_object_release( p_aout ); 
    617626    } 
     
    901910                  "You must restart the stream for these settings to " 
    902911                  "take effect.\n" 
    903                   "To configure the filters, go to the Preferences, enable
    904                   "the advanced options, and go to to Modules/Video Filters. " 
     912                  "To configure the filters, go to the Preferences,
     913                  "and go to Modules/Video Filters. " 
    905914                  "You can then configure each filter.\n" 
    906915                  "If you want fine control over the filters ( to choose " 
     
    9941003    } 
    9951004    /* Vout is not kept, so put that in the config */ 
    996     //fprintf(stderr,"\nNow : %s",psz_string ); 
    9971005    config_PutPsz( p_intf, "filter", psz_string ); 
    9981006    free( psz_string ); 
     
    10521060         } 
    10531061    } 
    1054     fprintf(stderr,"\nSETTING %s\n",psz_string ); 
    10551062 
    10561063    if( p_aout == NULL )