#include "ktypes.h"
#include "KXml.h"
Defines | |
| #define | IKX_DFLAG_EQUAL "EQUAL" |
| Flags used for the import/export of equalization structures under XML format. | |
| #define | IKX_DFLAG_EQUAL_NB_FREQ "NBFREQ" |
| Flags used for the import/export of equalization structures under XML format. | |
| #define | IKX_DFLAG_EQUAL_INTERPOLATION "INTERPOL" |
| Flags used for the import/export of equalization structures under XML format. | |
| #define | IKX_DFLAG_EQUAL_FREQ "FREQ" |
| Flags used for the import/export of equalization structures under XML format. | |
| #define | IKX_DFLAG_EQUAL_AMPL "AMPL" |
| Flags used for the import/export of equalization structures under XML format. | |
| #define | KEqual_setAmplAt(kEqual, a, i) KEqual_setAmplitudeAt(kEqual, KEqual_getFreqAt (kEqual, i), a, i) |
| Adds or modifies an amplitude. | |
Typedefs | |
| typedef _KEqualization | KEqual |
| Equalization structure. | |
Functions | |
| KTL_API KEqual * | KEqual_new () |
| Creates an equalization structure. | |
| KTL_API void | KEqual_delete (KEqual **object) |
| Deletes an equalization structure. | |
| KTL_API void | KEqual_init (KEqual *object) |
| Initializes an equalization structure. | |
| KTL_API KBool | KEqual_check (KEqual *object) |
| Verifies the efficiency of the equalization structure. | |
| KTL_API KBool | KEqual_isEqual (KEqual *pEqual1, KEqual *pEqual2) |
| Checks if the two equalization structures are equal. | |
| KTL_API KDouble | KEqual_getAmplAt (KEqual *kEqual, KInt idx) |
| Gets the amplitude that corresponds to a particular index. | |
| KTL_API KXml * | KEqual_exportToXml (KEqual *kEqual) |
| Exports an equalization structure under an XML format. | |
| KTL_API KEqual * | KEqual_extractFromXml (KXml *xo) |
| Initializes an equalization structure from an XML structure. | |
| KTL_API KEqual * | KEqual_clone (KEqual *kEqual) |
| Clones an equalization structure. | |
| KTL_API KEqual * | KEqual_copy (KEqual *dst, KEqual *src) |
| Copies an equalization structure in another allocated equalization structure. | |
| KTL_API void | KEqual_print (KEqual *kequal) |
| Prints an equalization structure on the standard output. | |
| KTL_API KEqual * | KEqual_initAmplitudes (KDouble *freq, KDouble *amp, KInt n) |
| Creates an equalization structure. | |
| KTL_API KBool | KEqual_setAmplitude (KEqual *kEqual, KDouble freq, KDouble ampl) |
| Modifies or adds an amplitude for a given frequency in an equalization structure. | |
| KTL_API KBool | KEqual_setAmplitudeAt (KEqual *kEqual, KDouble freq, KDouble ampl, KInt32 idx) |
| Adds or modifies an amplitude. | |
| KTL_API KBool | KEqual_eraseFreq (KEqual *kEqual, KDouble freq) |
| Deletes the amplitude corresponding to a frequency. | |
| KTL_API KBool | KEqual_removeAmplAt (KEqual *kEqual, KInt idx) |
| Deletes both amplitude and frequency correponding to the given index. | |
| KTL_API KInt | KEqual_getNbFreq (KEqual *kEqual) |
| Gets the frequency number. | |
| KTL_API KDouble | KEqual_getFreqAt (KEqual *kEqual, KInt idx) |
| Obtains the frequency corresponding to a given index. | |
| KTL_API KDouble | KEqual_getAmplitude (KEqual *kEqual, KDouble freq) |
| Obtains the amplitude corresponding to the given frequency. | |
| KTL_API KEqual * | KEqual_getTotalEqual (KEqual *kEqual, KDouble minFreq, KDouble maxFreq, KInt nValues) |
| Gets several amplitudes corresponding to several frequencies. | |
|
|
Adds or modifies an amplitude. Adds or modifies the amplitude that corresponds to the frequency where index is given as a parameter. If the index is greater than the number of frequency then the couple frequency amplitude is added to the structure
|
|
|
Verifies the efficiency of the equalization structure.
|
|
|
Clones an equalization structure.
|
|
||||||||||||
|
Copies an equalization structure in another allocated equalization structure.
|
|
|
Deletes an equalization structure.
|
|
||||||||||||
|
Deletes the amplitude corresponding to a frequency.
|
|
|
Exports an equalization structure under an XML format.
|
|
|
Initializes an equalization structure from an XML structure.
|
|
||||||||||||
|
Gets the amplitude that corresponds to a particular index.
|
|
||||||||||||
|
Obtains the amplitude corresponding to the given frequency. If necessary, an interpolation is computed in order to find the correcg amplitude
|
|
||||||||||||
|
Obtains the frequency corresponding to a given index.
|
|
|
Gets the frequency number.
|
|
||||||||||||||||||||
|
Gets several amplitudes corresponding to several frequencies. The function computes and returns amplitudes from a number of given frequencies defined by a minimum frequency and a maximum one
|
|
|
Initializes an equalization structure.
|
|
||||||||||||||||
|
Creates an equalization structure.
|
|
||||||||||||
|
Checks if the two equalization structures are equal.
|
|
|
Creates an equalization structure.
|
|
|
Prints an equalization structure on the standard output.
|
|
||||||||||||
|
Deletes both amplitude and frequency correponding to the given index.
|
|
||||||||||||||||
|
Modifies or adds an amplitude for a given frequency in an equalization structure. If the frequency does not exist, it is added to the structure...
|
|
||||||||||||||||||||
|
Adds or modifies an amplitude. Adds or modifies the amplitude that corresponds to the frequency where index is given as a parameter. If the index is greater than the number of frequency then the couple frequency amplitude is added to the structure
|
1.3.8