Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
base repository: HaikuArchives/UltraEncode
base: 729f5ce68a8e
head repository: HaikuArchives/UltraEncode
compare: a11c3cfbe4d4
  • 2 commits
  • 68 files changed
  • 1 commit comment
  • 2 contributors
Commits on Mar 08, 2018
Fix Build, Replace .proj with Makefiles
Showing with 3,966 additions and 463 deletions.
  1. +4 −0 .gitignore
  2. +2 −0 Headers/AppUtils.h
  3. +1 −1 Headers/CDDBLooper.h
  4. +20 −17 Headers/DebugBuild.h
  5. +2 −0 Headers/RipperApp.h
  6. +2 −0 Headers/TID3Dialog.h
  7. +1 −0 Headers/TInexactMatchWindow.h
  8. +1 −0 Headers/TInfoDialog.h
  9. +5 −1 Headers/TProgressDialog.h
  10. +1 −1 Headers/TRefFilter.h
  11. +4 −0 Headers/TSettingsDialog.h
  12. +7 −6 Headers/cddb.h
  13. +8 −0 Headers/id3file.h
  14. +8 −1 Headers/id3ren.h
  15. +12 −6 Headers/id3tag.h
  16. BIN KwallyKwik.proj
  17. +155 −0 Makefile
  18. +3,621 −0 Resources/KwallyKwik.rdef
  19. +2 −0 Source/AppUtils.cpp
  20. +5 −2 Source/CDDBLooper.cpp
  21. +2 −1 Source/KnobSwitch.cpp
  22. +2 −0 Source/ResourceManager.cpp
  23. +3 −0 Source/TAboutBox.cpp
  24. +2 −0 Source/TBitmapView.cpp
  25. +19 −17 Source/TProgressDialog.cpp
  26. +1 −1 Source/TRefFilter.cpp
  27. +1 −0 Source/TSettingsDialog.cpp
  28. BIN mp3 add-ons/encoder/blade/libblade.proj
  29. +0 −122 mp3 add-ons/encoder/blade/makefile
  30. +0 −111 mp3 add-ons/encoder/makefile
  31. +0 −27 mp3 add-ons/encoder/makefile.libblade
  32. BIN mp3 add-ons/encoder/mp3.encoder.proj
  33. +0 −110 mp3 add-ons/writer/makefile
  34. +0 −37 mp3 add-ons/writer/makefile.old
  35. +72 −1 {mp3 add-ons → mp3-add-ons}/encoder/MP3Encoder.cpp
  36. +3 −1 {mp3 add-ons → mp3-add-ons}/encoder/MP3Encoder.h
  37. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/bladtab.c
  38. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/codec.c
  39. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/codec.h
  40. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/common.c
  41. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/common.h
  42. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/encode.c
  43. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/encoder.h
  44. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/formatbitstream2.c
  45. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/formatbitstream2.h
  46. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/huffman.c
  47. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/huffman.h
  48. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/l3bitstream-pvt.h
  49. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/l3bitstream.c
  50. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/l3bitstream.h
  51. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/l3psy.c
  52. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/l3psy.h
  53. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/l3side.h
  54. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/loop-pvt.h
  55. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/loop.c
  56. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/loop.h
  57. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/mdct.c
  58. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/mdct.h
  59. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/reservoir.c
  60. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/reservoir.h
  61. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/subs.c
  62. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/system.h
  63. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/tables.c
  64. 0 {mp3 add-ons → mp3-add-ons}/encoder/blade/tables.h
  65. 0 {mp3 add-ons → mp3-add-ons}/encoder/mp3_encode.cpp
  66. 0 {mp3 add-ons → mp3-add-ons}/encoder/mp3_encode.h
  67. 0 {mp3 add-ons → mp3-add-ons}/writer/TMP3Writer.cpp
  68. 0 {mp3 add-ons → mp3-add-ons}/writer/TMP3Writer.h
@@ -0,0 +1,4 @@
objects*/
mp3-add-ons/encoder/objects*/
mp3-add-ons/encoder/blade/objects*/
mp3-add-ons/writer/objects*/
@@ -16,6 +16,8 @@
#define __APPUTILS_H__

#include <Bitmap.h>
#include <NodeInfo.h>
#include <TextControl.h>

// Enums
typedef enum
@@ -81,7 +81,7 @@ class CDDBLooper : public BLooper
// Performs a query command
void CDDBQuery(unsigned long discID, int32 numTracks, cddb_toc *cdtoc);
// Performs a read command
void CDDBRead(const char *category, char *discid);
void CDDBRead(const char *category, const char *discid);
// Performs a sites command
void CDDBSites();
// Performs a write command
@@ -22,16 +22,15 @@
#endif
// NOTE: the PPC compiler requires that this value be either 0 or
// 1. bool values (true/false) don't work.
#define DEBUG 1
#define DEBUG 0

#include <stdlib.h>

// Include Be debug support (ASSERT etc.)
#include <support/Debug.h>
#include <MediaDefs.h> // for media_format
#include <Alert.h> // for BAlert
//#include <Alert.h> // for BAlert

inline void do_nothing(...)
{
}
// Include Be debug support (ASSERT etc.)
#include <support/Debug.h>

