diff options
Diffstat (limited to 'apps/codecs/libgme/resampler.c')
-rw-r--r-- | apps/codecs/libgme/resampler.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs/libgme/resampler.c b/apps/codecs/libgme/resampler.c index 91677cbb8a..c4f42a9794 100644 --- a/apps/codecs/libgme/resampler.c +++ b/apps/codecs/libgme/resampler.c | |||
@@ -64,7 +64,7 @@ void Resampler_resize( struct Resampler* this, int pairs ) | |||
64 | } | 64 | } |
65 | } | 65 | } |
66 | 66 | ||
67 | void mix_samples( struct Resampler* this, struct Blip_Buffer* blip_buf, dsample_t out_ [] ) | 67 | static void mix_samples( struct Resampler* this, struct Blip_Buffer* blip_buf, dsample_t out_ [] ) |
68 | { | 68 | { |
69 | int const bass = BLIP_READER_BASS( *blip_buf ); | 69 | int const bass = BLIP_READER_BASS( *blip_buf ); |
70 | BLIP_READER_BEGIN( sn, *blip_buf ); | 70 | BLIP_READER_BEGIN( sn, *blip_buf ); |
@@ -97,7 +97,7 @@ void mix_samples( struct Resampler* this, struct Blip_Buffer* blip_buf, dsample_ | |||
97 | BLIP_READER_END( sn, *blip_buf ); | 97 | BLIP_READER_END( sn, *blip_buf ); |
98 | } | 98 | } |
99 | 99 | ||
100 | dsample_t const* resample_( struct Resampler* this, dsample_t** out_, | 100 | static dsample_t const* resample_( struct Resampler* this, dsample_t** out_, |
101 | dsample_t const* out_end, dsample_t const in [], int in_size ) | 101 | dsample_t const* out_end, dsample_t const in [], int in_size ) |
102 | { | 102 | { |
103 | in_size -= write_offset; | 103 | in_size -= write_offset; |
@@ -149,7 +149,7 @@ static inline int resample_wrapper( struct Resampler* this, dsample_t out [], in | |||
149 | return result; | 149 | return result; |
150 | } | 150 | } |
151 | 151 | ||
152 | int skip_input( struct Resampler* this, int count ) | 152 | static int skip_input( struct Resampler* this, int count ) |
153 | { | 153 | { |
154 | this->write_pos -= count; | 154 | this->write_pos -= count; |
155 | if ( this->write_pos < 0 ) // occurs when downsampling | 155 | if ( this->write_pos < 0 ) // occurs when downsampling |
@@ -161,7 +161,7 @@ int skip_input( struct Resampler* this, int count ) | |||
161 | return count; | 161 | return count; |
162 | } | 162 | } |
163 | 163 | ||
164 | void play_frame_( struct Resampler* this, struct Blip_Buffer* blip_buf, dsample_t* out ) | 164 | static void play_frame_( struct Resampler* this, struct Blip_Buffer* blip_buf, dsample_t* out ) |
165 | { | 165 | { |
166 | int pair_count = this->sample_buf_size >> 1; | 166 | int pair_count = this->sample_buf_size >> 1; |
167 | blip_time_t blip_time = Blip_count_clocks( blip_buf, pair_count ); | 167 | blip_time_t blip_time = Blip_count_clocks( blip_buf, pair_count ); |