Changeset 377df083e1149b4c9c545485b458034a7b9bf2ee

Show
Ignore:
Timestamp:
24/07/04 13:12:39 (4 years ago)
Author:
Laurent Aimar <fenrir@videolan.org>
git-committer:
Laurent Aimar <fenrir@videolan.org> 1090667559 +0000
git-parent:

[58b6fda7c58cc44d1d309e6c192087d96ea9679a]

git-author:
Laurent Aimar <fenrir@videolan.org> 1090667559 +0000
Message:
  • equalizer : [0] isn't cool, use a define.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/audio_filter/equalizer.c

    r3a4997f r377df08  
    9292 * Local prototypes 
    9393 *****************************************************************************/ 
    94  
     94#define EQZ_BANDS_MAX 10 
    9595typedef struct aout_filter_sys_t 
    9696{ 
     
    211211        float f_beta; 
    212212        float f_gamma; 
    213     } band[0]; 
     213    } band[EQZ_BANDS_MAX]; 
    214214 
    215215} eqz_config_t; 
     
    254254    int  i_band; 
    255255    float f_preamp; 
    256     float f_amp[0]; 
     256    float f_amp[EQZ_BANDS_MAX]; 
    257257} eqz_preset_t; 
    258258