diff options
| author | Peter D'Hoye <peter.dhoye@gmail.com> | 2008-10-08 22:18:16 +0000 |
|---|---|---|
| committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2008-10-08 22:18:16 +0000 |
| commit | 528fe442fc6e6e077172b2e8a3b586a3ce96d16b (patch) | |
| tree | 4985fe6f102727419862cf58bcb5aa8a7d736f11 /firmware/export | |
| parent | cb1173cedd4eb1c8648420a3926a591995390537 (diff) | |
| download | rockbox-528fe442fc6e6e077172b2e8a3b586a3ce96d16b.zip rockbox-528fe442fc6e6e077172b2e8a3b586a3ce96d16b.tar.gz rockbox-528fe442fc6e6e077172b2e8a3b586a3ce96d16b.tar.bz2 rockbox-528fe442fc6e6e077172b2e8a3b586a3ce96d16b.tar.xz | |
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')
| -rw-r--r-- | firmware/export/audio.h | 1 | ||||
| -rw-r--r-- | firmware/export/enc_base.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/audio.h b/firmware/export/audio.h index aedaffb..9530082 100644 --- a/firmware/export/audio.h +++ b/firmware/export/audio.h @@ -176,6 +176,7 @@ struct audio_recording_options int rec_channels; int rec_prerecord_time; #if CONFIG_CODEC == SWCODEC + int rec_mono_mode; int rec_source_flags; /* for rec_set_source */ struct encoder_config enc_config; #else diff --git a/firmware/export/enc_base.h b/firmware/export/enc_base.h index e73e876..321421c 100644 --- a/firmware/export/enc_base.h +++ b/firmware/export/enc_base.h @@ -246,6 +246,7 @@ struct enc_inputs { unsigned long sample_rate; /* out - pcm frequency */ int num_channels; /* out - number of audio channels */ + int rec_mono_mode; /* out - how to create mono */ struct encoder_config *config; /* out - encoder settings */ }; |