mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-22 19:42:40 -05:00
Revert "[BugFix] Enums are only 2 bytes on some Devices"
This reverts commit 4ec34f6986.
Reason for revert:
-fshort-enums makes them smaller if the explicitrly enumerated values will fit in a smaller type
Change-Id: I834dfd2b2039eda91bc02c9cf95a0f9dfc5783f6
This commit is contained in:
parent
4ec34f6986
commit
1fddea5e8e
18 changed files with 165 additions and 168 deletions
|
|
@ -34,7 +34,7 @@ static int const blip_buffer_extra_ = BLIP_MAX_QUALITY + 2;
|
|||
// Properties of fixed-point sample position
|
||||
typedef unsigned ufixed_t; // unsigned for more range, optimized shifts
|
||||
enum { fixed_bits = BLIP_BUFFER_ACCURACY }; // bits in fraction
|
||||
#define fixed_unit (1 << fixed_bits) // 1.0 samples
|
||||
enum { fixed_unit = 1 << fixed_bits }; // 1.0 samples
|
||||
|
||||
// Deltas in buffer are fixed-point with this many fraction bits.
|
||||
// Less than 16 for extra range.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue