Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Strogin
flac
Commits
82738b30
Commit
82738b30
authored
Sep 25, 2002
by
Josh Coalson
Browse files
fixes related to the change of FLAC__VERSION_STRING from a #define to an identifier
parent
7dfd40de
Changes
4
Hide whitespace changes
Inline
Side-by-side
include/FLAC/format.h
View file @
82738b30
...
...
@@ -120,22 +120,19 @@ extern "C" {
/** The maximum Rice partition order permitted by the format. */
#define FLAC__MAX_RICE_PARTITION_ORDER (15u)
/* VERSION should come from configure */
#ifdef VERSION
/** The version string of the current library.
/** The version string of the release, stamped onto the libraries and binaries.
*
* \note
* This does not correspond to the shared library version number, which
* is used to determine binary compatibility.
*/
#define FLAC__VERSION_STRING VERSION
#endif
extern
const
char
*
FLAC__VERSION_STRING
;
/** The vendor string inserted by the encoder into the VORBIS_COMMENT block.
* This is a nulL-terminated ASCII string; when inserted into the
* VORBIS_COMMENT the trailing null is stripped.
*/
extern
const
FLAC__byte
*
FLAC__VENDOR_STRING
;
extern
const
char
*
FLAC__VENDOR_STRING
;
/** The byte string representation of the beginning of a FLAC stream. */
extern
const
FLAC__byte
FLAC__STREAM_SYNC_STRING
[
4
];
/* = "fLaC" */
...
...
src/libFLAC/format.c
View file @
82738b30
...
...
@@ -28,11 +28,14 @@
#endif
#define min(a,b) ((a)<(b)?(a):(b))
/* VERSION should come from configure */
const
char
*
FLAC__VERSION_STRING
=
VERSION
;
#if defined _MSC_VER || defined __MINW32__
/* yet one more hack because of MSVC6: */
const
FLAC__byte
*
FLAC__VENDOR_STRING
=
"reference libFLAC 1.0.4
_beta
200209
10
"
;
const
char
*
FLAC__VENDOR_STRING
=
"reference libFLAC 1.0.4 200209
24
"
;
#else
const
FLAC__byte
*
FLAC__VENDOR_STRING
=
"reference libFLAC "
FLAC__
VERSION
_STRING
" 200209
10
"
;
const
char
*
FLAC__VENDOR_STRING
=
"reference libFLAC "
VERSION
" 200209
24
"
;
#endif
const
FLAC__byte
FLAC__STREAM_SYNC_STRING
[
4
]
=
{
'f'
,
'L'
,
'a'
,
'C'
};
...
...
src/plugin_winamp2/in_flac.c
View file @
82738b30
...
...
@@ -120,7 +120,7 @@ void config(HWND hwndParent)
}
void
about
(
HWND
hwndParent
)
{
MessageBox
(
hwndParent
,
"Winamp FLAC Plugin v"
FLAC__
VERSION
_STRING
", by Josh Coalson
\n
See http://flac.sourceforge.net/"
,
"About FLAC Plugin"
,
MB_OK
);
MessageBox
(
hwndParent
,
"Winamp FLAC Plugin v"
VERSION
", by Josh Coalson
\n
See http://flac.sourceforge.net/"
,
"About FLAC Plugin"
,
MB_OK
);
}
void
init
()
...
...
@@ -203,6 +203,7 @@ void unpause()
paused_
=
0
;
mod_
.
outMod
->
Pause
(
0
);
}
int
ispaused
()
{
return
paused_
;
...
...
@@ -357,7 +358,7 @@ DWORD WINAPI __stdcall DecodeThread(void *b)
In_Module
mod_
=
{
IN_VER
,
"Reference FLAC Player v"
FLAC__
VERSION
_STRING
,
"Reference FLAC Player v"
VERSION
,
0
,
/* hMainWindow */
0
,
/* hDllInstance */
"FLAC
\0
FLAC Audio File (*.FLAC)
\0
"
...
...
src/plugin_xmms/plugin.c
View file @
82738b30
...
...
@@ -80,7 +80,7 @@ InputPlugin flac_ip =
{
NULL
,
NULL
,
"Reference FLAC Player v"
FLAC__
VERSION
_STRING
,
"Reference FLAC Player v"
VERSION
,
FLAC_XMMS__init
,
FLAC_XMMS__aboutbox
,
FLAC_XMMS__configure
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment