summaryrefslogtreecommitdiff
path: root/firmware/export/audio.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2013-06-22 16:39:40 -0400
committerMichael Sevakis <jethead71@rockbox.org>2013-06-30 00:40:09 +0200
commita9ea1a42695401334717f2e497a7f5576d87691d (patch)
tree806f457038f7d2edf17335355169116947ecb2c3 /firmware/export/audio.h
parentbc3a0795225553ccd7465ce977a8f0dc435b166a (diff)
downloadrockbox-a9ea1a42695401334717f2e497a7f5576d87691d.tar.gz
rockbox-a9ea1a42695401334717f2e497a7f5576d87691d.zip
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/audio.h')
-rw-r--r--firmware/export/audio.h22
1 files changed, 11 insertions, 11 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);
77 77
78/* Required call when audio buffer is required for some other purpose */ 78/* Required call when audio buffer is required for some other purpose */
79/* implemented in apps but called from firmware(!) */ 79/* implemented in apps but called from firmware(!) */
80unsigned char *audio_get_buffer(bool talk_buf, size_t *buffer_size); 80unsigned char *audio_get_buffer(bool talk_buf, size_t *buffer_size);
81 81
82#if CONFIG_CODEC == SWCODEC 82#if CONFIG_CODEC == SWCODEC
83void audio_next_dir(void); 83void audio_next_dir(void);
@@ -257,29 +257,29 @@ void audio_register_event_handler(AUDIO_EVENT_HANDLER handler, unsigned short ma
257/***********************************************************************/ 257/***********************************************************************/
258/* handler return codes */ 258/* handler return codes */
259 259
260#define AUDIO_EVENT_RC_IGNORED 200 260#define AUDIO_EVENT_RC_IGNORED 200
261 /* indicates that no action was taken or the event was not recognized */ 261 /* indicates that no action was taken or the event was not recognized */
262 262
263#define AUDIO_EVENT_RC_HANDLED 201 263#define AUDIO_EVENT_RC_HANDLED 201
264 /* indicates that the event was handled and some action was taken which renders 264 /* indicates that the event was handled and some action was taken which renders
265 the original event invalid; USE WITH CARE!; this return code aborts all further 265 the original event invalid; USE WITH CARE!; this return code aborts all further
266 processing of the given event */ 266 processing of the given event */
267 267
268/***********************************************************************/ 268/***********************************************************************/
269/* audio event IDs */ 269/* audio event IDs */
270 270
271#define AUDIO_EVENT_POS_REPORT (1<<0) 271#define AUDIO_EVENT_POS_REPORT (1<<0)
272 /* sends a periodic song position report to handlers; a report is sent on 272 /* sends a periodic song position report to handlers; a report is sent on
273 each kernal tick; the number of ticks per second is defined by HZ; on each 273 each kernal tick; the number of ticks per second is defined by HZ; on each
274 report the current song position is passed in 'data'; if a handler takes an 274 report the current song position is passed in 'data'; if a handler takes an
275 action that changes the song or the song position it must return 275 action that changes the song or the song position it must return
276 AUDIO_EVENT_RC_HANDLED which suppresses the event for any remaining handlers */ 276 AUDIO_EVENT_RC_HANDLED which suppresses the event for any remaining handlers */
277 277
278#define AUDIO_EVENT_END_OF_TRACK (1<<1) 278#define AUDIO_EVENT_END_OF_TRACK (1<<1)
279 /* generated when the end of the currently playing track is reached; no 279 /* generated when the end of the currently playing track is reached; no
280 data is passed; if the handler implements some alternate end-of-track 280 data is passed; if the handler implements some alternate end-of-track
281 processing it should return AUDIO_EVENT_RC_HANDLED which suppresses the 281 processing it should return AUDIO_EVENT_RC_HANDLED which suppresses the
282 event for any remaining handlers as well as the normal end-of-track 282 event for any remaining handlers as well as the normal end-of-track
283 processing */ 283 processing */
284 284
285#endif 285#endif