274 |
vcf_type_bandreject = 0x03 |
vcf_type_bandreject = 0x03 |
275 |
} vcf_type_t; |
} vcf_type_t; |
276 |
|
|
277 |
/** Defines the envelope of a crossfade. */ |
/** |
278 |
|
* Defines the envelope of a crossfade. |
279 |
|
* |
280 |
|
* Note: The default value for crossfade points is 0,0,0,0. Layers with |
281 |
|
* such a default value should be treated as if they would not have a |
282 |
|
* crossfade, that is the crossfade volume factor should <b>always</b> |
283 |
|
* be 1.0f for such layers. |
284 |
|
*/ |
285 |
struct crossfade_t { |
struct crossfade_t { |
286 |
#if WORDS_BIGENDIAN |
#if WORDS_BIGENDIAN |
|
uint8_t in_start; ///< Start position of fade in. |
|
|
uint8_t in_end; ///< End position of fade in. |
|
|
uint8_t out_start; ///< Start position of fade out. |
|
|
uint8_t out_end; ///< End postition of fade out. |
|
|
#else // little endian |
|
287 |
uint8_t out_end; ///< End postition of fade out. |
uint8_t out_end; ///< End postition of fade out. |
288 |
uint8_t out_start; ///< Start position of fade out. |
uint8_t out_start; ///< Start position of fade out. |
289 |
uint8_t in_end; ///< End position of fade in. |
uint8_t in_end; ///< End position of fade in. |
290 |
uint8_t in_start; ///< Start position of fade in. |
uint8_t in_start; ///< Start position of fade in. |
291 |
|
#else // little endian |
292 |
|
uint8_t in_start; ///< Start position of fade in. |
293 |
|
uint8_t in_end; ///< End position of fade in. |
294 |
|
uint8_t out_start; ///< Start position of fade out. |
295 |
|
uint8_t out_end; ///< End postition of fade out. |
296 |
#endif // WORDS_BIGENDIAN |
#endif // WORDS_BIGENDIAN |
297 |
}; |
}; |
298 |
|
|