// Define some debug dependent messages
#ifdef DEBUG
@@ -40,17 +39,17 @@ inline void do_nothing(...)
#define PRINTF printf
#define FUNCTION printf
#define PROGRESS printf
#define LOOP do_nothing
#define LOOP (void)0
#else
#define MESSAGE do_nothing
#define ERROR do_nothing
#define PRINTF do_nothing
#define FUNCTION do_nothing
#define PROGRESS do_nothing
#define LOOP do_nothing
#define MESSAGE (void)0
#define ERROR (void)0
#define PRINTF (void)0
#define FUNCTION (void)0
#define PROGRESS (void)0
#define LOOP (void)0
#endif


/*
// Some preformatted debug dumps
inline void DumpRect(BRect theRect)
{
@@ -99,14 +98,18 @@ inline void DumpMediaFormat(const media_format& f)
MESSAGE("no details available for format");
#endif
}
*/

/*
// A debug only alert message
inline void DebugAlert(const char *theString)
{
#if DEBUG
BAlert *theAlert = new BAlert("Debug", theString, "Thanks");
theAlert->Go();
// BAlert *theAlert = new BAlert("Debug", theString, "Thanks");
// theAlert->Go();
MESSAGE(theString);
#endif
}
*/

#endif // __DEBUGBUILD_H__
@@ -9,6 +9,8 @@

#include <Application.h>

#include <string.h>

// Class Definition
class RipperApp : public BApplication
{
@@ -15,6 +15,8 @@
#define __TID3DIALOG_H__

// Includes
#include <MenuField.h>
#include <TextControl.h>
#include <Window.h>
#include "id3tag.h"

@@ -25,6 +25,7 @@
#define MATCH_INVOKE_MSG 'maIN'

// Includes
#include <ListView.h>
#include <Window.h>

// Class Definition
@@ -16,6 +16,7 @@

// Includes
#include <Window.h>
#include <MenuField.h>
#include <Message.h>

// Forward declarations
@@ -16,10 +16,14 @@
#define __TPROGRESSDIALOG_H__

// Includes
#include <scsi.h>
#include <scsi.h>
#include <Entry.h>
#include <FilePanel.h>
#include <NodeInfo.h>
#include <Window.h>
#include <MessageFilter.h>
#include <Volume.h>
#include <StatusBar.h>
#include <String.h>
#include <StringView.h>
#include <netdb.h>
@@ -33,7 +33,7 @@ class TRefFilter : public BRefFilter
public:
TRefFilter(FilterType filterType);

bool Filter(const entry_ref *, BNode *, struct stat *, const char *mimetype);
virtual bool Filter(const entry_ref *, BNode *, struct stat_beos *, const char *mimetype);

private:
FilterType m_FilterType;
@@ -15,7 +15,11 @@
#define __TSETTINGSDIALOG_H__

// Includes
#include <CheckBox.h>
#include <FilePanel.h>
#include <MenuField.h>
#include <Window.h>

#include "TProgressDialog.h"

// Forward Declarations
@@ -7,29 +7,30 @@

#include <Application.h>

typedef struct {
struct cddb_toc
{
int32 min;
int32 sec;
int32 frame;
} cddb_toc;
};

typedef struct
struct cddb_track_info
{
uchar track_num;
char track_name[64];
struct cddb_toc start;
struct cddb_toc end;
struct cddb_toc length;
}cddb_track_info;
};

typedef struct
struct cd_info
{
char disc_title[64];
char disc_artist[64];
int32 numtracks;
struct cddb_track_info track[100];
int32 playOrder[100];
int32 shuffleIndex;
}cd_info;
};

#endif
@@ -21,12 +21,20 @@

#ifndef __FILE_H__
#define __FILE_H__

#ifdef __cplusplus
extern "C" {
#endif

int add_to_log (char *);
int id3_read_file (char *, unsigned long, FILE *, char *);
int id3_write_file (char *, unsigned long, FILE *, char *);
int id3_open_file (FILE **, char *, char *);
int id3_seek_header (FILE *, char *);
int strip_tag (long, char *);

#ifdef __cplusplus
}
#endif

#endif /* __FILE_H__ */
@@ -1,5 +1,9 @@
#ifndef __ID3REN_H__
#define __ID3REN_H__

#ifdef __cplusplus
extern "C" {
#endif

typedef struct
{
@@ -42,7 +46,10 @@ typedef struct
/* 0-default 1-upper 2-lower */
short ulcase;
} FLAGS_struct;


#ifdef __cplusplus
}
#endif

#endif /* __ID3REN_H__ */

@@ -17,12 +17,14 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/

*/

#ifndef __ID3TAG_H__
#define __ID3TAG_H__

#define __ID3TAG_H__

#ifdef __cplusplus
extern "C" {
#endif

#define TAGLEN_TAG 3
#define TAGLEN_SONG 30
@@ -46,8 +48,12 @@ typedef struct ID3_struct

void resize_tag_field (char *);
bool get_tag_genre (int *, int);
bool write_tag (bool, char *, ID3_tag *ptrtag);
bool write_tag (bool append_flag, char *fn, ID3_tag *ptrtag);
bool read_tag (FILE *, char *, ID3_tag *ptrtag);
bool tag_file (char *, ID3_tag *ptrtag);
bool tag_file (char *, ID3_tag *ptrtag);

#ifdef __cplusplus
}
#endif

#endif /* __ID3TAG_H__ */
BIN -21.8 KB KwallyKwik.proj
Binary file not shown.

Showing you all comments on commits in this comparison.

@Vidrep

This comment has been minimized.

Copy link

Vidrep commented on 423d3ac Mar 12, 2018

Thank you for this. How do you feel about giving KonaKoder the same treatment?

You can’t perform that action at this time.