summaryrefslogtreecommitdiff
path: root/lib/rbcodec/dsp/lin_resample.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2012-05-06 18:20:11 -0400
committerMichael Sevakis <jethead71@rockbox.org>2012-05-06 18:20:11 -0400
commit6fd4780ac42fef53afd18ff92c39ddc6ad2f4f7b (patch)
tree1d4597896fdbc4d828dc3d86db161f22e79539bb /lib/rbcodec/dsp/lin_resample.c
parent88aeef91275dd121f2e8663ec79729412aaa2fa2 (diff)
downloadrockbox-6fd4780ac42fef53afd18ff92c39ddc6ad2f4f7b.tar.gz
rockbox-6fd4780ac42fef53afd18ff92c39ddc6ad2f4f7b.zip
Correct comments in lin_resample re: what is actually used by asm.
Change-Id: Idd457f3c645c5d469ebc6fab0bfc85e7b8dd56da
Diffstat (limited to 'lib/rbcodec/dsp/lin_resample.c')
-rw-r--r--lib/rbcodec/dsp/lin_resample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbcodec/dsp/lin_resample.c b/lib/rbcodec/dsp/lin_resample.c
index 5a6f55ac48..34dc35b2dd 100644
--- a/lib/rbcodec/dsp/lin_resample.c
+++ b/lib/rbcodec/dsp/lin_resample.c
@@ -49,8 +49,8 @@ static struct resample_data
49 uint32_t delta; /* 00h: Phase delta for each step */ 49 uint32_t delta; /* 00h: Phase delta for each step */
50 uint32_t phase; /* 04h: Current phase [pos16|frac16] */ 50 uint32_t phase; /* 04h: Current phase [pos16|frac16] */
51 int32_t last_sample[2]; /* 08h: Last samples for interpolation (L+R) */ 51 int32_t last_sample[2]; /* 08h: Last samples for interpolation (L+R) */
52 int32_t frequency; /* 10h: Virtual samplerate */ 52 /* 10h */
53 /* 14h */ 53 int32_t frequency; /* Virtual samplerate */
54 struct dsp_config *dsp; /* The DSP for this resampler */ 54 struct dsp_config *dsp; /* The DSP for this resampler */
55 struct dsp_buffer resample_buf; /* Buffer descriptor for resampled data */ 55 struct dsp_buffer resample_buf; /* Buffer descriptor for resampled data */
56 int32_t *resample_buf_arr[2]; /* Actual output data pointers */ 56 int32_t *resample_buf_arr[2]; /* Actual output data pointers */