Changeset c16efd6ca3eea3d6bd7d9fb7a6fcaa88d9bb873f
- 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
| rce1924e |
rc16efd6 |
|
| 605 | 605 | if( p_aout == NULL ) |
|---|
| 606 | 606 | { |
|---|
| 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 ); |
|---|
| 608 | 614 | 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 ); |
|---|
| 610 | 618 | } |
|---|
| 611 | 619 | else |
|---|
| … | … | |
| 613 | 621 | var_SetFloat( p_aout, "equalizer-preamp", 0.0 ); |
|---|
| 614 | 622 | 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" ); |
|---|
| 616 | 625 | vlc_object_release( p_aout ); |
|---|
| 617 | 626 | } |
|---|
| … | … | |
| 901 | 910 | "You must restart the stream for these settings to " |
|---|
| 902 | 911 | "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. " |
|---|
| 905 | 914 | "You can then configure each filter.\n" |
|---|
| 906 | 915 | "If you want fine control over the filters ( to choose " |
|---|
| … | … | |
| 994 | 1003 | } |
|---|
| 995 | 1004 | /* Vout is not kept, so put that in the config */ |
|---|
| 996 | | //fprintf(stderr,"\nNow : %s",psz_string ); |
|---|
| 997 | 1005 | config_PutPsz( p_intf, "filter", psz_string ); |
|---|
| 998 | 1006 | free( psz_string ); |
|---|
| … | … | |
| 1052 | 1060 | } |
|---|
| 1053 | 1061 | } |
|---|
| 1054 | | fprintf(stderr,"\nSETTING %s\n",psz_string ); |
|---|
| 1055 | 1062 | |
|---|
| 1056 | 1063 | if( p_aout == NULL ) |
|---|