diff options
author | Julien de Kozak <jdekozak@hotmail.com> | 2013-03-23 14:33:20 +0100 |
---|---|---|
committer | Julien de Kozak <jdekozak@hotmail.com> | 2013-03-23 14:50:58 +0100 |
commit | 16f8fc06578dac939e9d26af2f016a2d42405d7a (patch) | |
tree | 0c3e0f7886eafcf3d9fcb271f0cf8773ee4e29cb /libs/audiographer | |
parent | 268553ecd471e31d0a1a3976f02389260130e41d (diff) |
Fix some compilation warnings
Diffstat (limited to 'libs/audiographer')
-rw-r--r-- | libs/audiographer/private/gdither/gdither.cc | 2 | ||||
-rw-r--r-- | libs/audiographer/private/gdither/gdither_types.h | 3 | ||||
-rw-r--r-- | libs/audiographer/private/gdither/gdither_types_internal.h | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/libs/audiographer/private/gdither/gdither.cc b/libs/audiographer/private/gdither/gdither.cc index 966da47b06..fe9ecc655a 100644 --- a/libs/audiographer/private/gdither/gdither.cc +++ b/libs/audiographer/private/gdither/gdither.cc @@ -117,7 +117,7 @@ GDither gdither_new(GDitherType type, uint32_t channels, s->clamp_u = lrintf(s->scale); s->clamp_l = lrintf(-s->scale); break; - case 23: + case GDitherPerformanceTest: /* special performance test case */ s->scale = SCALE_S24; s->post_scale = 256; diff --git a/libs/audiographer/private/gdither/gdither_types.h b/libs/audiographer/private/gdither/gdither_types.h index bcc0097d7f..8cc1cdf60d 100644 --- a/libs/audiographer/private/gdither/gdither_types.h +++ b/libs/audiographer/private/gdither/gdither_types.h @@ -36,7 +36,8 @@ typedef enum { GDither16bit = 16, GDither32bit = 32, GDitherFloat = 25, - GDitherDouble = 54 + GDitherDouble = 54, + GDitherPerformanceTest = 23 } GDitherSize; typedef void *GDither; diff --git a/libs/audiographer/private/gdither/gdither_types_internal.h b/libs/audiographer/private/gdither/gdither_types_internal.h index 6cb0c48af9..7d8de9d18c 100644 --- a/libs/audiographer/private/gdither/gdither_types_internal.h +++ b/libs/audiographer/private/gdither/gdither_types_internal.h @@ -42,7 +42,8 @@ typedef enum { GDither16bit = 16, GDither32bit = 32, GDitherFloat = 25, - GDitherDouble = 54 + GDitherDouble = 54, + GDitherPerformanceTest = 23 } GDitherSize; typedef struct { |