mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-25 06:35:57 -05:00
Add support for flac metatag reading and playback on win32.
This commit is contained in:
parent
89b6af89b3
commit
e7d04dbd6b
@ -33,9 +33,12 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <netinet/in.h> /* htons and friends */
|
||||
#ifndef WIN32
|
||||
# include <netinet/in.h> /* htons and friends */
|
||||
# include <dirent.h> /* why here? For osx 10.2, of course! */
|
||||
#endif
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <dirent.h> /* why here? For osx 10.2, of course! */
|
||||
|
||||
#include "restart.h"
|
||||
#include "daapd.h"
|
||||
|
@ -21,7 +21,7 @@
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="$(InputDir),..\src,.,.."
|
||||
PreprocessorDefinitions="HAVE_CONFIG_H;ZLIB_DLL;_WINDOWS"
|
||||
PreprocessorDefinitions="HAVE_CONFIG_H;ZLIB_DLL;_WINDOWS;FLAC"
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="5"
|
||||
@ -33,7 +33,7 @@
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="zdll.lib libid3tag.lib gnu_regex.lib pthreadVC2.lib wsock32.lib sqlite3.lib sqlite.lib dnssd.lib"
|
||||
AdditionalDependencies="zdll.lib libid3tag.lib gnu_regex.lib pthreadVC2.lib wsock32.lib sqlite3.lib sqlite.lib dnssd.lib libFLAC.lib"
|
||||
OutputFile="$(OutDir)/mt-daapd.exe"
|
||||
LinkIncremental="2"
|
||||
AdditionalLibraryDirectories=""
|
||||
@ -74,7 +74,7 @@
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories="$(InputDir),..\src,.,.."
|
||||
PreprocessorDefinitions="HAVE_CONFIG_H;ZLIB_DLL;_WINDOWS"
|
||||
PreprocessorDefinitions="HAVE_CONFIG_H;ZLIB_DLL;_WINDOWS;FLAC"
|
||||
RuntimeLibrary="4"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
@ -84,7 +84,7 @@
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="zdll.lib libid3tag.lib gnu_regex.lib pthreadVC2.lib wsock32.lib sqlite3.lib sqlite.lib dnssd.lib"
|
||||
AdditionalDependencies="zdll.lib libid3tag.lib gnu_regex.lib pthreadVC2.lib wsock32.lib sqlite3.lib sqlite.lib dnssd.lib libFLAC.lib"
|
||||
OutputFile="$(OutDir)/mt-daapd.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories=""
|
||||
@ -188,6 +188,9 @@
|
||||
<File
|
||||
RelativePath="..\src\scan-aac.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\scan-flac.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\scan-mp3.c">
|
||||
</File>
|
||||
|
@ -120,6 +120,7 @@ Section "MainSection" SEC01
|
||||
File "${DLL_SOURCE}\avutil.dll"
|
||||
File "${DLL_SOURCE}\avcodec.dll"
|
||||
File "${DLL_SOURCE}\avformat.dll"
|
||||
File "${DLL_SOURCE}\libFLAC.dll"
|
||||
|
||||
SetOutPath "$2\plugins"
|
||||
File "${MTD_SOURCE}\rsp.dll"
|
||||
@ -409,6 +410,7 @@ Section Uninstall
|
||||
Delete "$INSTDIR\avutil.dll"
|
||||
Delete "$INSTDIR\avcodec.dll"
|
||||
Delete "$INSTDIR\avformat.dll"
|
||||
Delete "$INSTDIR\libFLAC.dll"
|
||||
Delete "$INSTDIR\plugins\rsp.dll"
|
||||
Delete "$INSTDIR\plugins\w32-event.dll"
|
||||
Delete "$INSTDIR\plugins\ssc-ffmpeg.dll"
|
||||
|
Loading…
Reference in New Issue
Block a user