diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2013-06-22 16:39:40 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2013-06-30 00:40:09 +0200 |
commit | a9ea1a42695401334717f2e497a7f5576d87691d (patch) | |
tree | 806f457038f7d2edf17335355169116947ecb2c3 /firmware/export | |
parent | bc3a0795225553ccd7465ce977a8f0dc435b166a (diff) |
Fix some whitespace in files changed in following commit.
Change-Id: Ie3f43e43076e0dcae9a10f1b0b9e4698b398acee
Reviewed-on: http://gerrit.rockbox.org/492
Reviewed-by: Michael Sevakis <jethead71@rockbox.org>
Tested-by: Michael Sevakis <jethead71@rockbox.org>
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/audio.h | 22 | ||||
-rw-r--r-- | firmware/export/enc_base.h | 4 |
2 files changed, 13 insertions, 13 deletions
diff --git a/firmware/export/audio.h b/firmware/export/audio.h index 5309ddd1d1..293956cb37 100644 --- a/firmware/export/audio.h +++ b/firmware/export/audio.h @@ -77,7 +77,7 @@ void audio_beep(int duration); /* Required call when audio buffer is required for some other purpose */ /* implemented in apps but called from firmware(!) */ -unsigned char *audio_get_buffer(bool talk_buf, size_t *buffer_size); +unsigned char *audio_get_buffer(bool talk_buf, size_t *buffer_size); #if CONFIG_CODEC == SWCODEC void audio_next_dir(void); @@ -257,29 +257,29 @@ void audio_register_event_handler(AUDIO_EVENT_HANDLER handler, unsigned short ma /***********************************************************************/ /* handler return codes */ -#define AUDIO_EVENT_RC_IGNORED 200 +#define AUDIO_EVENT_RC_IGNORED 200 /* indicates that no action was taken or the event was not recognized */ -#define AUDIO_EVENT_RC_HANDLED 201 - /* indicates that the event was handled and some action was taken which renders - the original event invalid; USE WITH CARE!; this return code aborts all further +#define AUDIO_EVENT_RC_HANDLED 201 + /* indicates that the event was handled and some action was taken which renders + the original event invalid; USE WITH CARE!; this return code aborts all further processing of the given event */ /***********************************************************************/ /* audio event IDs */ -#define AUDIO_EVENT_POS_REPORT (1<<0) +#define AUDIO_EVENT_POS_REPORT (1<<0) /* sends a periodic song position report to handlers; a report is sent on - each kernal tick; the number of ticks per second is defined by HZ; on each - report the current song position is passed in 'data'; if a handler takes an - action that changes the song or the song position it must return + each kernal tick; the number of ticks per second is defined by HZ; on each + report the current song position is passed in 'data'; if a handler takes an + action that changes the song or the song position it must return AUDIO_EVENT_RC_HANDLED which suppresses the event for any remaining handlers */ -#define AUDIO_EVENT_END_OF_TRACK (1<<1) +#define AUDIO_EVENT_END_OF_TRACK (1<<1) /* generated when the end of the currently playing track is reached; no data is passed; if the handler implements some alternate end-of-track processing it should return AUDIO_EVENT_RC_HANDLED which suppresses the - event for any remaining handlers as well as the normal end-of-track + event for any remaining handlers as well as the normal end-of-track processing */ #endif diff --git a/firmware/export/enc_base.h b/firmware/export/enc_base.h index c2fbe26d6c..f5dfb65f2a 100644 --- a/firmware/export/enc_base.h +++ b/firmware/export/enc_base.h @@ -145,7 +145,7 @@ struct encoder_config struct mp3_enc_config mp3_enc; struct wavpack_enc_config wavpack_enc; struct wav_enc_config wav_enc; - }; + }; }; /** Encoder chunk macros and definitions **/ @@ -218,7 +218,7 @@ struct enc_file_event_data unsigned long new_num_pcm; /* New number of pcm in chunk */ const char *filename; /* filename to open if ENC_START_FILE */ int rec_file; /* Current file or < 0 if none */ - unsigned long num_pcm_samples; /* Current pcm sample count written to + unsigned long num_pcm_samples; /* Current pcm sample count written to file so far. */ }; |