Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 515328 Details for
Bug 636722
media-sound/audacity-2.2.0[-id3tag] : export/ExportMP3.cpp:2013:22: error: id3_tag has not been declared
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
2.2.1-id3tag.patch
2.2.1-id3tag.patch (text/plain), 2.33 KB, created by
Vladimir
on 2018-01-19 23:48:48 UTC
(
hide
)
Description:
2.2.1-id3tag.patch
Filename:
MIME Type:
Creator:
Vladimir
Created:
2018-01-19 23:48:48 UTC
Size:
2.33 KB
patch
obsolete
>diff --git a/src/export/ExportMP2.cpp b/src/export/ExportMP2.cpp >index 1aa259aed2..cae2b7dcb0 100644 >--- a/src/export/ExportMP2.cpp >+++ b/src/export/ExportMP2.cpp >@@ -322,10 +322,13 @@ wxWindow *ExportMP2::OptionsCreate(wxWindow *parent, int format) > return safenew ExportMP2Options(parent, format); > } > >+ >+#ifdef USE_LIBID3TAG > struct id3_tag_deleter { > void operator () (id3_tag *p) const { if (p) id3_tag_delete(p); } > }; > using id3_tag_holder = std::unique_ptr<id3_tag, id3_tag_deleter>; >+#endif > > // returns buffer len; caller frees > int ExportMP2::AddTags( >diff --git a/src/export/ExportMP3.cpp b/src/export/ExportMP3.cpp >index e0f8aa8248..34963fc633 100644 >--- a/src/export/ExportMP3.cpp >+++ b/src/export/ExportMP3.cpp >@@ -2009,10 +2009,12 @@ int ExportMP3::AskResample(int bitrate, int rate, int lowrate, int highrate) > return wxAtoi(choice->GetStringSelection()); > } > >+#ifdef USE_LIBID3TAG > struct id3_tag_deleter { > void operator () (id3_tag *p) const { if (p) id3_tag_delete(p); } > }; > using id3_tag_holder = std::unique_ptr<id3_tag, id3_tag_deleter>; >+#endif > > // returns buffer len; caller frees > int ExportMP3::AddTags(AudacityProject *WXUNUSED(project), ArrayOf<char> &buffer, bool *endOfFile, const Tags *tags) >diff --git a/src/export/ExportPCM.cpp b/src/export/ExportPCM.cpp >index eb2369977c..021dec4aad 100644 >--- a/src/export/ExportPCM.cpp >+++ b/src/export/ExportPCM.cpp >@@ -700,10 +700,12 @@ bool ExportPCM::AddStrings(AudacityProject * WXUNUSED(project), SNDFILE *sf, con > return true; > } > >+#ifdef USE_LIBID3TAG > struct id3_tag_deleter { > void operator () (id3_tag *p) const { if (p) id3_tag_delete(p); } > }; > using id3_tag_holder = std::unique_ptr<id3_tag, id3_tag_deleter>; >+#endif > > bool ExportPCM::AddID3Chunk(wxString fName, const Tags *tags, int sf_format) > { >diff --git a/src/import/ImportPCM.cpp b/src/import/ImportPCM.cpp >index c943b0ae10..5790551c31 100644 >--- a/src/import/ImportPCM.cpp >+++ b/src/import/ImportPCM.cpp >@@ -335,10 +335,12 @@ static wxString AskCopyOrEdit() > return oldCopyPref; > } > >+#ifdef USE_LIBID3TAG > struct id3_tag_deleter { > void operator () (id3_tag *p) const { if (p) id3_tag_delete(p); } > }; > using id3_tag_holder = std::unique_ptr<id3_tag, id3_tag_deleter>; >+#endif > > ProgressResult PCMImportFileHandle::Import(TrackFactory *trackFactory, > TrackHolders &outTracks,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 636722
:
502820
|
502822
|
502824
|
502826
|
502828
|
502830
|
502832
| 515328