From 398b37124e870b3be69a03e5d89c5887204d6990 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Mon, 22 Feb 2010 19:44:05 +0000 Subject: Remove all tabs within codec path. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24862 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libasap/asap.h | 204 ++++++++++++++++++++++----------------------- 1 file changed, 102 insertions(+), 102 deletions(-) (limited to 'apps/codecs/libasap/asap.h') diff --git a/apps/codecs/libasap/asap.h b/apps/codecs/libasap/asap.h index 02f6e680f2..b43b3ce0c2 100644 --- a/apps/codecs/libasap/asap.h +++ b/apps/codecs/libasap/asap.h @@ -37,19 +37,19 @@ extern "C" { /* Short credits of the ASAP engine. */ #define ASAP_YEARS "2005-2010" #define ASAP_CREDITS \ - "Another Slight Atari Player (C) 2005-2010 Piotr Fusik\n" \ - "CMC, MPT, TMC, TM2 players (C) 1994-2005 Marcin Lewandowski\n" \ - "RMT player (C) 2002-2005 Radek Sterba\n" \ - "DLT player (C) 2009 Marek Konopka\n" \ - "CMS player (C) 1999 David Spilka\n" + "Another Slight Atari Player (C) 2005-2010 Piotr Fusik\n" \ + "CMC, MPT, TMC, TM2 players (C) 1994-2005 Marcin Lewandowski\n" \ + "RMT player (C) 2002-2005 Radek Sterba\n" \ + "DLT player (C) 2009 Marek Konopka\n" \ + "CMS player (C) 1999 David Spilka\n" /* Short GPL notice. Display after the credits. */ #define ASAP_COPYRIGHT \ - "This program is free software; you can redistribute it and/or modify\n" \ - "it under the terms of the GNU General Public License as published\n" \ - "by the Free Software Foundation; either version 2 of the License,\n" \ - "or (at your option) any later version." + "This program is free software; you can redistribute it and/or modify\n" \ + "it under the terms of the GNU General Public License as published\n" \ + "by the Free Software Foundation; either version 2 of the License,\n" \ + "or (at your option) any later version." /* Maximum length of AUTHOR, NAME and DATE tags including the terminator. */ #define ASAP_INFO_CHARS 128 @@ -72,9 +72,9 @@ extern "C" { /* Output formats. */ typedef enum { - ASAP_FORMAT_U8 = 8, /* unsigned char */ - ASAP_FORMAT_S16_LE = 16, /* signed short, little-endian */ - ASAP_FORMAT_S16_BE = -16 /* signed short, big-endian */ + ASAP_FORMAT_U8 = 8, /* unsigned char */ + ASAP_FORMAT_S16_LE = 16, /* signed short, little-endian */ + ASAP_FORMAT_S16_BE = -16 /* signed short, big-endian */ } ASAP_SampleFormat; /* Useful type definitions. */ @@ -89,106 +89,106 @@ typedef unsigned char byte; /* Information about a music file. */ typedef struct { - char author[ASAP_INFO_CHARS]; /* author's name */ - char name[ASAP_INFO_CHARS]; /* title */ - char date[ASAP_INFO_CHARS]; /* creation date */ - int channels; /* 1 for mono or 2 for stereo */ - int songs; /* number of subsongs */ - int default_song; /* 0-based index of the "main" subsong */ - int durations[ASAP_SONGS_MAX]; /* lengths of songs, in milliseconds, -1 = indeterminate */ - abool loops[ASAP_SONGS_MAX]; /* whether songs repeat or not */ - /* the following technical information should not be used outside ASAP. */ - int type; - int fastplay; - int music; - int init; - int player; - int covox_addr; - int header_len; - byte song_pos[ASAP_SONGS_MAX]; + char author[ASAP_INFO_CHARS]; /* author's name */ + char name[ASAP_INFO_CHARS]; /* title */ + char date[ASAP_INFO_CHARS]; /* creation date */ + int channels; /* 1 for mono or 2 for stereo */ + int songs; /* number of subsongs */ + int default_song; /* 0-based index of the "main" subsong */ + int durations[ASAP_SONGS_MAX]; /* lengths of songs, in milliseconds, -1 = indeterminate */ + abool loops[ASAP_SONGS_MAX]; /* whether songs repeat or not */ + /* the following technical information should not be used outside ASAP. */ + int type; + int fastplay; + int music; + int init; + int player; + int covox_addr; + int header_len; + byte song_pos[ASAP_SONGS_MAX]; } ASAP_ModuleInfo; /* POKEY state. Not for use outside the ASAP engine. */ typedef struct { - int audctl; - abool init; - int poly_index; - int div_cycles; - int mute1; - int mute2; - int mute3; - int mute4; - int audf1; - int audf2; - int audf3; - int audf4; - int audc1; - int audc2; - int audc3; - int audc4; - int tick_cycle1; - int tick_cycle2; - int tick_cycle3; - int tick_cycle4; - int period_cycles1; - int period_cycles2; - int period_cycles3; - int period_cycles4; - int reload_cycles1; - int reload_cycles3; - int out1; - int out2; - int out3; - int out4; - int delta1; - int delta2; - int delta3; - int delta4; - int skctl; - int delta_buffer[888]; + int audctl; + abool init; + int poly_index; + int div_cycles; + int mute1; + int mute2; + int mute3; + int mute4; + int audf1; + int audf2; + int audf3; + int audf4; + int audc1; + int audc2; + int audc3; + int audc4; + int tick_cycle1; + int tick_cycle2; + int tick_cycle3; + int tick_cycle4; + int period_cycles1; + int period_cycles2; + int period_cycles3; + int period_cycles4; + int reload_cycles1; + int reload_cycles3; + int out1; + int out2; + int out3; + int out4; + int delta1; + int delta2; + int delta3; + int delta4; + int skctl; + int delta_buffer[888]; } PokeyState; /* Player state. Only module_info is meant to be read outside the ASAP engine. */ typedef struct { - int cycle; - int cpu_pc; - int cpu_a; - int cpu_x; - int cpu_y; - int cpu_s; - int cpu_nz; - int cpu_c; - int cpu_vdi; - int scanline_number; - int nearest_event_cycle; - int next_scanline_cycle; - int timer1_cycle; - int timer2_cycle; - int timer4_cycle; - int irqst; - int extra_pokey_mask; - int consol; - byte covox[4]; - PokeyState base_pokey; - PokeyState extra_pokey; - int sample_offset; - int sample_index; - int samples; - int iir_acc_left; - int iir_acc_right; - ASAP_ModuleInfo module_info; - int tmc_per_frame; - int tmc_per_frame_counter; - int current_song; - int current_duration; - int blocks_played; - int silence_cycles; - int silence_cycles_counter; - byte poly9_lookup[511]; - byte poly17_lookup[16385]; - byte memory[65536]; + int cycle; + int cpu_pc; + int cpu_a; + int cpu_x; + int cpu_y; + int cpu_s; + int cpu_nz; + int cpu_c; + int cpu_vdi; + int scanline_number; + int nearest_event_cycle; + int next_scanline_cycle; + int timer1_cycle; + int timer2_cycle; + int timer4_cycle; + int irqst; + int extra_pokey_mask; + int consol; + byte covox[4]; + PokeyState base_pokey; + PokeyState extra_pokey; + int sample_offset; + int sample_index; + int samples; + int iir_acc_left; + int iir_acc_right; + ASAP_ModuleInfo module_info; + int tmc_per_frame; + int tmc_per_frame_counter; + int current_song; + int current_duration; + int blocks_played; + int silence_cycles; + int silence_cycles_counter; + byte poly9_lookup[511]; + byte poly17_lookup[16385]; + byte memory[65536]; } ASAP_State; /* Parses the string in the "mm:ss.xxx" format -- cgit v1.2.3