diff options
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg_misc.h')
-rw-r--r-- | apps/plugins/mpegplayer/mpeg_misc.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_misc.h b/apps/plugins/mpegplayer/mpeg_misc.h index 2da9c2e313..6c5a41655b 100644 --- a/apps/plugins/mpegplayer/mpeg_misc.h +++ b/apps/plugins/mpegplayer/mpeg_misc.h | |||
@@ -168,15 +168,6 @@ void stream_scan_normalize(struct stream_scan *sk); | |||
168 | * direction, otherwise opposite the scan direction */ | 168 | * direction, otherwise opposite the scan direction */ |
169 | void stream_scan_offset(struct stream_scan *sk, off_t by); | 169 | void stream_scan_offset(struct stream_scan *sk, off_t by); |
170 | 170 | ||
171 | /** Audio helpers **/ | ||
172 | static inline int32_t clip_sample(int32_t sample) | ||
173 | { | ||
174 | if ((int16_t)sample != sample) | ||
175 | sample = 0x7fff ^ (sample >> 31); | ||
176 | |||
177 | return sample; | ||
178 | } | ||
179 | |||
180 | /** Time helpers **/ | 171 | /** Time helpers **/ |
181 | struct hms | 172 | struct hms |
182 | { | 173 | { |