add encoder examples
This commit is contained in:
parent
9f28b59ce1
commit
703d0d4aa7
39
FLAC.dsw
39
FLAC.dsw
@ -207,8 +207,14 @@ Package=<4>
|
||||
Project_Dep_Name example_c_decode_file
|
||||
End Project Dependency
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name example_c_encode_file
|
||||
End Project Dependency
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name example_cpp_decode_file
|
||||
End Project Dependency
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name example_cpp_encode_file
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
@ -228,6 +234,21 @@ Package=<4>
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "example_c_encode_file"=.\examples\c\encode\file\example_c_encode_file.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name libFLAC_static
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "example_cpp_decode_file"=.\examples\cpp\decode\file\example_cpp_decode_file.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
@ -246,6 +267,24 @@ Package=<4>
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "example_cpp_encode_file"=.\examples\cpp\encode\file\example_cpp_encode_file.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name libFLAC++_static
|
||||
End Project Dependency
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name libFLAC_static
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "flac"=.\src\flac\flac.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
|
35
FLAC.sln
35
FLAC.sln
@ -1,12 +1,23 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 9.00
|
||||
# Visual C++ Express 2005
|
||||
Project("{4cefbc7c-c215-11db-8314-0800200c9a66}") = "example_c_decode_file", "example\c\decode\file\example_c_decode_file.vcproj", "{4cefbd00-c215-11db-8314-0800200c9a66}"
|
||||
Project("{4cefbc7c-c215-11db-8314-0800200c9a66}") = "example_c_decode_file", "examples\c\decode\file\example_c_decode_file.vcproj", "{4cefbd00-c215-11db-8314-0800200c9a66}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{4cefbc84-c215-11db-8314-0800200c9a66} = {4cefbc84-c215-11db-8314-0800200c9a66}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{4cefbc7c-c215-11db-8314-0800200c9a66}") = "example_cpp_decode_file", "example\cpp\decode\file\example_cpp_decode_file.vcproj", "{4cefbe00-c215-11db-8314-0800200c9a66}"
|
||||
Project("{4cefbc7c-c215-11db-8314-0800200c9a66}") = "example_c_encode_file", "examples\c\encode\file\example_c_encode_file.vcproj", "{4cefbd01-c215-11db-8314-0800200c9a66}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{4cefbc84-c215-11db-8314-0800200c9a66} = {4cefbc84-c215-11db-8314-0800200c9a66}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{4cefbc7c-c215-11db-8314-0800200c9a66}") = "example_cpp_decode_file", "examples\cpp\decode\file\example_cpp_decode_file.vcproj", "{4cefbe00-c215-11db-8314-0800200c9a66}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{4cefbc84-c215-11db-8314-0800200c9a66} = {4cefbc84-c215-11db-8314-0800200c9a66}
|
||||
{4cefbc86-c215-11db-8314-0800200c9a66} = {4cefbc84-c215-11db-8314-0800200c9a66}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{4cefbc7c-c215-11db-8314-0800200c9a66}") = "example_cpp_encode_file", "examples\cpp\encode\file\example_cpp_encode_file.vcproj", "{4cefbe01-c215-11db-8314-0800200c9a66}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{4cefbc84-c215-11db-8314-0800200c9a66} = {4cefbc84-c215-11db-8314-0800200c9a66}
|
||||
{4cefbc86-c215-11db-8314-0800200c9a66} = {4cefbc84-c215-11db-8314-0800200c9a66}
|
||||
@ -220,21 +231,33 @@ Global
|
||||
{4cefbc92-c215-11db-8314-0800200c9a66}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{4cefbc92-c215-11db-8314-0800200c9a66}.Release|Win32.Build.0 = Release|Win32
|
||||
{4cefbc93-c215-11db-8314-0800200c9a66}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{4cefbc93-c215-11db-8314-0800200c9a66}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{4cefbc93-c215-11db-8314-0800200c9a66}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{4cefbc93-c215-11db-8314-0800200c9a66}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{4cefbc94-c215-11db-8314-0800200c9a66}.Release|Win32.Build.0 = Release|Win32
|
||||
{4cefbc93-c215-11db-8314-0800200c9a66}.Release|Win32.Build.0 = Release|Win32
|
||||
{4cefbc94-c215-11db-8314-0800200c9a66}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{4cefbc94-c215-11db-8314-0800200c9a66}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{4cefbc94-c215-11db-8314-0800200c9a66}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{4cefbc94-c215-11db-8314-0800200c9a66}.Release|Win32.Build.0 = Release|Win32
|
||||
{4cefbc95-c215-11db-8314-0800200c9a66}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{4cefbc95-c215-11db-8314-0800200c9a66}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{4cefbc95-c215-11db-8314-0800200c9a66}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{4cefbc95-c215-11db-8314-0800200c9a66}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{4cefbd00-c215-11db-8314-0800200c9a66}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{4cefbc95-c215-11db-8314-0800200c9a66}.Release|Win32.Build.0 = Release|Win32
|
||||
{4cefbd00-c215-11db-8314-0800200c9a66}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{4cefbd00-c215-11db-8314-0800200c9a66}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{4cefbd00-c215-11db-8314-0800200c9a66}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{4cefbd00-c215-11db-8314-0800200c9a66}.Release|Win32.Build.0 = Release|Win32
|
||||
{4cefbd01-c215-11db-8314-0800200c9a66}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{4cefbd01-c215-11db-8314-0800200c9a66}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{4cefbd01-c215-11db-8314-0800200c9a66}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{4cefbd01-c215-11db-8314-0800200c9a66}.Release|Win32.Build.0 = Release|Win32
|
||||
{4cefbe00-c215-11db-8314-0800200c9a66}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{4cefbe00-c215-11db-8314-0800200c9a66}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{4cefbe00-c215-11db-8314-0800200c9a66}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{4cefbe00-c215-11db-8314-0800200c9a66}.Release|Win32.Build.0 = Release|Win32
|
||||
{4cefbe01-c215-11db-8314-0800200c9a66}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{4cefbe01-c215-11db-8314-0800200c9a66}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{4cefbe01-c215-11db-8314-0800200c9a66}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{4cefbe01-c215-11db-8314-0800200c9a66}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
@ -353,9 +353,13 @@ AC_CONFIG_FILES([ \
|
||||
examples/c/Makefile \
|
||||
examples/c/decode/Makefile \
|
||||
examples/c/decode/file/Makefile \
|
||||
examples/c/encode/Makefile \
|
||||
examples/c/encode/file/Makefile \
|
||||
examples/cpp/Makefile \
|
||||
examples/cpp/decode/Makefile \
|
||||
examples/cpp/decode/file/Makefile \
|
||||
examples/cpp/encode/Makefile \
|
||||
examples/cpp/encode/file/Makefile \
|
||||
include/Makefile \
|
||||
include/FLAC/Makefile \
|
||||
include/FLAC++/Makefile \
|
||||
|
@ -15,8 +15,8 @@
|
||||
# restrictive of those mentioned above. See the file COPYING.Xiph in this
|
||||
# distribution.
|
||||
|
||||
.PHONY: all example_c_decode_file example_cpp_decode_file
|
||||
all: example_c_decode_file example_cpp_decode_file
|
||||
.PHONY: all example_c_decode_file example_c_encode_file example_cpp_decode_file example_cpp_encode_file
|
||||
all: example_c_decode_file example_c_encode_file example_cpp_decode_file example_cpp_encode_file
|
||||
|
||||
DEFAULT_CONFIG = release
|
||||
|
||||
@ -33,9 +33,17 @@ release : all
|
||||
example_c_decode_file:
|
||||
(cd c/decode/file && $(MAKE) -f Makefile.lite $(CONFIG))
|
||||
|
||||
example_c_encode_file:
|
||||
(cd c/encode/file && $(MAKE) -f Makefile.lite $(CONFIG))
|
||||
|
||||
example_cpp_decode_file:
|
||||
(cd cpp/decode/file && $(MAKE) -f Makefile.lite $(CONFIG))
|
||||
|
||||
example_cpp_encode_file:
|
||||
(cd cpp/encode/file && $(MAKE) -f Makefile.lite $(CONFIG))
|
||||
|
||||
clean:
|
||||
-(cd c/decode/file && $(MAKE) -f Makefile.lite clean)
|
||||
-(cd c/encode/file && $(MAKE) -f Makefile.lite clean)
|
||||
-(cd cpp/decode/file && $(MAKE) -f Makefile.lite clean)
|
||||
-(cd cpp/encode/file && $(MAKE) -f Makefile.lite clean)
|
||||
|
@ -7,3 +7,6 @@ The "cpp" directory has analogous programs that are all in C++ and use libFLAC++
|
||||
|
||||
The programs are:
|
||||
c/decode/file/ - example_c_decode_file - Simple FLAC file decoder using libFLAC
|
||||
c/encode/file/ - example_c_encode_file - Simple FLAC file encoder using libFLAC
|
||||
cpp/decode/file/ - example_cpp_decode_file - Simple FLAC file decoder using libFLAC++
|
||||
cpp/encode/file/ - example_cpp_encode_file - Simple FLAC file encoder using libFLAC++
|
||||
|
@ -15,4 +15,4 @@
|
||||
# restrictive of those mentioned above. See the file COPYING.Xiph in this
|
||||
# distribution.
|
||||
|
||||
SUBDIRS = decode
|
||||
SUBDIRS = decode encode
|
||||
|
@ -15,4 +15,4 @@
|
||||
# restrictive of those mentioned above. See the file COPYING.Xiph in this
|
||||
# distribution.
|
||||
|
||||
SUBDIRS = decode
|
||||
SUBDIRS = decode encode
|
||||
|
Loading…
Reference in New Issue
Block a user