View Issue Details

IDProjectCategoryView StatusLast Update
0002881ardourbugspublic2020-04-19 20:14
Reportervz Assigned Topaul  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.8 
Summary0002881: [PATCH] cannot set broadcast info for audio file
DescriptionHi,

when i record a track in bwf, I get the following error:
"[ERROR]: cannot set broadcast info for audio file /path/mymusic.wav"

The old bwf file are read without error.


It's true in 2.8 and 2.8.3.

I run on ubuntu hardy.
TagsNo tags attached.

Activities

2009-10-25 03:37

 

2881.patch (758 bytes)   
diff --git a/libs/ardour/sndfilesource.cc b/libs/ardour/sndfilesource.cc
index 0217c01..b907b97 100644
--- a/libs/ardour/sndfilesource.cc
+++ b/libs/ardour/sndfilesource.cc
@@ -179,7 +179,7 @@ SndFileSource::SndFileSource (Session& s, ustring path, SampleFormat sfmt, Heade
 		
 		/* coding history is added by libsndfile */
 
-		if (sf_command (sf, SFC_SET_BROADCAST_INFO, _broadcast_info, sizeof (_broadcast_info)) != SF_TRUE) {
+		if (sf_command (sf, SFC_SET_BROADCAST_INFO, _broadcast_info, sizeof (*_broadcast_info)) != SF_TRUE) {
 			char errbuf[256];
 			sf_error_str (0, errbuf, sizeof (errbuf) - 1);
 			error << string_compose (_("cannot set broadcast info for audio file %1 (%2); dropping broadcast info for this file"), _path, errbuf) << endmsg;
2881.patch (758 bytes)   

cth103

2009-10-25 03:40

administrator   ~0006884

Thanks for the report! This should be fixed by the attached patch. It's already fixed in 3.0.

paul

2009-10-25 11:39

administrator   ~0006886

applied and committed (rev 5911). thanks carl.

system

2020-04-19 20:14

developer   ~0021995

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2009-10-24 16:03 vz New Issue
2009-10-25 03:27 cth103 Status new => confirmed
2009-10-25 03:37 cth103 File Added: 2881.patch
2009-10-25 03:37 cth103 Status confirmed => assigned
2009-10-25 03:37 cth103 Assigned To => paul
2009-10-25 03:37 cth103 cost => 0.00
2009-10-25 03:37 cth103 Summary cannot set broadcast info for audio file => [PATCH] cannot set broadcast info for audio file
2009-10-25 03:40 cth103 Note Added: 0006884
2009-10-25 11:39 paul Note Added: 0006886
2009-10-25 11:39 paul Status assigned => resolved
2009-10-25 11:39 paul Resolution open => fixed
2010-04-24 10:28 cth103 Category bugs => bugs2
2010-04-24 10:31 cth103 Category bugs2 => bugs
2020-04-19 20:14 system Note Added: 0021995
2020-04-19 20:14 system Status resolved => closed