summaryrefslogtreecommitdiff
path: root/firmware/export/enc_base.h
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2008-10-08 22:18:16 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2008-10-08 22:18:16 +0000
commit528fe442fc6e6e077172b2e8a3b586a3ce96d16b (patch)
tree4985fe6f102727419862cf58bcb5aa8a7d736f11 /firmware/export/enc_base.h
parentcb1173cedd4eb1c8648420a3926a591995390537 (diff)
downloadrockbox-528fe442fc6e6e077172b2e8a3b586a3ce96d16b.tar.gz
rockbox-528fe442fc6e6e077172b2e8a3b586a3ce96d16b.zip
New recording setting to configure how mono recordings are made. Previously, this was always L+R, which was kinda silly if your signal was on L only. This setting allows for L, R or L+R. SWCODEC only for now, to be added for HWCODEC (although that will only be L and L+R probably)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18745 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/enc_base.h')
-rw-r--r--firmware/export/enc_base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/enc_base.h b/firmware/export/enc_base.h
index e73e87659d..321421c6e7 100644
--- a/firmware/export/enc_base.h
+++ b/firmware/export/enc_base.h
@@ -246,6 +246,7 @@ struct enc_inputs
246{ 246{
247 unsigned long sample_rate; /* out - pcm frequency */ 247 unsigned long sample_rate; /* out - pcm frequency */
248 int num_channels; /* out - number of audio channels */ 248 int num_channels; /* out - number of audio channels */
249 int rec_mono_mode; /* out - how to create mono */
249 struct encoder_config *config; /* out - encoder settings */ 250 struct encoder_config *config; /* out - encoder settings */
250}; 251};
251 252