| 1 | /* | 
|---|
| 2 | * This program is free software; you can redistribute it and/or modify | 
|---|
| 3 | * it under the terms of the GNU General Public License as published by | 
|---|
| 4 | * the Free Software Foundation; either version 2, or (at your option) | 
|---|
| 5 | * any later version. | 
|---|
| 6 | * | 
|---|
| 7 | * This program is distributed in the hope that it will be useful, | 
|---|
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|---|
| 10 | * GNU General Public License for more details. | 
|---|
| 11 | * | 
|---|
| 12 | * You should have received a copy of the GNU General Public License | 
|---|
| 13 | * along with this program; see the file COPYING.  If not, write to | 
|---|
| 14 | * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 
|---|
| 15 | */ | 
|---|
| 16 | /* | 
|---|
| 17 | * If you need another license for your project/product (commercial, | 
|---|
| 18 | * noncommercial, whatever) contact me at | 
|---|
| 19 | * | 
|---|
| 20 | * http://www.os2world.com/cdwriting | 
|---|
| 21 | * http://www.geocities.com/SiliconValley/Sector/5785/ | 
|---|
| 22 | * | 
|---|
| 23 | */ | 
|---|
| 24 |  | 
|---|
| 25 | #ifndef _CWMP3INC_H_INCLUDED | 
|---|
| 26 | #define _CWMP3INC_H_INCLUDED | 
|---|
| 27 |  | 
|---|
| 28 | #include "common.h" | 
|---|
| 29 |  | 
|---|
| 30 | #define MP3FILE_HELP_PANEL  10 | 
|---|
| 31 | #define MP3FILE_HELP_LIBRARY  "cwmm.hlp" | 
|---|
| 32 | #define MP3FILE_SETTINGS_PANEL 11 | 
|---|
| 33 | #define MP3FILE_SETTINGS_PANEL_CD 13 | 
|---|
| 34 |  | 
|---|
| 35 | /* For getting the bitrate using MMIOMP3 0.4.2 or above */ | 
|---|
| 36 | #define FOURCC_MP3 mmioFOURCC('M', 'P', '3', ' ') | 
|---|
| 37 | #define MP3_COOKIE 0x072D6337 | 
|---|
| 38 |  | 
|---|
| 39 | typedef struct _MP3OPTIONS { | 
|---|
| 40 | int cookie; | 
|---|
| 41 | long bitrate; | 
|---|
| 42 | } MP3OPTIONS; | 
|---|
| 43 |  | 
|---|
| 44 | typedef MP3OPTIONS *PMP3OPTIONS; | 
|---|
| 45 |  | 
|---|
| 46 | typedef struct _ID3TAG | 
|---|
| 47 | { | 
|---|
| 48 | char id3Tag[3]; | 
|---|
| 49 | char id3Name[30]; | 
|---|
| 50 | char id3Artist[30]; | 
|---|
| 51 | char id3Album[30]; | 
|---|
| 52 | char id3Year[4]; | 
|---|
| 53 | char id3Comment[30]; | 
|---|
| 54 | char id3Genre[1]; | 
|---|
| 55 |  | 
|---|
| 56 | }ID3TAG; | 
|---|
| 57 |  | 
|---|
| 58 | typedef ID3TAG *PID3TAG; | 
|---|
| 59 |  | 
|---|
| 60 | /* Setup strings for setting the ID3 tags */ | 
|---|
| 61 | #if 0 | 
|---|
| 62 | #define SETUP_ID3TRACKNAME    "ID3TRACKNAME" | 
|---|
| 63 | #define SETUP_ID3ARTIST       "ID3ARTIST" | 
|---|
| 64 | #define SETUP_ID3ALBUM        "ID3ALBUM" | 
|---|
| 65 | #define SETUP_ID3COMMENT      "ID3COMMENT" | 
|---|
| 66 | #define SETUP_ID3YEAR         "ID3YEAR" | 
|---|
| 67 | #define SETUP_ID3GENRE        "ID3GENRE" | 
|---|
| 68 | #endif | 
|---|
| 69 |  | 
|---|
| 70 | #define SETUP_ID3TRACKNAME    SETUP_AUDIOTRACKNAME | 
|---|
| 71 | #define SETUP_ID3ARTIST       SETUP_AUDIOARTIST | 
|---|
| 72 | #define SETUP_ID3ALBUM        SETUP_AUDIOALBUM | 
|---|
| 73 | #define SETUP_ID3COMMENT      SETUP_AUDIOCOMMENT | 
|---|
| 74 | #define SETUP_ID3YEAR         SETUP_AUDIOYEAR | 
|---|
| 75 | #define SETUP_ID3GENRE        SETUP_AUDIOGENRE | 
|---|
| 76 |  | 
|---|
| 77 |  | 
|---|
| 78 | #endif /* */ | 
|---|
| 79 |  | 
|---|