ChangeLog 305 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764
  1. 2013-04-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2. * Makefile.am
  3. Make sure checkprograms are built as part of 'make test-tarball'.
  4. Closes: https://github.com/erikd/libsndfile/issues/37
  5. 2013-03-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6. * tests/dft_cmp.c
  7. Fix a buffer overflow detected using GCC 4.8's -fsantiize=address runtime
  8. error checking functionality. This was a buffer overflow in libsndfile's
  9. test suite, not in the actual library code.
  10. 2013-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  11. * M4/gcc_version.m4
  12. Fix to work with OpenBSD's sed.
  13. 2013-03-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  14. * src/ALAC/alac_encoder.c
  15. Patch from Michael Pruett (author of libaudiofile) to add correct byte
  16. swapping for the mChannelLayoutTag field.
  17. 2013-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  18. * doc/bugs.html
  19. Bugs should bt reported on the github issue tracker.
  20. 2013-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  21. * configure.ac
  22. Improve sanitization of FLAC_CFLAGS value.
  23. 2013-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  24. * src/Makefile.am
  25. Call python interpreter instead of using '#!' in script. Thanks to Jan
  26. Stary for reporting this.
  27. * doc/index.html doc/FAQ.html
  28. Make internal links relative. Patch from Jan Stary.
  29. 2013-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  30. * src/test_endswap.def src/test_endswap.tpl
  31. Add tests for psf_put_be32() and psf_put_be64().
  32. * src/sfendian.h src/test_endswap.(def|tpl)
  33. Add functions psf_get_be(16|32|64) with tests.
  34. These are needed for platforms where un-aligned accesses cause bus faults.
  35. * src/ALAC/ag_enc.c src/ALAC/alac_decoder.c
  36. Replace all un-aligned accesses with safe alternatives.
  37. Closes: https://github.com/erikd/libsndfile/issues/19
  38. 2013-02-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  39. * src/sfendian.h
  40. Add big endian versions of H2BE_16 and H2BE_32.
  41. 2013-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  42. * src/ALAC/
  43. Replace Apple endswap routines with ones from libsndfile.
  44. * merge from libsndfile-cart repo
  45. Add ability to set and get a cart chunk with WAV and RF64.
  46. Orignal patch by Chris Roberts <c.roberts@csrfm.com> required a number of
  47. tweaks.
  48. 2013-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  49. * src/common.h
  50. Bump SF_HEADER_LEN from 8192 to 12292, the value it was in the 1.0.25
  51. release.
  52. 2013-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  53. * src/alac.c
  54. Fix segfault when encoding 8 channel files.
  55. Closes: https://github.com/erikd/libsndfile/issues/30
  56. 2013-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  57. * src/ALAC/EndianPortable.c
  58. Fall back to compiler's __BYTE_ORDER__ for endian-ness detection.
  59. 2013-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  60. * configure.ac src/common.h src/ima_adpcm.c src/ms_adpcm.c src/paf.c
  61. Drop tests for and #ifdef hackery for C99 struct flexible array feature.
  62. libsndfile assumes the compiler supports most of the ISO C99 standard.
  63. * src/alac.c
  64. Fix valgrind invalid realloc. Reported by nu774.
  65. Closes: https://github.com/erikd/libsndfile/issues/31
  66. 2013-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  67. * src/alac.c
  68. The 'pakt' chunk header should now be written correctly.
  69. Closes: https://github.com/erikd/libsndfile/issues/24
  70. * configure.ac Makefile.am
  71. Use PKG_INSTALLDIR when it exists. Suggestion from Christoph Thompson.
  72. Closes: https://github.com/erikd/libsndfile/pull/28
  73. 2013-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  74. * src/common.h src/caf.c
  75. Read the ALAC 'pakt' header and stash the values.
  76. * src/sfendian.h
  77. Add functions psf_put_be64() and psf_put_be32().
  78. * src/alac.c
  79. Start work on filling on the 'pakt' chunk header.
  80. 2013-02-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  81. * doc/FAQ.html
  82. Add missing opening <P> tag.
  83. * src/alac.c
  84. Increase ALAC_BYTE_BUFFER_SIZE to 82000.
  85. 2013-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  86. * doc/FAQ.html
  87. Improve question #8.
  88. 2013-01-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  89. * src/ogg_opus.c
  90. Add skeleton implementation so someone else can run with it.
  91. 2012-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  92. * src/common.h src/dwd.c src/rx2.c src/txw.c
  93. Fix for compiling when configured with --enable-experimental. Thanks to
  94. Eric Wong for reporting this.
  95. 2012-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  96. * configure.ac programs/sndfile-play.c
  97. OS X 10.8 uses a different audio API to previous versions.
  98. Fix compile failure on by disabling sndfile-play on this version.
  99. Someone needs to supply code for the new API.
  100. 2012-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  101. * Octave/Makefile.am Octave/octave_test.sh
  102. Fix 'make distcheck'.
  103. 2012-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  104. * M4/octave.m4
  105. Relax constraints on Octave version.
  106. 2012-10-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  107. * tests/utils.tpl
  108. Improve compare_*_or_die() functions.
  109. * src/command.c
  110. Fix bug reported by Keiler Florian. When reading short or int data from a
  111. file containing float data, and setting SFC_SET_SCALE_FLOAT_INT_READ to
  112. SF_TRUE would fail 3, 5, 7 and other channels counts. Problem was that
  113. psf_calc_signal_max() was not calculating the signal max correctly.
  114. Calculation of the signal max was failing because it was trying to read
  115. a sample count that was not an integer multiple of the channel count.
  116. * tests/channel_test.c tests/Makefile.am tests/test_wrapper.sh.in
  117. Add test for the above.
  118. 2012-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  119. * src/sndfile.hh
  120. Added a constructor to allow the use of SF_VIRTUAL_IO. Patch from
  121. DannyDaemonic : https://github.com/erikd/libsndfile/pull/20
  122. 2012-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  123. * doc/octave.html
  124. Fix link to octave.sourceforge.net. Thanks to IOhannes m zmoelnig.
  125. * src/mat5.c
  126. Allow reading of mat5 files without a specified sample rate (default to
  127. 44.1kHz). Thanks to IOhannes m zmoelnig.
  128. 2012-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  129. * src/paf.c
  130. Error out if channel count is zero. Bug report from William ELla via
  131. launchpad:
  132. https://bugs.launchpad.net/ubuntu/+source/libsndfile/+bug/1036831
  133. 2012-08-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  134. * configure.ac programs/sndfile-play.c
  135. Patch from Ricci Adams to use OSX's AudioQueues on OSX 10.7 and greater.
  136. 2012-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  137. * programs/common.c
  138. Accept "ogg" as a file extention for Ogg/Vorbis files.
  139. 2012-06-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  140. * src/flac.c
  141. Make sure any previously allocated FLAC stream encoder and stream decoder
  142. objects are deleted before a new one is allocated.
  143. 2012-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  144. * tests/utils.tpl
  145. Rename gen_lowpass_noise_float() to gen_lowpass_signal_float() and add a
  146. sine wave component so that different FLAC compression levels can be
  147. tested.
  148. * src/sndfile.h.in doc/command.html
  149. Add SFC_SET_COMPRESSION_LEVEL and document it.
  150. * src/sndfile.c
  151. Catch SFC_SET_VBR_ENCODING_QUALITY command and implement it as the inverse
  152. of SFC_SET_COMPRESSION_LEVEL.
  153. * src/ogg_vorbis.c src/flac.c
  154. Implement SFC_SET_COMPRESSION_LEVEL command.
  155. * tests/test_wrapper.sh.in tests/compression_size_test.c
  156. Use the compression_size_test on FLAC as well.
  157. 2012-06-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  158. * tests/
  159. Rename vorbis_test.c -> compression_size_test.c so it can be extended to
  160. test FLAC as well.
  161. 2012-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  162. * src/broadcast.c
  163. Fix a bug where a file with a 'bext' chunk with a zero length coding
  164. history field would get corrupted when the file was closed.
  165. Reported by Paul Davis of the Ardour project.
  166. * src/test_broadcast_var.c
  167. Add a test for the above.
  168. 2012-05-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  169. * src/sndfile.c
  170. sf_format_check: For SF_FORMAT_AIFF, reject endian-ness setttings for
  171. non-PCM formats.
  172. 2012-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  173. * src/aiff.c
  174. Fix regression in handling of odd length SSND chunks.
  175. Thanks Olivier Tristan for the example file.
  176. * src/aiff.c src/wav.c
  177. Exit parser loop when marker == 0.
  178. 2012-04-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  179. * doc/FAQ.html
  180. Fix text. Thanks to Richard Collins.
  181. 2012-03-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  182. * src/caf.c
  183. Exit parse loop if the marker is zero. Pass jump offsets as size_t instead
  184. of int.
  185. 2012-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  186. * src/alac.c
  187. Fix segfault when decoding CAF/ALAC file with more than 4 channels.
  188. Fixes github issue #8 reported by Charles Van Winkle.
  189. 2012-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  190. * src/common.h
  191. Change 'typedef SF_CHUNK_ITERATOR { ... } SF_CHUNK_ITERATOR' into 'struct
  192. SF_CHUNK_ITERATOR { ... }' to prevent older compilers from complaining of
  193. re-typedef-ing of SF_CHUNK_ITERATOR.
  194. * configure.ac
  195. Fix if test for empty $prefix.
  196. 2012-03-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  197. * src/*.c tests/chunk_test.c
  198. Reworking of custom chunk handling code.
  199. - Memory for the iterator is now attached to the SF_PRIVATE struct and
  200. freed one sf_close().
  201. - Rename sf_create_chunk_iterator() -> sf_get_chunk_iterator().
  202. - Each SNDFILE handle never has more than one SF_CHUNK_ITERATOR handle.
  203. * tests/string_test.c
  204. Fix un-initialised char buffer.
  205. 2012-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  206. * src/*.c tests/chunk_test.c
  207. Add improved handling of custom chunk getting and settings. Set of patches
  208. from IOhannes m zmoelnig submitted via github pull request #6.
  209. * src/alac.c
  210. Fix calculated frame count for files with zero block length.
  211. 2012-03-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  212. * src/avr.c
  213. Remove double assignment to psf->endian. Thanks Kao Dome.
  214. * src/gsm610.c
  215. Fix clearing of buffers. Thanks Kao Dome.
  216. * src/paf.c
  217. Remove duplicate code. Thanks Kao Dome.
  218. * src/test_strncpy_crlf.c
  219. Fix minor error in test. Thanks Kao Dome.
  220. * src/common.h src/*.c
  221. Fix a bunch of valgrind errors.
  222. 2012-03-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  223. * src/sndfile.c
  224. Fix typo in error string 'Uknown' -> 'Unknown'.
  225. * tests/fix_this.c
  226. Fix potential int overflow.
  227. 2012-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  228. * src/alac.c
  229. Fix decoding of last block so that the decode length is not a multiple of
  230. the block length. Fixes github issue #4 reported by Charles Van Winkle.
  231. * src/sfconfig.h src/sfendian.h
  232. Fix for MinGW cross compiling. Use '#if (defined __*66__)' instead of
  233. '#if __*86__' because the MinGW header use '#ifdef __x86_64__'.
  234. 2012-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  235. * src/ALAC/ src/alac.c
  236. Unify the interface between libsndfile and Apple ALAC codec. Regardless of
  237. file bit width samples are now passed between the two as int32_t that are
  238. justified towards the most significant bit. Without this modification, 16
  239. conversion functions would have been needed between the libsndfile (short,
  240. int, float, double) types and the ALAC types (16, 20, 24 and 32 bit). With
  241. this mod, only 4 are needed.
  242. * tests/floating_point_test.tpl tests/write_read_test.(def|tpl)
  243. Add tests for 20 and 24 bit ALAC/CAF files.
  244. * src/command.c
  245. Add ALAC/CAF to the SFC_GET_FORMAT_* commands. Fixes github issue #5.
  246. * configure.ac
  247. Only use automake AM_SLIENT_RULES where supported. Thanks Dave Yeo.
  248. * tests/pipe_test.tpl
  249. Disable tests on OS/2. Thanks Dave Yeo.
  250. 2012-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  251. * configure.ac src/sfconfig.h src/sfendian.h
  252. For GCC, use inline assembler for endian swapping. This should work with
  253. older versions of GCC like the one currently used in OS/2.
  254. 2012-03-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  255. * src/alac.c
  256. Make sure temp file gets opened in binary mode.
  257. * src/alac.c src/common.c src/common.h
  258. Fix function alac_write16_d().
  259. * tests/floating_point_test.tpl
  260. Add tests for 16 bit ALAC/CAF.
  261. * src/alac.c src/common.c src/common.h
  262. Add support for 32 bit ALAC/CAF files.
  263. * tests/floating_point_test.tpl tests/write_read_test.tpl
  264. Add tests for 32 bit ALAC/CAF files.
  265. 2012-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  266. * src/
  267. Refactor chunk storage so it work on big as well as little endian CPUs.
  268. * tests/chunk_test.c
  269. Clean up error messages.
  270. * src/sfendian.h src/*.c
  271. Rename endian swapping macros and add ENDSWAP_64 and BE2H_64.
  272. * configure.ac
  273. Detect presence of <x86intrin.h> header file.
  274. * src/sfendian.h
  275. Use <x86intrin.h> intrinsics (ie for MinGW) when <byteswap.h> is not
  276. present.
  277. Make ENDSWAP_64() work with i686-w64-mingw32 compiler.
  278. * src/ALAC/EndianPortable.c
  279. Add support for __powerpc__.
  280. * src/sfconfig.h
  281. Make sure HAVE_X86INTRIN_H is either 1 or 0.
  282. 2012-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  283. * src/ALAC/*
  284. Big dump of code for Apple's ALAC file format. The copyyright to this code
  285. is owned by Apple who have released it under an Apache style license. A few
  286. small modifications were made to allow this to be integrated into libsndfile
  287. but unfortunately the history of those changes were lost because they were
  288. developed in a Bzr tree and during that time libsndfile moved to Git.
  289. * src/alac.c src/caf.c src/common.[ch] src/Makefile.am src/sndfile.h.in
  290. src/sndfile.c
  291. Hook new ALAC codec in.
  292. * programs/sndfile-convert.c
  293. Add support for alac codec.
  294. * tests/write_read_test.tpl
  295. Expand tests to cover ALAC.
  296. 2012-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  297. * src/aiff.c src/wav.c
  298. Fix a couple of regressions from version 1.0.25.
  299. 2012-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  300. * src/strings.c
  301. Minor refactoring. Make sure that the memory allocation size if always > 0
  302. to avoid undefined behaviour.
  303. 2012-02-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  304. * src/chunk.c
  305. Fix buffer overrun introduced in recently added chunk logging. This chunk
  306. logging has not yet made it to a libsndfile release version. Thanks to
  307. Olivier Tristan for providing an example file.
  308. * src/wav.c
  309. Fix handling of odd sized chunks which was causing the parser to lose some
  310. chunks. Thanks to Olivier Tristan for providing an example file.
  311. 2012-02-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  312. * tests/util.tpl
  313. Used gnu_printf format checking with mingw-w64 compiler.
  314. * tests/header_test.tpl
  315. Printf format fixes.
  316. 2012-02-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  317. * M4/extra_pkg.m4
  318. Update PKG_CHECK_MOD_VERSION macro to add an AC_TRY_LINK step. This fix
  319. allows the configure process to catch attempts to link incompatible
  320. libraries. For example, linking 32 bit version of eg libFLAC to a 64 bit
  321. version of libsndfile will now fail. Similarly, when cross compiling
  322. libsndfile from Linux to Windows linking the Linux versions of a library
  323. to the Windows version of libsndfile will now also fail.
  324. * src/sndfile.h.in src/sndfile.c src/common.h src/create_symbols_file.py
  325. Add API function sf_current_byterate().
  326. * src/dwvw.c src/flac.c src/ogg_vorbis.c src/sds.c
  327. Add codec specific handlers for current byterate.
  328. * tests/floating_point_test.tpl
  329. Add initial test for sf_current_byterate().
  330. 2012-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  331. * src/common.[ch]
  332. Add function psf_decode_frame_count().
  333. * src/dwvw.c
  334. Fix a termnation bug that caused the decoder to go into an infinite loop.
  335. 2012-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  336. * src/wav.c
  337. Fix a regression in the WAV header parser. Thanks to Olivier Tristan for
  338. bug report and the example file.
  339. 2012-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  340. * src/sndfile.c
  341. Return error when SF_BROADCAST_INFO struct has bad coding_history_size.
  342. Thanks to Alex Weiss for the report.
  343. 2012-02-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  344. * src/au.c src/flac.c src/g72x.c src/ogg_vorbis.c src/wav_w64.c
  345. Don't fake psf->bytewidth values.
  346. 2012-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  347. * tests/string_test.c
  348. Fix valgrind warnings.
  349. * src/common.h src/sndfile.c src/strings.c
  350. Make string storage dynamically allocated.
  351. * src/sndfile.c
  352. Add extra validation for custom chunk handling.
  353. 2012-02-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  354. * src/wav.c
  355. Improve handlling unknown chunk types. Thanks to Olivier Tristan for sending
  356. example files.
  357. * src/utils.tpl
  358. Add GCC specific testing for format string parameters for exit_if_true().
  359. * tests/*.c tests/*.tpl
  360. Fix all printf format warnings.
  361. * programs/sndfile-play.c
  362. Remove un-needed OSX include <Carbon.h>. Thanks jamesfmilne for github
  363. issue #3.
  364. * tests/chunk_test.c
  365. Extend custom chunk test.
  366. 2012-02-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  367. * src/wav.c
  368. Jump over some more chunk types while parsing.
  369. 2012-02-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  370. * src/common.h src/strings.c
  371. Change way strings are stored in SF_PRIVATE in preparation for dynamically
  372. allocating the storage.
  373. 2012-02-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  374. * src/common.h src*.c
  375. Improve encapsulation of string data in SF_PRIVATE.
  376. 2012-02-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  377. * src/common.h src*.c
  378. Remove the buffer union from SF_PRIVATE. Most uses of this have been
  379. replaced with a BUF_UNION that is allocated on the stack.
  380. 2012-01-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  381. * src/common.h src*.c
  382. Rename logbuffer field of SF_PRIVATE to parselog and reduce its size.
  383. Put the parselog buffer and the index inside a struct within SF_PRIVATE.
  384. 2012-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  385. * configure.ac
  386. Fix typo, FLAC_CLFAGS -> FLAC_CFLAGS. Thanks to Jeremy Friesner.
  387. 2012-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  388. * src/sndfile.c src/ogg.c
  389. Fix misleading error message when trying to create an SF_FORMAT_OGG file
  390. with anything other than SF_FORMAT_FILE. Thanks to Charles Van Winkle for
  391. the bug report. Github issue #1.
  392. 2012-01-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  393. * src/sndfile.c src/wav.c
  394. Allow files opened in RDWR mode with string data in the tailer to be
  395. extended. Thanks to Bodo for the patch.
  396. * tests/string_test.c
  397. Add tests for the above changes (patch from Bodo).
  398. 2012-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  399. * src/aiff.c
  400. Refactor reading of chunk size and use of psf_store_read_chunk().
  401. * src/(caf|wav).c
  402. Correct storing of chunk offset.
  403. 2012-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  404. * src/aiff.c src/wav.c src/common.h
  405. Refactor common code into src/common.h.
  406. * src/caf.c
  407. Make custom chunks work for CAF files.
  408. * tests/chunk_test.c tests/test_wrapper.sh.in
  409. Test CAF files with custom chunks.
  410. * src/sndfile.c
  411. Prevent psf->codec_close() being called more than once.
  412. 2012-01-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  413. * programs/sndfile-cmp.c
  414. Catch the case where the second file has more frames than the first.
  415. 2012-01-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  416. * src/create_symbols_file.py
  417. Add sf_set_chunk/sf_get_chunk_size/sf_get_chunk_data.
  418. 2011-12-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  419. * tests/chunk_test.c tests/Makefile.am
  420. New test for custom chunks.
  421. * src/aiff.c src/chunk.c src/common.h src/sndfile.c
  422. Make custom chunks work on AIFF files.
  423. * src/wav.c
  424. Make custom chunks work on WAV files (includes refactoring).
  425. 2011-11-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  426. * src/sndfile.h.in src/common.h src/sndfile.c
  427. Start working on setting/getting chunks.
  428. 2011-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  429. * src/binheader_writef_check.py src/create_symbols_file.py
  430. Make it work for Python 2 and 3. Thanks Michael.
  431. 2011-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  432. * libsndfile.spec.in
  433. Change field name 'URL' to 'Url'.
  434. * src/sndfile.h.in
  435. Add SF_SEEK_SET/CUR/END.
  436. 2011-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  437. * src/id3.c
  438. Fix a stack overflow that can occur when parsing a file with multiple
  439. ID3 headers which would cause libsndfile to go into an infinite recursion
  440. until it blew the stack. Thanks to Anders Svensson for supplying an example
  441. file.
  442. 2011-10-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  443. * src/double64.c src/float32.c src/common.h
  444. Make (float32|double_64)_(be|le)_read() functions const correct.
  445. 2011-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  446. * src/sfendian.h
  447. Minor tweaking of types. Cast to ptr to correct final type rather void*.
  448. * programs/sndfile-play.c tests/utils.tpl
  449. Fix compiler warnings with latest MinGW cross compiler.
  450. 2011-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  451. * src/file_io.c
  452. Use the non-deprecated resource fork name on OSX. Thanks to Olivier Tristan.
  453. 2011-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  454. * src/wav.c
  455. Jump over the 'olym' chunks when parsing.
  456. 2011-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  457. * tests/write_read_test.tpl
  458. Remove windows only truncate() implementation.
  459. 2011-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  460. * src/sd2.c src/sndfile.c
  461. Make sure 23 bit PCM SD2 files are readable/writeable.
  462. * tests/write_read_test.tpl
  463. Add tests for 32 bit PCM SD2 files.
  464. 2011-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  465. * configure.ac
  466. Use AC_SYS_LARGEFILE instead of AC_SYS_EXTRA_LARGEFILE as suggested by
  467. Jan Willies.
  468. 2011-08-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  469. * configure.ac Makefile.am
  470. Move ACLOCAL_AMFLAGS setup to Makefile.am.
  471. 2011-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  472. * doc/command.html
  473. Merge two separate blocks of SFC_SET_VBR_ENCODING_QUALITY documentation.
  474. * src/paf.c
  475. Replace ppaf24->samplesperblock with a compile time constant.
  476. 2011-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  477. * src/ogg_vorbis.c
  478. Fix return value of SFC_SET_VBR_ENCODING_QUALITY command.
  479. * doc/command.html
  480. Document SFC_SET_VBR_ENCODING_QUALITY, SFC_GET/SET_LOOP_INFO and
  481. SFC_GET_INSTRUMENT.
  482. * NEWS README configure.ac doc/*.html
  483. Updates for 1.0.25.
  484. 2011-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  485. * src/sfconfig.h
  486. Add handling for HAVE_SYS_WAIT_H.
  487. * Makefile.am src/Makefile.am tests/Makefile.am
  488. Add 'checkprograms' target.
  489. 2011-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  490. * src/common.h src/sndfile.c
  491. Purge SF_ASSERT macro. Use standard C assert instead.
  492. * src/paf.c src/common.h src/sndfile.c
  493. Fix for Secunia Advisory SA45125, heap overflow (heap gets overwritten with
  494. byte value of 0) due to integer overflow if PAF file handler.
  495. * src/ima_adpcm.c src/ms_adpcm.c src/paf.c
  496. Use calloc instead of malloc followed by memset.
  497. * tests/utils.tpl
  498. Clean up use of memset.
  499. 2011-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  500. * src/ogg.c
  501. Fix log message.
  502. * tests/format_check_test.c
  503. Fix compiler warnings.
  504. 2011-07-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  505. * src/sndfile.c
  506. Fix error message for erro code SFE_ZERO_MINOR_FORMAT.
  507. * tests/format_check_test.c
  508. Add a test to for SF_FINFO format field validation.
  509. * src/ogg.c src/ogg_vorbis.c src/ogg.h src/ogg_pcm.c src/ogg_speex.c
  510. src/common.h src/Makefile.am
  511. Move vorbis specific code to ogg_vorbis.c, add new files for handling PCM
  512. and Speex codecs in an Ogg container. The later two are only enabled with
  513. ENABLE_EXPERIMENTAL_CODE config variable.
  514. 2011-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  515. * src/strings.c
  516. Clean up and refactor storage of SF_STR_SOFTWARE.
  517. 2011-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  518. * src/sndfile.h.in doc/api.html
  519. Fix definition of SF_STR_LAST and update SF_STR_* related docs. Thanks to
  520. Tim van der Molen for the patch.
  521. 2011-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  522. * programs/sndfile-interleave.c
  523. Fix handling of argc. Thanks to Marius Hennecke.
  524. * src/wav_w64.c
  525. Accept broken WAV files with blockalign == 0. Thanks to Olivier Tristan for
  526. providing example files.
  527. * src/wav.c
  528. Jump over 'FLLR' chunks.
  529. 2011-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  530. * src/sndfile.h.in
  531. Fix -Wundef warning due to ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
  532. * configure.ac
  533. Add -Wundef to CFLAGS.
  534. * src/ogg.c
  535. Fix -Wunder warning.
  536. 2011-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  537. * configure.ac
  538. Use int64_t instead of off_t when they are the same size.
  539. * src/Makefile.am tests/Makefile.am
  540. Use check_PROGRAMS instead of noinst_PROGRAMS where appropriate.
  541. 2011-05-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  542. * src/wav.c
  543. Don't allow unknown and/or un-editable chunks to prevent the file from being
  544. opened in SFM_RDWR mode.
  545. 2011-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  546. * tests/format_check_test.c
  547. Fix segfault in test program.
  548. 2011-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  549. * tests/format_check_test.c
  550. New test program to check to make sure that sf_open() and sf_check_format()
  551. agree as to what is a valid program.
  552. * tests/Makefile.am tests/test_wrapper.sh.in
  553. Hook into build and test runner.
  554. * src/sndfile.c
  555. Fix some sf_format_check() problems. Thanks to Charles Van Winkle for the
  556. notification.
  557. 2011-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  558. * src/caf.c
  559. Add validation to size of 'data' chunk and fix size of written 'data'
  560. chunk. Thanks to Michael Pruett for reporting this.
  561. 2011-03-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  562. * src/* tests/* programs/*
  563. Fix a bunch of compiler warnings with gcc-4.6.
  564. 2011-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  565. * tests/util.tpl
  566. Add NOT macro to util.h.
  567. * src/strings.c
  568. Fix handling of SF_STR_SOFTWARE that resulted in a segfault due to calling
  569. strlen() on an unterminated string. Thanks to Francois Thibaud for reporting
  570. this problem.
  571. * tests/string_test.c
  572. Add test for SF_STR_SOFTWARE segfault bug.
  573. * configure.ac
  574. Sanitize FLAC_CFLAGS value supplied by pkg-config which returns a value of
  575. '-I${includedir}/FLAC'. However FLAC also provides an include file
  576. <assert.h> which clashes with the Standard C header of the same name. The
  577. solution is strip the 'FLAC' part off the end and include all FLAC headers
  578. as <FLAC/header.h>.
  579. * configure.ac src/Makefile.am
  580. Use non-recursive make in src/ directory.
  581. 2011-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  582. * NEWS README docs/*.html
  583. Updates for 1.0.24 release.
  584. 2011-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  585. * configure.ac
  586. Fix up usage of sed (should not assume GNU sed).
  587. * M4/add_(c|cxx)flags.m4
  588. Test flags in isolation.
  589. * tests/cpp_test.cc
  590. Fix a broken test (test segfaults). Report by Dave Flogeras.
  591. 2011-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  592. * programs/common.[ch]
  593. Add function program_name() which returns the program name minus the path
  594. from argv [0].
  595. * programs/*.c programs/Makefile.am
  596. Use program_name() where appropriate. Fix build.
  597. 2011-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  598. * src/wav.c
  599. For u-law and A-law files, write an 18 byte 'fmt ' chunk instead of a 16
  600. byte one. Win98 accepts files with a 16 but not 18 byte 'fmt' chunk. Later
  601. version accept 18 byte but not 16 byte.
  602. 2011-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  603. * doc/FAQ.html
  604. Add examples for question 12.
  605. * doc/libsndfile.css.in
  606. Add tweaks for h4 element.
  607. * doc/api.html
  608. Add documentation for virtual I/O functionality. Thanks to Uli Franke.
  609. * tests/util.tpl
  610. Add static inline functions sf_info_clear() and sf_info_setup().
  611. * tests/(alaw|dwvw|ulaw)_test.c
  612. Use functions sf_info_clear() and sf_info_setup().
  613. 2011-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  614. * configure.ac
  615. Fail more gracefully if pkg-config is missing. Suggestion from Brian
  616. Willoughby.
  617. 2011-02-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  618. * src/common.c
  619. Use size_t instead of int for size params with varargs.
  620. 2011-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  621. * doc/index.html
  622. Update supported platforms with more Debian platforms and Android.
  623. 2011-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  624. * src/sndfile.hh
  625. Add an LPCWSTR version of the SndfileHandle constructor to the SndfileHandle
  626. class definition. Thanks to Eric Eizenman for pointing out this was missing.
  627. * tests/cpp_test.cc
  628. Add test for LPCWSTR version of the SndfileHandle constructor.
  629. 2011-01-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  630. * programs/sndfile-play.c
  631. Remove cruft.
  632. 2010-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  633. * src/sndfile.hh
  634. Add methods rawHandle() and takeOwnership(). Thanks to Tim Blechmann for
  635. the patch.
  636. * tests/cpp_test.cc
  637. Add tests for above two methods. Also supplied by Tim Blechmann.
  638. 2010-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  639. * doc/api.html
  640. Add mention of use of sf_strerror() when sf_open() fails.
  641. 2010-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  642. * configure.ac
  643. Make TYPEOF_SF_COUNT_T int64_t where possible. This may fix problems where
  644. people are compiling on a 64 bit system with the GCC -m32 flag.
  645. * src/sndfile.h.in
  646. Fix comments on sf_count_t.
  647. 2010-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  648. * src/aiff.c
  649. Handle non-zero offset field in SSND chunk. Thanks to Michael Chinen.
  650. 2010-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  651. * configure.ac
  652. Sed fix for FreeBSD. Thanks Tony Theodore.
  653. 2010-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  654. * shave.in M4/shave.m4
  655. Fix shave invocation of windres compiler. Thanks Damien Lespiau (upstream
  656. shave author).
  657. * configure.ac M4/shave.m4 shave-libtool.in shave.in
  658. Switch from shave to automake-1.11's AM_SILENT_RULES.
  659. 2010-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  660. * shave-libtool.in shave.in
  661. Sync to upstream version.
  662. * src/rf64.c
  663. More work to make the parser more robust and accepting of mal-formed files.
  664. 2010-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  665. * src/common.h
  666. Add functions psf_strlcpy() and psf_strlcat().
  667. * src/broadcast.c src/sndfile.c src/strings.c src/test_main.c
  668. src/test_main.h src/test_strncpy_crlf.c
  669. Use functions psf_strlcpy() and psf_strlcat() as appropriate.
  670. * tests/string_test.c
  671. Add tests for SF_STR_GENRE and SF_STR_TRACKNUMBER.
  672. * src/rf64.c
  673. Fix size of 'ds64' chunk when writing RF64.
  674. 2010-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  675. * programs/*.c
  676. Add the libsndfile version to the usage message of all programs.
  677. 2010-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  678. * configure.ac src/version-metadata.rc.in src/Makefile.am
  679. Add version string resources to the windows DLL.
  680. * doc/api.html
  681. Update to add missing SF_FORMAT_* values. Closed Debian bug #545257.
  682. * NEWS README configure.ac doc/*.html
  683. Updates for 1.0.23 release.
  684. 2010-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  685. * tests/pedantic-header-test.sh.in
  686. Handle unusual values of CC environment variable.
  687. * src/rf64.c
  688. Minor tweaks and additional sanity checking.
  689. * src/Makefile.am src/binheader_writef_check.py
  690. Use python 2.6.
  691. 2010-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  692. * src/sndfile.hh
  693. Add a missing 'inline' before a constructor defintion.
  694. 2010-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  695. * src/common.h
  696. Add macro NOT.
  697. * src/rf64.c
  698. Minor tweaks.
  699. * Makefile.am */Makefile.am
  700. Add *~ to CLEANFILES.
  701. 2010-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  702. * src/sndfile.c
  703. Fix a typo in the error string for SFE_OPEN_PIPE_RDWR. Thanks to Charles
  704. Van Winkle for the report.
  705. 2010-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  706. * src/flac.c src/ogg.c src/sndfile.h.in src/strings.c src/wav.c
  707. Add ability to read/write tracknumber and genre to flac/ogg/wav files.
  708. Thanks to Matti Nykyri for the patch.
  709. * src/common.h src/broadcast.c src/strings.c
  710. Add function psf_safe_strncpy() and use where appropriate.
  711. 2010-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  712. * NEWS README configure.ac doc/*.html
  713. Updates for 1.0.22 release.
  714. 2010-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  715. * src/common.h src/broadcast.c src/rf64.c src/sndfile.c src/wav.c
  716. Rewrite of SF_BROADCAST_INFO handling.
  717. * src/test_broadcast_var.c tests/command_test.c
  718. Tweak SF_BROADCAST_INFO tests.
  719. * src/test_broadcast_var.c
  720. Fix OSX stack check error.
  721. 2010-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  722. * src/sds.c
  723. Set sustain_loop_end to 0 as suggested by Brian Lewis.
  724. 2010-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  725. * src/sds.c
  726. Make sure the correct frame count gets written into the header.
  727. * tests/write_read_test.tpl
  728. Don't allow SDS files to have a long frame count.
  729. 2010-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  730. * src/sds.c
  731. Apply a pair of patches from Brian Lewis to fix the packet number location
  732. and the checksum.
  733. 2010-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  734. * src/aiff.c src/file_io.c src/ogg.c src/rf64.c src/sndfile.c
  735. src/strings.c src/test_audio_detect.c src/test_strncpy_crlf.c
  736. src/wav.c tests/pcm_test.tpl
  737. Fix a bunch of minor issues found using static analysis.
  738. 2010-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  739. * src/test_broadcast_var.c
  740. New file containing tests for broadcast_set_var().
  741. * src/Makefile.am src/test_main.[ch]
  742. Hook test_broadcast_var.c into tests.
  743. 2010-08-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  744. * src/broadcast.c src/common.(c|h)
  745. Move function strncpy_crlf() to src/common.c so the function can be tested
  746. in isolation.
  747. * src/test_strncpy_crlf.c
  748. New file.
  749. * src/Makefile.am src/test_main.[ch]
  750. Hook test_strncpy_crlf.c into tests.
  751. 2010-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  752. * src/common.h
  753. Move code around to make comments make sense.
  754. * src/broadcast.c
  755. Add debugging code that is disabled by default.
  756. 2010-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  757. * src/flac.c
  758. When the file meta data says the file has zero frames set psf->sf.frames
  759. to SF_COUNT_MAX. Fixes Debian bug #590752.
  760. * programs/sndfile-info.c
  761. Print 'unknown' if frame count == SF_COUNT_MAX.
  762. 2010-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  763. * src/sndfile.c
  764. Only support writing mono SVX files. Multichannel SVX files are not
  765. interleaved and there is no support infrastructure to cache and write
  766. multiple channels to create a non-interleaved file.
  767. * src/file_io.c
  768. Don't call close() on a file descriptor of -1. Thanks to Jeremy Friesner
  769. for the bug report.
  770. 2010-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  771. * src/common.h
  772. Add macro SF_ASSERT.
  773. * src/sndfile.c
  774. Use SF_ASSERT to ensure sizeof (sf_count_t) == 8.
  775. * src/svx.c
  776. Add support for reading and writing stereo SVX files.
  777. 2010-05-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  778. * configure.ac
  779. When compiling with x86_64-w64-mingw32-gcc link with -static-libgcc flags.
  780. * programs/common.c programs/sndfile-metadata-set.c
  781. Update metadata after the audio data is copied. Other minor fixes. Patch
  782. from Marius Hennecke.
  783. 2010-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  784. * src/nist.c
  785. Fix a regression reported by Hugh Secker-Walker.
  786. * src/api.html
  787. Add comment about sf_open_fd() not working on Windows if the application
  788. and the libsndfile DLL are linked to different versions of the Microsoft
  789. C runtime DLL.
  790. 2010-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  791. * tests/pedantic-header-test.sh.in
  792. Fix 'make distcheck'.
  793. 2010-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  794. * tests/pedantic-header-test.sh.in
  795. New file to test whether sndfile.h can be compiled with gcc's -pedantic
  796. flag.
  797. * configure.ac tests/test_wrapper.sh.in
  798. Hook pedantic-header-test into test suite.
  799. * src/sndfile.h.in
  800. Fix -pedantic warning.
  801. 2010-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  802. * programs/sndfile-salvage.c programs/Makefile.am
  803. New program to salvage the audio data from WAV/WAVEX/AIFF files which are
  804. greater than 4Gig in size.
  805. 2010-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  806. * programs/sndfile-convert.c
  807. Fix valgrind warning.
  808. 2010-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  809. * programs/sndfile-cmp.c
  810. When files differ in the PCM data, also print the difference offset.
  811. Minor cleanup.
  812. 2010-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  813. * src/aiff.c
  814. Don't use the 'twos' marker for 24 and 32 bit PCM, use 'in24' and 'in32'
  815. instead. Thanks to Paul Davis (Ardour) for this suggestion.
  816. 2010-02-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  817. * configure.ac
  818. Clean up configure report.
  819. * tests/utils.tpl
  820. Add functions test_read_raw_or_die and test_write_raw_or_die.
  821. * tests/rdwr_test.(def|tpl) tests/Makefile.am
  822. Add new test program and hook into build.
  823. * src/sndfile.c
  824. Fix minor issues with sf_read/write_raw(). Bug reported by Milan Křápek.
  825. * tests/test_wrapper.sh.in
  826. Add rdwr_test to the test wrapper script.
  827. 2010-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  828. * configure.ac
  829. Remove -fpascal-strings from OSX's OS_SPECIFIC_CFLAGS.
  830. * programs/common.[ch] programs/sndfile-metadata-set.c
  831. Apply a patch from Robin Gareus allowing the setting of the time reference
  832. field of the BEXT chunk.
  833. 2010-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  834. * src/ima_adpcm.c
  835. Add a fix from Jonatan Liljedahl to handle predictor overflow when decoding
  836. IMA4.
  837. 2010-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  838. * src/sndfile.hh
  839. Add a constructor which takes an existing file descriptor and then calls
  840. sf_open_fd(). Patch from Sakari Bergen.
  841. 2010-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  842. * programs/sndfile-deinterleave.c programs/sndfile-interleave.c
  843. Improve usage messages.
  844. 2010-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  845. * src/id3.c src/Makefile.am
  846. Add new file src/id3.c and hook into build.
  847. * src/sndfile.c src/common.h
  848. Detect and skip and ID3 header at the start of the file.
  849. 2010-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  850. * programs/common.c
  851. Fix update_strings() copyright, comment, album and license are correctly
  852. written. Thanks to Todd Allen for reporting this.
  853. * man/Makefile.am
  854. Change GNU makeism to something more widely supported. Thanks to Christian
  855. Weisgerber for reporting this.
  856. * configure.ac programs/Makefile.am programs/sndfile-play.c
  857. Apply patch from Christian Weisgerber and Jacob Meuserto add support for
  858. OpenBSD's sndio.
  859. 2010-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  860. * doc/api.html
  861. Discourage the use of sf_read/write_raw().
  862. 2009-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  863. * configure.ac
  864. Test for Unix pipe() and waitpid() functions.
  865. * src/sfconfig.h tests/pipe_test.tpl
  866. Disable pipe_test if pipe() and waitpid() aren't available.
  867. 2009-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  868. * configure.ac src/Makefile.am src/create_symbols_file.py
  869. src/make-static-lib-hidden-privates.sh
  870. Change name of generated file src/Symbols.linux to Symbols.gnu-binutils and
  871. and use the same symbols file for other systems which use GNU binutils like
  872. Debian's kfreebsd.
  873. * M4/shave.m4 shave.in
  874. Update shave files from upstream.
  875. 2009-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  876. * man/sndfile-metadata-get.1
  877. Fix typo.
  878. * man/sndfile-interleave.1 man/Makefile.am
  879. New man page.
  880. 2009-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  881. * src/ogg.c
  882. When decoding to short or int, clip the decoded signal to [-1.0, 1.0] if
  883. its too hot. Thanks to Dmitry Baikov for suggesting this.
  884. * NEWS README doc/*.html
  885. Updates for 1.0.21.
  886. 2009-12-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  887. * programs/sndfile-jackplay.c man/sndfile-jackplay.1
  888. Remove these which will now be in found in the sndfile-tools package.
  889. * programs/Makefile.am man/Makefile.am
  890. Remove build rules for sndfile-jackplay.
  891. * configure.ac
  892. Remove detection of JACK Audio Connect Kit.
  893. * programs/sndfile-concat.c man/sndfile-concat.1
  894. Add new program with man page.
  895. * man/Makefile.am programs/Makefile.am
  896. Hook sndfile-concat into build system.
  897. 2009-12-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  898. * tests/error_test.c
  899. Don't terminate when sf_close() returns zero in error_close_test().
  900. It seems that Windows 7 behaves differently from earlier versions of
  901. Windows.
  902. 2009-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  903. * configure.ac M4/*.m4
  904. Rename all custom macros from AC_* to MN_*.
  905. * programs/sndfile-interleave.c
  906. Make it actually work.
  907. 2009-12-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  908. * doc/*.html configure.ac
  909. Corrections and clarifications courtesy of Robin Forder.
  910. * programs/sndfile-convert.c programs/common.[ch]
  911. Move some code from convert to common for reuse.
  912. * programs/sndfile-interleave.c programs/sndfile-interleave.c
  913. Add new programs sndfile-interleave and sndfile-deinterleave.
  914. * programs/Makefile.am
  915. Hook new programs into build.
  916. 2009-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  917. * src/create_symbols_file.py tests/stdio_test.c tests/win32_test.c
  918. Minor OS/2 tweaks as suggested by David Yeo.
  919. * tests/multi_file_test.c
  920. Fix file creation flags on windows. Thanks to Bruce Sharpe.
  921. * src/sf_unistd.h
  922. Set all group and other file create permssions to zero.
  923. * tests/win32_test.c
  924. Add a new test.
  925. 2009-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  926. * doc/print.css doc/*.html
  927. Add a print stylesheet and update all HTML documents to reference it.
  928. Thanks to Aditya Bhargava for suggesting this.
  929. * doc/index.html
  930. Minor corrections.
  931. 2009-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  932. * sndfile.pc.in
  933. Add a Libs.private entry to assist with static linking.
  934. 2009-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  935. * src/make-static-lib-hidden-privates.sh src/Makefile.am
  936. Add a script to hide all non-public symbols in the libsndfile.a static
  937. library.
  938. 2009-11-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  939. * tests/locale_test.c
  940. Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
  941. 2009-11-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  942. * src/windows.c
  943. Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
  944. 2009-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  945. * programs/sndfile-convert.c
  946. Allow the program to read from stdin by specifying '-' on the command line
  947. as the input file.
  948. * src/sndfile.h.in
  949. Hash define ENABLE_SNDFILE_WINDOWS_PROTOTYPES to 1 for greater safety.
  950. * tests/virtual_io_test.c
  951. Add a PAF/PCM_24 test and verify the file length is not negative
  952. immediately after openning the file for write.
  953. 2009-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  954. * src/wav.c
  955. When writing loop lengths, adjust the end position by one to make up for
  956. Microsoft's screwed up spec. Thanks to Olivier Tristan for the patch.
  957. 2009-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  958. * src/flac.c
  959. Apply patch from Uli Franke allowing FLAC files to be encoded at any sample
  960. rate.
  961. 2009-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  962. * src/nist.c
  963. Fix parsing of odd ulaw encoded file provided by Jan Silovsky.
  964. * configure.ac
  965. Insist on libvorbis >= 1.2.3. Earlier verions have bugs that cause the
  966. libsndfile test suite to fail on MIPS, PowerPC and others.
  967. See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549899
  968. 2009-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  969. * man/sndfile-convert.1
  970. Fix warning from Debian's lintian checks.
  971. * man/sndfile-cmp.1 man/sndfile-jackplay.1 man/sndfile-metadata-get.1
  972. man/Makefile.am
  973. Add three new minimal manpages and hook into build.
  974. 2009-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  975. * tests/test_wrapper.sh.in
  976. Don't run cpp_test on x86_64-w64-mingw32.
  977. 2009-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  978. * tests/utils.tpl
  979. On windows, make sure the open() function doesn't get called with a third
  980. parameter of 0 which fails for no good reason. Also make sure this third
  981. parameter doesn't get called with S_IRGRP when compiling for windows because
  982. Wine complains.
  983. * src/sndfile.hh
  984. Add a SndfileHandle constructor for windows that takes a 'const wchar_t *'
  985. string.
  986. * doc/FAQ.html
  987. Add Q/A : I'm cross compiling libsndfile for another platform. How can I
  988. run the test suite?
  989. * src/create_symbols_file.py src/Makefile.am
  990. Add Symbols.static target, a list of symbols, one per line.
  991. 2009-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  992. * tests/test_wrapper.sh.in
  993. Update to allow all tests to be gathered up into a testsuite tarball and
  994. then be run using this script.
  995. * build-test-tarball.mk.in
  996. Add a Make script to build a tarball of all the test binaries and the test
  997. wrapper script. This is useful for cross compiling; you can build the
  998. binaries, build test test tarball and transfer the test tarball to the
  999. target machine for testing.
  1000. 2009-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1001. * src/common.h src/*.c
  1002. Modify SF_FILE struct to allow it to carry either 8-bit or 16-bit strings
  1003. for the file path, directory and name. Fixes for this change throughout.
  1004. * src/windows.c src/Makefile.am
  1005. New file defining new windows only public function sf_wchar_open() which
  1006. takes a 'const wchar_t *' string (LPCWSTR) for the file name parameter.
  1007. * src/sndfile.h.in
  1008. Add SF_CHANNEL_MAP_ABISONIC_* entries.
  1009. Add windows only defintion for sf_wchar_open().
  1010. * src/create_symbols_file.py
  1011. Add sf_wchar_open() to the list of public symbols (windows only).
  1012. * tests/locale_test.c
  1013. Add a wchar_test() to test sf_wchar_open().
  1014. 2009-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1015. * src/common.h src/*.c
  1016. Split file stuff into PSF_FILE struct within the SF_PRIVATE struct.
  1017. 2009-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1018. * src/aiff.c src/voc.c
  1019. When a byte is needed, use unsigned char.
  1020. * src/ima_oki_adpcm.c src/broadcast.c src/test_ima_oki_adpcm.c
  1021. Include sfconfig.h to prevent compile errors with MinGW compilers.
  1022. * configure.ac
  1023. Remove AM_CONFIG_HEADER due to warnings from autoconf 2.64.
  1024. * tests/locale_test.c
  1025. Update to work with xx_XX.UTF-8 style locales. Refactoring.
  1026. 2009-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1027. * configure.ac
  1028. Set __USE_MINGW_ANSI_STDIO to 1 when compiling using MinGW compilers.
  1029. Remove unneeded AC_SUBST.
  1030. Report Host CPU/OS/vendor.
  1031. 2009-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1032. * src/sndfile.c
  1033. Fix error message string.
  1034. * src/flac.c
  1035. Add 88200 to the list of supported sample rates.
  1036. * src/ogg.c
  1037. Fix compiler warning when using gcc-4.5.0.
  1038. * programs/sndfile-info.c tests/utils.tpl
  1039. Remove WIN32 snprintf #define.
  1040. * src/ima_adpcm.c
  1041. Fix minor bug in aiff_ima_encode_block. Thanks to Denis Fileev for finding
  1042. this.
  1043. 2009-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1044. * src/caf.c
  1045. Use the correct C99 format specifier for int64_t.
  1046. * M4/endian.m4
  1047. Fix detection of CPU endian-ness when cross compiling. Thanks to Pierre
  1048. Ossman for the bug report.
  1049. * src/caf.c src/sndfile.c
  1050. Fix reading and writing of PEAK chunks in CAF files.
  1051. * tests/peak_chunk_test.c tests/test_wrapper.sh.in
  1052. Run peak_chunk_test on CAF files.
  1053. 2009-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1054. * src/aiff.c src/wav.c
  1055. Use the correct C99 format specifier for int64_t.
  1056. 2009-08-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1057. * src/rf64.c src/sndfile.c src/wav.c src/wav_w64.h
  1058. Apply a patch (massaged slightly) from Uli Franke adding handling of the
  1059. BEXT chunk in RF64 files.
  1060. * tests/command_test.c
  1061. Update channel_map_test() function so WAV test passes.
  1062. * src/rf64.c
  1063. Add channel mapping and ambisonic support.
  1064. * src/sndfile.h
  1065. Add comments showing correspondance between libsndfile channel map
  1066. defintiions and those used by Apple and MS.
  1067. Add handling of reading/writing channel map info.
  1068. * tests/command_test.c tests/test_wrapper.sh.in
  1069. Update channel map tests.
  1070. 2009-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1071. * src/common.h
  1072. Add function psf_isprint() a replacement for the standard C isprint()
  1073. function which ignores any locale settings and treats all input as ASCII.
  1074. * src/(aiff|common|rf64|sd2|strings|svx|wav).c
  1075. Use psf_isprint() instead of isprint().
  1076. 2009-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1077. * src/command.c
  1078. Add string descriptions for SF_FORMAT_RF64 and SF_FORMAT_MPC2K.
  1079. 2009-06-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1080. * programs/sndfile-play.c
  1081. Allow use of Open Sound System audio output under FreeBSD.
  1082. 2009-06-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1083. * configure.ac
  1084. Add patch from Conrad Parker to add --disable-jack.
  1085. 2009-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1086. * src/alaw.c src/float32.c src/htk.c src/pcm.c src/sds.c src/ulaw.c
  1087. Fix bugs where invalid files can cause a divide by zero error (SIGFPE).
  1088. Thanks to Sami Liedes for reporting this a Debian bug #530831.
  1089. 2009-05-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1090. * src/chanmap.[ch]
  1091. New files for channel map decoding/encoding.
  1092. 2009-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1093. * configure.ac src/sndfile.h.in
  1094. Fix MSVC definition of sf_count_t.
  1095. 2009-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1096. * src/wav_w64.[ch]
  1097. Add wavex_channelmask to WAV_PRIVATE struct and add a function to convert
  1098. an array of SF_CHANNEL_MASK_* values into a bit mask for use in WAV files.
  1099. * src/wav.c
  1100. Add ability to write the channel mask.
  1101. 2009-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1102. * programs/sndfile-info.c
  1103. Add -c command line option to dump the channel map information.
  1104. * src/wav_w64.c
  1105. Don't bail from parser if channel map bitmask is faulty.
  1106. * src/common.h src/sndfile.c
  1107. Remove error code SFE_W64_BAD_CHANNEL_MAP which is not needed any more.
  1108. * src/sndfile.c
  1109. On SFC_SET_CHANNEL_MAP_INFO pass the channel map command down to container's
  1110. command handler.
  1111. 2009-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1112. * src/sndfile.h.in src/common.h src/sndfile.c src/wav_w64.c
  1113. Apply a patch from Lennart Poettering (PulseAudio) to allow reading of
  1114. channel data in WAV and W64 files.
  1115. Add a test for the above.
  1116. 2009-05-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1117. * src/FAQ.html
  1118. Update the section about pre-compiled binaries for Win64.
  1119. 2009-05-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1120. * src/common.h src/test_conversions.c
  1121. Be more careful when including <stdint.h> so compiling on pre-C99 platforms
  1122. (hello Slowlaris) might actually work.
  1123. * NEWS README doc/*.html
  1124. Updates for 1.0.20.
  1125. 2009-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1126. * src/voc.c
  1127. Fix a bug whereby opening a specially crafted VOC file could result in a
  1128. heap overflow. Thanks to Tobias Klein (http://www.trapkit.de) for reporting
  1129. this issue.
  1130. * src/aiff.c
  1131. Fix potential (heap) buffer overflow when parsing 'MARK' chunk.
  1132. 2009-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1133. * tests/stdin_test.c
  1134. Check psf->error after opening file.
  1135. * src/file_io.c
  1136. Fix obscure seeking bug reported by Hugh Secker-Walker.
  1137. * tests/utils.tpl
  1138. Add check of sf_error to test_open_file_or_die().
  1139. * src/sndfile.c
  1140. Clear error if opening resource fork fails.
  1141. 2009-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1142. * tests/alaw_test.c tests/locale_test.c tests/ulaw_test.c
  1143. Cleanup output.
  1144. 2009-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1145. * src/float32.c
  1146. Fix f2s_clip_array.
  1147. 2009-03-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1148. * src/float32.c
  1149. In host_read_f2s call convert instead of f2s_array.
  1150. * src/ima_adpcm.c
  1151. Remove dead code.
  1152. * src/test_ima_oki_adpcm.c examples/generate.c tests/dither_test.c
  1153. tests/dwvw_test.c tests/fix_this.c tests/generate.c
  1154. tests/multi_file_test.c
  1155. Minor fixes.
  1156. 2009-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1157. * M4/shave.m4 shave.in
  1158. Pulled update from upstream.
  1159. 2009-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1160. * doc/api.html
  1161. Add pointers to example programs in source code tarball.
  1162. 2009-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1163. * src/common.h
  1164. Define SF_PLATFORM_S64 for non-gcc compilers with 'long long' type.
  1165. * configure.ac
  1166. Add documentation for --disable-external-libs and improve error handling
  1167. for that option.
  1168. * src/sndfile.c src/sndfile.h.in src/create_symbols_file.py
  1169. Add public function sf_version_string.
  1170. * tests/sfversion.c
  1171. Test function sf_version_string.
  1172. * M4/shave.m4 shave-libtool.in shave.in
  1173. Add new files from 'git clone git://git.lespiau.name/shave'.
  1174. * configure.ac
  1175. Enable shave.
  1176. * src/Makefile.am src/binheader_writef_check.py Octave/*
  1177. Shave related tweaks.
  1178. 2009-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1179. * src/common.h src/caf.c src/sndfile.c
  1180. Add SF_MAX_CHANNELS (set to 256) and use it.
  1181. * src/sndfile.h.in
  1182. Check for either _MSCVER or _MSC_VER being defined.
  1183. 2009-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1184. * tests/vorbis_test.c
  1185. Relax test slighly to allow test to pass on more CPUs etc.
  1186. 2009-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1187. * configure.ac
  1188. Detect vorbis_version_string() correctly.
  1189. 2009-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1190. * doc/index.html
  1191. Add a 'See Also' section with a link to sndfile-tools.
  1192. * NEWS README doc/*.html
  1193. Updates for 1.0.19 release.
  1194. * configure.ac
  1195. Fix --enable-external-libs logic.
  1196. 2009-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1197. * src/aiff.c
  1198. Fix resource leak and potential read beyond end of buffer.
  1199. * src/nist.c
  1200. Fix reading of header value sample_n_bytes.
  1201. * src/sd2.c src/wav.c
  1202. Fix potential read beyond end of buffer.
  1203. * src/sndfile.c src/svx.c
  1204. Check return values of file_io functions.
  1205. * tests/win32_test.c
  1206. Fix resource leak.
  1207. * configure.ac
  1208. Detect the presence/absence of vorbis_version_string() in libvorbis.
  1209. * src/ogg.c
  1210. Only call vorbis_version_string() from libvorbis if present.
  1211. 2009-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1212. * tests/win32_test.c
  1213. Don't use sprintf, even on windows.
  1214. * src/aiff.c src/rf64.c src/wav.c
  1215. Eliminate dead code, more validation of data read from file.
  1216. 2009-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1217. * src/ima_adpcm.c
  1218. Clamp values to a valid range before indexing ima_step_size array.
  1219. * src/GSM610/*.c tests/*c programs/*.c src/audio_detect.c
  1220. Don't include un-needed headers.
  1221. * programs/sndfile-info.c
  1222. Remove dead code.
  1223. * tests/test_wrapper.sh.in
  1224. Add 'set -e' so the script exits on error.
  1225. * src/test_ima_oki_adpcm.c
  1226. Fix read beyond end of array.
  1227. * tests/win32_test.c
  1228. Add missing close on file descriptor.
  1229. * src/nist.c programs/sndfile-metadata-set.c
  1230. Fix 'unused variable' warnings.
  1231. * src/aiff.c
  1232. Fix potential memory leak in handling of 'MARK' chunk.
  1233. Remove un-needed test (unsigned > 0).
  1234. * src/sd2.c
  1235. Improve handling of heap allocated buffer.
  1236. * src/sndfile.c
  1237. Remove un-needed test (always true).
  1238. * src/wav.c src/rf64.c
  1239. Ifdef out dead code that will be resurected some time in the future.
  1240. * src/wav.c src/w64.c src/xi.c
  1241. Handle error return values from psf_ftell.
  1242. * src/wav_w64.c
  1243. Fix handling and error checking of MSADPCM coefficient arrays.
  1244. * regtest/*.c
  1245. Bunch of fixes.
  1246. * src/test_file_io.c
  1247. Use snprintf instead of strncpy in test program.
  1248. 2009-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1249. * src/sd2.c
  1250. Validate data before using.
  1251. * src/caf.c
  1252. Validate channels per frame value before using, fixing a possible integer
  1253. overflow bug, leading to a possible heap overflow. Found by Alin Rad Pop of
  1254. Secunia Research (CVE-2009-0186).
  1255. 2009-02-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1256. * Octave/octave_test.sh
  1257. Unset TERM environment variable and export LD_LIBRARY_PATH.
  1258. 2009-02-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1259. * src/file_io.c
  1260. In windows code, cast LPVOID to 'char*' in printf.
  1261. 2009-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1262. * M4/octave.m4
  1263. Clear the TERM environment before evaluating anything in Octave. This works
  1264. around problems that might occur if a users TERM settings are incorrect.
  1265. Thanks to Rob Til Freedmen for helping to debug this.
  1266. * src/wav.c
  1267. Handle four zero bytes as a marker within a LIST or INFO chunk.
  1268. Thanks to Rogério Brito for supplying an example file.
  1269. 2009-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1270. * src/common.h src/*.c
  1271. Use C99 snprintf everywhere.
  1272. 2009-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1273. * tests/test_wrapper.sh.in
  1274. New file to act as the template for the test wrapper script.
  1275. * configure.ac
  1276. Generate tests/test_wrapper.sh from the template.
  1277. * tests/Makefile.am
  1278. Replace all tests with a single invocation of the test wrapper script.
  1279. 2009-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1280. * src/ogg.c
  1281. Record vorbis library version string.
  1282. * configure.ac
  1283. Require libvorbis >= 1.2.2.
  1284. * M4/endian.m4
  1285. Fix bracketing of function for autoconf 2.63. Thanks to Richard Ash.
  1286. * M4/octave.m4 M4/mkoctfile_version.m4
  1287. Clean up AC_WITH_ARG usage using AC_HELP_STRING.
  1288. 2009-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1289. * Octave/Makefile.am
  1290. Use $(top_buildir) instead of $(builddir) which may not be defined.
  1291. * M4/octave.m4
  1292. Improve logic and status reporting.
  1293. 2009-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1294. * configure.ac AUTHORS NEWS README doc/*.html
  1295. Final tweaks for 1.0.18 release.
  1296. 2009-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1297. * programs/sndfile-convert.c
  1298. Add 'htk' to the list of convert formats.
  1299. * programs/sndfile-info.c
  1300. Simplify get_signal_max using SFC_CALC_SIGNAL_MAX command.
  1301. Increase size of files for which signal max will be calculated.
  1302. 2009-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1303. * doc/index.html
  1304. Fix links for SoX and WavPlay. Thanks to Daniel Griscom.
  1305. 2009-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1306. * programs/sndfile-metadata-get.c
  1307. Make valgrind clean.
  1308. Clean up temp string array usage.
  1309. Error out if trying to update coding history in RDWR mode.
  1310. 2009-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1311. * doc/index.html
  1312. Fix links to versions of the LGPL.
  1313. 2008-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1314. * tests/string_test.c
  1315. Add test for RDWR mode where the file ends up shorter than when it was
  1316. opened.
  1317. * src/wav.c
  1318. Truncate the file on close for RDWR mode where the file ends up shorter
  1319. than when it was opened.
  1320. 2008-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1321. * M4/add_cflags.m4
  1322. Fix problem with quoting of '#include'.
  1323. * M4/add_cxxflags.m4 configure.ac
  1324. Add new file M4/add_cxxflags.m4 and use it in configure.ac.
  1325. 2008-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1326. * programs/sndfile-info.c
  1327. Apply patch from Conrad Parker to calculate and display total duration when
  1328. more than one file is dumped.
  1329. 2008-11-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1330. * configure.ac src/Makefile.am
  1331. Tweaks to generation of Symbols files.
  1332. * tests/win32_ordinal_test.c
  1333. Update tests for above changes.
  1334. 2008-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1335. * programs/common.c
  1336. When merging broadcast info, make sure to clear the destination field
  1337. before copying in the new data.
  1338. * programs/test-sndfile-metadata-set.py
  1339. Add test for the above.
  1340. * src/broadcast.c
  1341. Fix checking of required coding_history_size.
  1342. 2008-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1343. * tests/command_test.c
  1344. Add test to detect if coding history is truncated.
  1345. * src/broadcast.c
  1346. Fix truncation of coding history.
  1347. 2008-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1348. * tests/command_test.c
  1349. Add broadcast_coding_history_size test.
  1350. * programs/*.[ch]
  1351. Use SF_BROADCAST_INFO_VAR to manipulate larger 'bext' chunks.
  1352. * src/rf64.c
  1353. Add code to prevent infinite loop on malformed file.
  1354. * src/common.h src/sndfile.c src/w64.c src/wav_w64.c
  1355. Rationalize and improve error handling when parsing 'fmt ' chunk.
  1356. * M4/octave.m4
  1357. Simplify and remove cruft.
  1358. Check for correct Octave version.
  1359. * Octave/*
  1360. Reduce 3 C++ files to one, fix build for octave 3.0, fix build.
  1361. * Octave/sndfile.cc Octave/PKG_ADD
  1362. Add Octave function sfversion which returns the libsndfile version that the
  1363. module is linked against.
  1364. * Octave/Makefile.am
  1365. Bunch of build and 'make distcheck' fixes.
  1366. 2008-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1367. * programs/common.c
  1368. Return 1 if SFC_SET_BROADCAST_INFO fails.
  1369. * programs/test-sndfile-metadata-set.py
  1370. Update for new programs directory, exit on any error.
  1371. * tests/error_test.c
  1372. Fix failure behaviour in error_number_test.
  1373. * src/common.h src/sndfile.c
  1374. Add error number SFE_BAD_BROADCAST_INFO_SIZE.
  1375. * src/*
  1376. Reimplement handling of broadcast extentioon chunk in WAV/WAVEX files.
  1377. * src/broadcast.c
  1378. Fix generation of added coding history.
  1379. 2008-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1380. * programs/sndfile-metadata-get.c programs/sndfile-info.c
  1381. Exit with non-zero on errors.
  1382. 2008-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1383. * examples/sndfile-to-text.c examples/Makefile.am
  1384. Add a new example program and hook it into the build.
  1385. * examples/ programs/
  1386. Add a new directory programs and move sndfile-info, sndfile-play and other
  1387. real programs to the new directory, leaving example programs where they
  1388. were.
  1389. 2008-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1390. * tests/Makefile.am
  1391. Automake 1.10 MinGW cross compiling fixes.
  1392. 2008-10-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1393. * examples/sndfile-play.c
  1394. Remove call to deprecated function snd_pcm_sw_params_get_xfer_align.
  1395. Fix gcc-4.3 compiler warnings.
  1396. * tests/command_test.c
  1397. Fix a valgrind warning.
  1398. * tests/error_test.c tests/multi_file_test.c tests/peak_chunk_test.c
  1399. tests/pipe_test.tpl tests/stdio_test.c tests/win32_test.c
  1400. Fix gcc-4.3 compiler warnings.
  1401. 2008-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1402. * src/broadcast.c
  1403. Fix termination of desitination string in strncpy_crlf.
  1404. When copying BROADCAST_INFO chunk, make sure destination gets correct line
  1405. endings.
  1406. * examples/common.c
  1407. Fix copying of BROADCAST_INFO coding_history field.
  1408. 2008-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1409. * tests/command_test.c
  1410. Add test function instrument_rw_test, but don't hook it into the testing
  1411. yet.
  1412. * src/common.h src/command.c src/sndfile.c src/flac.c
  1413. Error code rationalization.
  1414. * src/common.h src/sndfile.c
  1415. Set psf->error to SFE_CMD_HAS_DATA when adding metadata via sf_command()
  1416. fails due to psf->have_written being true.
  1417. * doc/command.html
  1418. Document the SFC_GET/SET_BROADCAST_INFO comamnds.
  1419. 2008-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1420. * tests/command_test.c
  1421. Improve error reporting when '\0' is found in coding history.
  1422. Fix false failure.
  1423. 2008-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1424. * src/broadcast.c
  1425. Convert all coding history line endings to \r\n.
  1426. * tests/command_test.c
  1427. Add test to make sure all line endings are converted to \r\n.
  1428. 2008-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1429. * src/broadcast.c
  1430. Changed the order of coding history fields.
  1431. * tests/command_test.c
  1432. Update bextch test to cope with previous change.
  1433. * examples/common.c
  1434. Add extra length check when copying broadcast info data.
  1435. 2008-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1436. * tests/utils.tpl tests/pcm_test.tpl
  1437. Update check_file_hash_or_die to use 64 bit hash.
  1438. * tests/checksum_test.c tests/Makefile.am
  1439. Add new checksum_test specifically for lossy compression of headerless
  1440. files.
  1441. 2008-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1442. * src/gsm610.c
  1443. Seek to psf->dataoffset before decoding first block.
  1444. * src/sndfile.c
  1445. Fix detection of mpc2k files on big endian systems.
  1446. 2008-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1447. * src/broadcast.c
  1448. Use '\r\n' newlines in Coding History as required by spec.
  1449. 2008-10-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1450. * src/test_conversions.c
  1451. Use int64_t instead of 'long long'.
  1452. 2008-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1453. * examples/sndfile-metadata-set.c
  1454. Remove --bext-coding-history-append command line option because it didn't
  1455. really make sense.
  1456. * examples/sndfile-metadata-(get|set).c
  1457. Add usage messages.
  1458. * examples/test-sndfile-metadata-set.py
  1459. Start work on test coding history.
  1460. 2008-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1461. * README doc/win32.html
  1462. Bring these up to date.
  1463. * src/aiff.c
  1464. Fix parsing of REX files.
  1465. 2008-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1466. * src/file_io.c
  1467. Use intptr_t instead of long for return value of _get_osfhandle.
  1468. * src/test_conversions.c src/test_endswap.tpl
  1469. Fix printing of int64_t values.
  1470. * examples/sndfile-play.c
  1471. Fix win64 issues.
  1472. * tests/win32_ordinal_test.c
  1473. Fix calling of GetProcAddress with ordinal under win64.
  1474. * tests/utils.tpl
  1475. Fix win64 issues.
  1476. 2008-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1477. * examples/*
  1478. Rename copy_data.[ch] to common.[ch]. Fix build.
  1479. Move code from sndfile-metadata-set.c to common.c.
  1480. * examples/Makefile.am tests/Makefile.am regtest/Makefile.am
  1481. Clean paths.
  1482. 2008-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1483. * doc/tutorial.html doc/Makefile.am
  1484. Add file doc/tutorial.html and hook into build/dist system.
  1485. 2008-09-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1486. * examples/sndfile-metadata-set.c
  1487. Clean up handling of bext command line params.
  1488. 2008-09-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1489. * src/w64.c
  1490. Add handling/skipping of a couple of new chunk types.
  1491. 2008-09-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1492. * configure.ac
  1493. Add -funsigned-char to CFLAGS if the compiler supports it.
  1494. * examples/sndfile-metadata-(get|set).c
  1495. Add handling for more metadata types.
  1496. 2008-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1497. * src/common.h
  1498. Add macros SF_CONTAINER, SF_CODEC and SF_ENDIAN useful for splitting format
  1499. field of SF_INFO into component parts.
  1500. * src/*.c
  1501. Use new macros everywhere it is appropriate.
  1502. 2008-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1503. * examples/sndfile-bwf-set.c
  1504. Massive reworking.
  1505. 2008-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1506. * examples/sndfile-bwf-set.c
  1507. Add --info-auto-create-date command line option.
  1508. * examples/sndfile-metadata-set.c examples/sndfile-metadata-get.c
  1509. examples/Makefile.am examples/test-sndfile-bwf-set.py
  1510. Rename sndfile-bwf-(set|get).c to sndfile-metadata-(set|get).c.
  1511. Change command line args.
  1512. 2008-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1513. * src/wav.c
  1514. Allow 'PAD ' chunk to be modified in RDWR mode.
  1515. * src/sndfile.h.in src/sndfile.c
  1516. Add handling (incomplete) for SFC_SET_ADD_HEADER_PAD_CHUNK.
  1517. * tests/Makefile.am tests/write_read_test.tpl tests/header_test.tpl
  1518. tests/misc_test.c
  1519. Add tests for RF64.
  1520. * src/rf64.c
  1521. Fixes to make sure all tests pass.
  1522. * tests/Makefile.am tests/string_test.c
  1523. Add string tests (not yet passing).
  1524. 2008-08-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1525. * src/rf64.c
  1526. First pass at writing RF64 now working.
  1527. 2008-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1528. * examples/sndfile-convert.c
  1529. Add SF_FORMAT_RF64 to format_map.
  1530. * src/common.h src/sndfile.c
  1531. More RF64 support code.
  1532. * examples/sndfile-bwf-set.c
  1533. Fix the month number in autogenerated date string and use hypen in date
  1534. instead of slash.
  1535. * examples/test-sndfile-bwf-set.py
  1536. Update tests.
  1537. * examples/sndfile-info.c
  1538. When called with -i or -b option, operate on all files on command line, not
  1539. just the first.
  1540. 2008-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1541. * src/rf64.c
  1542. New file to handle RF64 (WAV like format supportting > 4Gig files).
  1543. * src/sndfile.h.in src/common.h src/sndfile.c src/Makefile.am
  1544. Hook the above into build so hacking can begin.
  1545. * src/pcm.c
  1546. Improve log message when pcm_init fails.
  1547. * src/sndfile-info.c
  1548. Only calculate and print 'Signal Max' if file is less than 10 megabytes in
  1549. length.
  1550. 2008-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1551. * tests/string_test.c
  1552. Polish string_multi_set_test.
  1553. * src/wav.c
  1554. In RDWR mode, pad the header if necessary (ie LIST chunk has moved or
  1555. length has changed).
  1556. Minor fixes in wav_write_strings.
  1557. Write PAD chunk with default endian-ness, not a specific endian-ness.
  1558. * examples/test-sndfile-bwf-set.py
  1559. Add Python script to test sndfile-bwf-set/get.
  1560. * examples/sndfile-bwf-set.c
  1561. Clean up and fixes.
  1562. * src/wav.c
  1563. Merge function wavex_write_header into wav_write_header, deleting about 70
  1564. lines of code.
  1565. * src/common.h
  1566. Double value of SF_MAX_STRINGS.
  1567. * tests/string_test.c
  1568. Add string tests for WAVEX and RIFX files.
  1569. * tests/command_test.c
  1570. Add broadcast test for WAVEX files.
  1571. 2008-08-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1572. * tests/string_test.c
  1573. Add a new string_rdwr_test (currently failing for WAV).
  1574. Add a new string_multi_set_test (currently failing).
  1575. * tests/command_test.c
  1576. Add new broadcast_rdwr_test (currently failing).
  1577. * src/wav.c
  1578. Fix to WAV parser to allow 'bext' chunk to be updated in place.
  1579. In wav_write_tailer, seek to psf->dataend if its greater than zero.
  1580. * src/sndfile.c
  1581. Make sure psf->have_written gets set correctly in mode SFM_RDWR.
  1582. * configure.ac
  1583. Test for <sys/time.h> and gettimeofday.
  1584. * src/common.c
  1585. Use gettimeofday() to initialize psf_rand_int32.
  1586. * src/common.h src/sndfile.c
  1587. Add unique_id field to SF_PRIVATE struct.
  1588. * src/common.h src/sndfile.c src/wav.c src/wav_w64.[ch]
  1589. Move wavex_ambisonic field from SF_PRIVATE struct to WAV_PRIVATE struct.
  1590. * src/common.h src/strings.c
  1591. Add function psf_location_string_count.
  1592. 2008-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1593. * configure.ac
  1594. Test for localtime and localtime_r.
  1595. * examples/sndfile-convert.c
  1596. In function copy_metadata(), copy broadcast info if present.
  1597. * examples/copy_data.[ch] examples/Makefile.am
  1598. Break some functionality out of sndfile-convert.c so it can be used in
  1599. examples/sndfile-bwf-set.c.
  1600. * tests/utils.tpl
  1601. Add new function create_short_sndfile().
  1602. * examples/sndfile-bwf-set.c examples/sndfile-bwf-get.c
  1603. examples/Makefile.am
  1604. Add new files and hook into build.
  1605. 2008-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1606. * src/sndfile.h.in
  1607. Fix comments. Patch from Mark Glines.
  1608. 2008-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1609. * tests/misc_test.c
  1610. Use zero_data_test on Ogg/Vorbis files.
  1611. * src/ogg.c
  1612. Fix segfault when closing an Ogg/Vorbis file that has been opened for write
  1613. but had no actual data written to it. Bug reported by Chinoy Gupta.
  1614. * tests/Makefile.am
  1615. Make sure to run mist_test on Ogg/Vorbis files.
  1616. 2008-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1617. * regtest/Makefile.am
  1618. Use SQLITE3_CFLAGS to locate sqlite headers.
  1619. 2008-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1620. * doc/index.html doc/FAQ.html
  1621. Add notes about which versions of windows libsndfile works on.
  1622. 2008-07-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1623. * tests/misc_test.c
  1624. Add a test for correct handling of Ambisonic files. Thanks to Fons
  1625. Adriaensen for the test.
  1626. * src/wav.c src/wav_w64.c
  1627. Fix handling of Ambisonic files. Thanks to Fons Adriaensen for the patch.
  1628. 2008-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1629. * configure.ac
  1630. Fix detection/enabling of external libs.
  1631. * M4/extra_pkg.m4 M4/Makefile.am
  1632. Add m4 macro PKG_CHECK_MOD_VERSION which is a hacked version
  1633. PKG_CHECK_MODULES. The new macro prints the version number of the package
  1634. it is searching for.
  1635. 2008-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1636. * src/aiff.c
  1637. Apply a fix from Axel Röbel where if the second loop in the instrument
  1638. chunk is none, the loop mode is written into the first loop.
  1639. 2008-05-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1640. * src/test_float.c src/test_main.(c|h) src/Makefile.am
  1641. Add new file to test functions float32_(le|be)_(read|write) and
  1642. double64_(le|be)_(read|write). Hook into build and testsuite.
  1643. * src/double64.c src/float32.c
  1644. Fix bugs in functions found by test added above. Thanks to Nicolas Castagne
  1645. for reporting this bug.
  1646. * src/sndfile.h.in
  1647. Change time_reference_(low|high) entries of SF_BROADCAST_INFO struct to
  1648. unsigned.
  1649. * examples/sndfile-info.c
  1650. Print out the BEXT time reference in a sensible format.
  1651. 2008-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1652. * src/*.c
  1653. Fuzz fixes.
  1654. * src/ogg.c
  1655. Add call to ogg_stream_clear to fix valgrind warning.
  1656. * src/aiff.c
  1657. Fix x86_64 compile issue.
  1658. * configure.ac src/Makefile.am src/flac.c src/ogg.c
  1659. Link to external versions of FLAC, Ogg and Vorbis.
  1660. * tests/lossy_comp_test.c tests/ogg_test.c tests/string_test.c
  1661. tests/vorbis_test.c tests/write_read_test.tpl
  1662. Fix tests when configured with --disable-external-libs.
  1663. * tests/external_libs_test.c tests/Makefile.am
  1664. Add new test and hook into build and test suite.
  1665. * src/command.c
  1666. Use HAVE_EXTERNAL_LIBS to ensure that the SFC_GET_FORMAT_* commands return
  1667. the right data when external libs are disabled.
  1668. 2008-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1669. * tests/write_read_test.tpl
  1670. Add a test for extending a file during write by seeking past the current
  1671. end of file.
  1672. * src/sndfile.c
  1673. Allow seeking past end of file during write.
  1674. 2008-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1675. * doc/api.html doc/command.html
  1676. Move all information about the sf_command function to command.html and add
  1677. a link from documentation of the sf_read/write_raw function to the
  1678. SFC_RAW_NEEDS_ENDSWAP command.
  1679. * doc/index.html doc/FAQ.html doc/libsndfile.css
  1680. Minor documentation tweaks.
  1681. 2008-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1682. * configure.ac
  1683. Add AM_PROG_CC_C_O.
  1684. 2008-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1685. * tests/error_test.c
  1686. Add a test to make sure if file opened with sf_open_fd, and then the file
  1687. descriptor is closed, then sf_close will return an error code. Thanks to
  1688. Dave Flogeras for the bug report.
  1689. * src/sndfile.c
  1690. Make sf_close return an error is the file descriptor is already closed.
  1691. 2008-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1692. * configure.ac
  1693. Set object format to aout for OS/2. Thanks to David Yeo.
  1694. * src/mpc2k.c src/sndfile.c src/sndfile.h.in src/common.h src/Makefile.am
  1695. Add ability to read MPC 2000 file.
  1696. * tests/write_read_test.tpl tests/misc_test.c tests/header_test.tpl
  1697. tests/Makefile.am
  1698. Add tests for MPC 2000 file format.
  1699. * examples/sndfile-convert.c
  1700. Allow conversion to MPC 2000 file format.
  1701. 2008-04-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1702. * src/VORBIS/lib/codebook.c
  1703. Sync from upstream SVN.
  1704. * autogen.sh configure.ac
  1705. Minor tweaks.
  1706. 2008-04-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1707. * src/ogg.c
  1708. Add a patch that fixes finding the length in samples of an Ogg/Vorbis file.
  1709. The patch as supplied segfaulted and required many hours of debugging.
  1710. * src/OGG/bitwise.c
  1711. Sync from upstream SVN.
  1712. 2008-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1713. * src/aiff.c
  1714. Fix up handling of 'APPL' chunk. Thanks to Axel Röbel for bringing up
  1715. this issue.
  1716. 2008-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1717. * tests/*.c
  1718. Add calls to sf_close() where needed.
  1719. * tests/utils.tpl tests/multi_file_test.c
  1720. Always pass 0 as the third argument to open when OS_IS_WIN32.
  1721. 2008-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1722. * src/test_*
  1723. Add files test_main.[ch].
  1724. Collapse all tests into a single executable.
  1725. 2008-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1726. * src/FLAC
  1727. Sync to upstream CVS.
  1728. 2008-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1729. * src/common.h
  1730. Make SF_MIN and SF_MAX macros MinGW friendly.
  1731. * examples/sndfile-(info|play).c
  1732. Use Sleep function from <windows.h> instead of _sleep.
  1733. * tests/locale_test.c
  1734. Disable some tests when OS_IS_WIN32.
  1735. * src/FLAC/src/share/replaygain_anal/replaygain_analysis.c
  1736. src/FLAC/src/share/utf8/utf8.c
  1737. MinGW fixes.
  1738. 2008-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1739. * doc/FAQ.html
  1740. Tweaks to pcm16 <-> float conversion answer.
  1741. 2008-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1742. * src/OGG
  1743. Sync to SVN upstream.
  1744. * Makefile.am
  1745. Add 'DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror'.
  1746. 2008-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1747. * examples/sndfile-jackplay.c
  1748. Minor tweaks to warning message printed when compiled without libjack.
  1749. 2008-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1750. * tests/peak_chunk_test.c
  1751. Improve read_write_peak_test to find more errors. Inspired by example
  1752. provided by Nicolas Castagne.
  1753. * src/aiff.c
  1754. Another SFM_RDWR fix shown up by above test.
  1755. 2008-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1756. * src/aiff.c
  1757. Fix reading of COMM encoding string.
  1758. * src/chunk.c src/common.h src/Makefile.am
  1759. New file for storing and retrieving info about header chunks. Hook into
  1760. build.
  1761. * src/aiff.c
  1762. Use new chunk logging to fix problem with AIFF in RDWR mode.
  1763. 2008-01-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1764. * src/command.c
  1765. Add WVE to the list of major formats.
  1766. * tests/aiff_rw_test.c
  1767. Fix error reporting.
  1768. 2008-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1769. * src/common.[ch]
  1770. Add internal functions str_of_major_format, str_of_minor_format,
  1771. str_of_open_mode and str_of_endianness.
  1772. * tests/write_read_test.tpl
  1773. Fix reporting of errors in new_rdwr_XXXX_test.
  1774. 2008-01-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1775. * examples/sndfile-play.c
  1776. Apply patch from Yair K. to fix compiles with OSS v4.
  1777. * src/common.h src/float32.c src/double64.c
  1778. Rename psf->float_enswap to psf->data_endswap.
  1779. * src/sndfile.h.in src/sndfile.c src/pcm.c
  1780. Add command SFC_RAW_NEEDS_ENDSWAP.
  1781. * tests/command.c
  1782. Add test for SFC_RAW_NEEDS_ENDSWAP.
  1783. * doc/command.html
  1784. Document SFC_RAW_NEEDS_ENDSWAP.
  1785. * tests/peak_chunk_test.c
  1786. Add test function read_write_peak_test. Thanks to Nicolas Castagne for the
  1787. bug report.
  1788. 2008-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1789. * examples/sndfile-cmp.c
  1790. Add new example program contributed by Conrad Parker.
  1791. * examples/Makefile.am
  1792. Hook into build.
  1793. * doc/development.html
  1794. Change use or reconfigure.mk to autogen.sh.
  1795. 2008-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1796. * tests/win32_test.c
  1797. Add another win32 test.
  1798. * tests/util.tpl
  1799. Add function file_length_fd which wraps fstat.
  1800. * tests/Makefile.am
  1801. Run the multi_file_test on AU files.
  1802. * tests/multi_file_test.c
  1803. Use function file_length_fd() instead of file_length() to overcome stupid
  1804. win32 bug. Fscking hell Microsoft sucks so much.
  1805. 2008-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1806. * src/sd2.c
  1807. Fix a rsrc parsing bug. Example file supplied by Uli Franke.
  1808. 2007-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1809. * doc/index.html
  1810. Allow use of either LGPL v2.1 or LGPL v3.
  1811. * tests/header_test.tpl
  1812. Add header_shrink_test from Axel Röbel.
  1813. * src/wav.c
  1814. Add fix from Axel Röbel for writing files with float data but no peak
  1815. chunk (ie peak chunk gets removed after the file is opened).
  1816. * src/aiff.c tests/header_test.tpl
  1817. Apply similar fix to above for AIFF files.
  1818. * src/wav.c tests/header_test.tpl
  1819. Apply similar fix to above for WAVEX files.
  1820. * src/command.c
  1821. Add Ogg/Vorbis to 'get format' commands.
  1822. 2007-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1823. * src/ogg.c
  1824. Fix seeking on multichannel Ogg Vorbis files. Reported by Bodo.
  1825. Set the default encoding quality to 0.4 instead of 4.0 (Bodo again).
  1826. * tests/ogg_test.c
  1827. Add stereo seek tests.
  1828. 2007-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1829. * tests/ogg_test.c
  1830. Add a test (currently failing) for stereo seeking on Ogg Vorbis files. Test
  1831. case supplied by Bodo.
  1832. * tests/utils.(def|tpl)
  1833. Add compare_XXX_or_die functions.
  1834. 2007-12-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1835. * src/aiff.c
  1836. Fix a bug where ignoring ssnd_fmt.offset and ssnd_fmt.blocksize caused
  1837. misaligned reading of 24 bit data. Thanks to Uli Franke for reporting this.
  1838. 2007-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1839. * src/vox_adpcm.c src/ima_oki_adpcm.[ch] src/Makefile.am
  1840. Merge in code from the vox-patch branch. Thanks to Robs for the patch
  1841. which fixes a long standing bug in the VOX codec.
  1842. 2007-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1843. * examples/sndfile-convert.c
  1844. Fix handling of -override-sample-rate=X option.
  1845. 2007-11-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1846. * src/ogg.c src/VORBIS
  1847. Merge in Ogg Vorbis support from John ffitch of the Csound project.
  1848. 2007-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1849. * src/sndfile.c
  1850. Recognise files with 'vox6' extension as 6kHz OKI VOX ADPCM files. Also
  1851. recognise 'vox8' as and 'vox' as 8kHz files.
  1852. * configure.ac
  1853. Detect libjack (JACK Audio Connect Kit).
  1854. * examples/sndfile-jackplay.c examples/Makefile.am
  1855. Add new example program to play sound files using the JACK audio server.
  1856. Thanks to Jonatan Liljedahl for allowing this to be included.
  1857. 2007-11-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1858. * doc/index.html
  1859. Update support table with SD2 and FLAC.
  1860. 2007-11-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1861. * src/sndfile.c
  1862. Fix calculation of internal value psf->read_current when attempting to read
  1863. past end of audio data.
  1864. Remove redundant code.
  1865. * tests/lossy_comp_test.c
  1866. Add read_raw_test to check that raw reads do not go past the end of the
  1867. audio data section.
  1868. Clean up error output messages.
  1869. * src/sndfile.c
  1870. Add code to prevent sf_read_raw from reading past the end of the audio data.
  1871. * tests/Makefile.am
  1872. Add the wav_pcm lossy_comp_test.
  1873. 2007-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1874. * configure.ac src/Makefile.am src/create_symbols_file.py
  1875. More OS/2 fixes from David Yeo.
  1876. 2007-11-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1877. * src/file_io.c tests/utils.tpl tests/benchmark.tpl
  1878. Improve handling of requirements for O_BINARY as suggested by Ed Schouten.
  1879. 2007-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1880. * src/common.h
  1881. Fix symbol class when SF_MIN is nested inside SF_MAX or vice versa.
  1882. * src/create_symbols_file.py
  1883. Add support for OS/2 contributed by David Yeo.
  1884. 2007-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1885. * M4/gcc_version.m4
  1886. Add macro AC_GCC_VERSION to detect GCC_MAJOR_VERSION and GCC_MINOR_VERSION.
  1887. * configure.ac
  1888. Use AC_GCC_VERSION to work around gcc-4.2 inline warning stupidity.
  1889. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33995
  1890. Use -fgnu-inline to prevent stupid warnings.
  1891. 2007-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1892. * tests/util.tpl
  1893. Increase the printing width for print_test_name().
  1894. * tests/command_test.c tests/Makefile.am
  1895. Add tests for correct updating of broadcast WAV coding history.
  1896. * examples/sndfilehandle.cc examples/Makefile.am
  1897. Add example program using the C++ SndfileHandle class.
  1898. 2007-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1899. * src/common.h src/sndfile.c
  1900. Add error codes SFE_ZERO_MAJOR_FORMAT and SFE_ZERO_MINOR_FORMAT.
  1901. 2007-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1902. * src/sd2.c
  1903. Identify sample-rate/sample-size/channels by resource id.
  1904. 2007-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1905. * src/broadcast.c src/common.h src/sndfile.c
  1906. Improvements to handling of broadcast info in WAV files. Thanks to Frederic
  1907. Cornu and other for their input.
  1908. 2007-10-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1909. * src/FLAC/include/share/alloc.h
  1910. Mingw fix for SIZE_T_MAX from Uli Franke.
  1911. 2007-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1912. * tests/open_fail_test.c tests/error_test.c tests/Makefile.am
  1913. Move tests from open_fail_test.c to error_test.c and remove the former.
  1914. 2007-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1915. * tests/scale_clip_test.(def|tpl)
  1916. Add tests for SFC_SET_INT_FLOAT_WRITE command.
  1917. * doc/command.html
  1918. Add docs for SFC_SET_INT_FLOAT_WRITE command.
  1919. * examples/sndfile-play.c tests/dft_cmp.c
  1920. Fix gcc-4.2 warning messages.
  1921. 2007-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1922. * src/sndfile.h.in src/sndfile.c
  1923. Add command SFC_GET_CURRENT_SF_INFO.
  1924. * src/sndfile.h.in src/sndfile.c src/create_symbols_file.py
  1925. Remove function sf_get_info (only ever in pre-release code).
  1926. * tests/command_test.c
  1927. Add test for SFC_GET_CURRENT_SF_INFO.
  1928. 2007-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1929. * src/wav.c
  1930. Add parsing of 'exif' chunks. Originally coded by Trent Apted.
  1931. * configure.ac
  1932. Put config stuff in Cfg directory.
  1933. Remove check for inttypes.h.
  1934. 2007-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1935. * src/w64.c
  1936. Fix writing of 'riff' chunk length and check for correct value in parser.
  1937. 2007-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1938. * doc/index.html
  1939. Link to MP3 FAQ entry.
  1940. 2007-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1941. * src/flac.c
  1942. Move the blocksize check to an earlier stage of flac_buffer_copy.
  1943. 2007-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1944. * src/FLAC
  1945. Huge merge from FLAC upstream.
  1946. 2007-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1947. * examples/*.c
  1948. Change license to all example programs to BSD.
  1949. 2007-09-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1950. * src/FLAC/include/FLAC/metadata.h
  1951. Include <sys/types.h> to prevent compile error on OSX.
  1952. * Octave/octave_test.sh
  1953. Disable test on OSX. Can't get it to work.
  1954. * src/flac.c
  1955. Check the blocksize returned from the FLAC decoder to prevent buffer
  1956. overruns. Reported by Jeremy Friesner. Thanks.
  1957. 2007-09-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1958. * Makefile.am M4/octave.m4
  1959. Fix build when Octave headers are not present.
  1960. 2007-08-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1961. * doc/development.html
  1962. Add note about bzr repository directory looking empty.
  1963. 2007-08-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1964. * configure.ac Octave/* M4/octave_*
  1965. Bunch of changes to add ability to build GNU Octave modules to read/write
  1966. sound files using libsndfile from Octave.
  1967. 2007-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1968. * acinclude.m4 configure.ac ...
  1969. Get rid of acinclude.m4 and replace it with an M4 directory.
  1970. 2007-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1971. * src/sndfile.h.in
  1972. Remove crufty Metrowerks compiler support. Allow header file to be compiled
  1973. on windows with both GCC and microsoft compiler.
  1974. 2007-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1975. * tests/dft_cmp.[ch] tests/floating_point_test.tpl
  1976. Clean up floating point tests.
  1977. 2007-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1978. * src/aiff.c
  1979. Fix segfault when COMM chunk length is byte swapped.
  1980. 2007-08-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1981. * src/common.h src/mat4.c src/mat5.c src/sndfile.c
  1982. Add a generic SFE_CHANNEL_COUNT_ZERO error, remove format specific errors.
  1983. * src/au.c
  1984. Fix crash on AU files with zero channel count. Reported by Ben Alison.
  1985. 2007-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1986. * src/voc.c
  1987. Fix bug in handling file supplied by Matt Olenik.
  1988. 2007-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1989. * src/OGG
  1990. Merge from OGG upstream sources.
  1991. 2007-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1992. * src/FLAC
  1993. Merge from FLAC upstream sources.
  1994. 2007-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  1995. * src/flac.c
  1996. Fix memory leak; set copy parameter to FALSE in call to
  1997. FLAC__metadata_object_vorbiscomment_append_comment.
  1998. * src/common.[ch]
  1999. Add function psf_rand_int32().
  2000. 2007-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2001. * src/FLAC
  2002. Merge from FLAC upstream sources.
  2003. * src/strings.c tests/string_test.c tests/Makefile.am
  2004. Make sure string tests for SF_STR_LICENSE actually works.
  2005. 2007-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2006. * tests/string_test.c
  2007. Add ability to test strings stored in metadata secion of FLAC files.
  2008. * src/string.c
  2009. Fix logic for testing if audio data has been written and string is added.
  2010. Make sure SF_STR_ALBUM actually works.
  2011. * src/flac.c
  2012. Finalize reading/writing string metadata. Tests pass.
  2013. * src/sndfile.h.in tests/string_test.c src/flac.c
  2014. Add string type SF_STR_LICENSE, update test and use for FLAC files.
  2015. * src/sndfile.h.in
  2016. Add definition for SFC_SET_SCALE_FLOAT_INT_WRITE command.
  2017. * src/common.h src/double64.c src/float32.c src/sndfile.c
  2018. Add support for SFC_SET_SCALE_FLOAT_INT_WRITE (still needs testing).
  2019. 2007-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2020. * src/flac.c
  2021. Apply patch from Ed Schouten to read artist and title metadata from FLAC
  2022. files.
  2023. Improve reporting of FLAC metadata.
  2024. * src/sndfile.h.in tests/string_test.c src/flac.c
  2025. Add string type SF_STR_ALBUM, update test and use for FLAC files.
  2026. 2007-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2027. * src/FLAC/*
  2028. Merge from upstream CVS.
  2029. 2007-06-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2030. * src/FLAC/*
  2031. Update from upstream CVS.
  2032. 2007-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2033. * tests/cpp_test.cc
  2034. Add extra tests for when the SndfileHandle constructor fails.
  2035. * src/sndfile.hh
  2036. Make sure failure to open the file in the constructor does not allow later
  2037. calls to other methods to fail.
  2038. 2007-06-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2039. * tests/util.tpl
  2040. Add function write_mono_file.
  2041. * tests/generate.[ch] tests/Makefile.am
  2042. Add files generate.[ch] and hook into build.
  2043. * tests/write_read_test.tpl
  2044. Add multi_seek_test.
  2045. * src/flac.c
  2046. Fix buffer overflow bug. Test provided by Jeremy Friesner and fix provided
  2047. by David Viens.
  2048. 2007-06-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2049. * doc/FAQ.html
  2050. Minor update.
  2051. * configure.ac src/FLAC/src/libFLAC/ia32/Makefile.am src/Makefile.am
  2052. Apply patch from Trent Apted make it compile on Intel MacOSX. Thanks Trent.
  2053. 2007-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2054. * src/wav.c
  2055. Fix writing of MSGUID subtypes. Thanks to Bruce Sharpe.
  2056. 2007-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2057. * src/wav.c
  2058. Fix array indexing bug raised by Bruce Sharpe.
  2059. 2007-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2060. * src/FLAC/src/share/getopt/getopt.c
  2061. Fix Mac OSX / PowerPC compile warnings.
  2062. * configure.ac
  2063. Make sure WORDS_BIGENDIAN gets correctly defined for FLAC code.
  2064. 2007-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2065. * doc/FAQ.html
  2066. Add Q/A about MP3 support.
  2067. 2007-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2068. * doc/new_file_type.HOWTO
  2069. Minor updates.
  2070. 2007-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2071. * src/wve.c
  2072. Fix a couple bad parameters with psf_log_printf.
  2073. * src/pcm.c
  2074. Improve error reporting.
  2075. * src/common.h src/common.c
  2076. Constify psf_hexdump.
  2077. 2007-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2078. * src/FLAC
  2079. Ditch and re-import required FLAC code.
  2080. * configure.ac
  2081. Force FLAC__HAS_OGG variable to 1.
  2082. * src/FLAC/src/libFLAC/stream_encoder.c
  2083. Fix compiler warnings.
  2084. 2007-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2085. * configure.ac tests/win32_ordinal_test.c
  2086. Detect if win32 DLL is beging generated and only run win32_ordinal_test if
  2087. true.
  2088. * src/G72x/Makefile.am src/Makefile.am
  2089. Use $(EXEEXT) where possible.
  2090. 2007-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2091. * src/wve.c src/common.h src/sndfile.c
  2092. Complete definition of SfE_WVE_NO_WVE error message.
  2093. * src/wve.c
  2094. Fix error in files generated on big endian systems. Robustify parsing.
  2095. 2007-04-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2096. * src/double64.c
  2097. Fix clipping of double to short conversions on 64 bit systems.
  2098. * src/flac.c regtest/database.c tests/cpp_test.cc
  2099. Fix compile warnings for 64 bit systems.
  2100. 2007-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2101. * src/wav.c src/wav_w64.c
  2102. Use audio detect function when 'fmt ' chunk data is suspicious.
  2103. * configure.ac
  2104. Add ugly hack to remove -Werror from some Makefiles.
  2105. 2007-04-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2106. * src/GSM610/long_term.c src/macbinary3.c tests/cpp_test.cc
  2107. Add patch from André Pang to clean up compiles on OSX.
  2108. * src/wve.c src/common.h src/sndfile.c src/sndfile.h.in
  2109. examples/sndfile-convert.c
  2110. Merge changes from Reuben Thomas to improve WVE support.
  2111. * tests/lossy_comp_test.c tests/Makefile.am
  2112. Add tests for WVE files.
  2113. 2007-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2114. * src/sndfile.hh
  2115. Add a static SndfileHandle::formatCheck method as suggested by Jorge
  2116. Jiménez.
  2117. 2007-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2118. * src/sndfile.c
  2119. Fixed a bug in sf_error() where the function itself was being compared
  2120. against zero. Add a check for a NULL return from peak_info_calloc. Fix a
  2121. possible NULL dereference.
  2122. 2007-04-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2123. * src/flac.c
  2124. Turn off seekable flag when writing, return SFE_BAD_RDWR_FORMAT when
  2125. opening file for RDWR.
  2126. * src/sndfile.c
  2127. Improve error message for SFE_BAD_RDWR_FORMAT.
  2128. * src/mat4.c
  2129. Fix array indexing issue. Thanks to Ben Allison (Nullsoft) for alerting me.
  2130. 2007-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2131. * doc/FAQ.html
  2132. Add Q/A 19 on project files.
  2133. 2007-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2134. * src/sndfile.c
  2135. Guard agains MacOSX universal binary compiles.
  2136. * doc/FAQ.html
  2137. Add Q/A 18 and clean up Q3.
  2138. 2007-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2139. * src/aiff.c
  2140. Add support for 'in24' files.
  2141. 2007-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2142. * src/wav.c src/wav_w64.c src/wav_w64.h
  2143. Start work towards detecting ausio codec type from the actual audio data.
  2144. * src/audio_detect.c src/test_audio_detect.c
  2145. Add new file and its unit test.
  2146. 2007-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2147. * examples/cooledit-fixer.c examples/Makefile.am
  2148. Remove old broken example program.
  2149. 2007-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2150. * src/sndfile.c src/sndfile.h.in src/create_symbols_file.py
  2151. Add function sf_get_info.
  2152. 2007-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2153. * examples/sndfile-play.c
  2154. For ALSA, use the 'default' device instead of 'plughw:0'.
  2155. 2007-01-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2156. * src/sndfile.c
  2157. Allow writing of WAV/WAVEX 'BEXT' chunks in SFM_RDWR mode.
  2158. 2007-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2159. * doc/development.html doc/embedded_files.html man/sndfile-play.1
  2160. Minor documentation fixes. Thanks Reuben Thomas.
  2161. 2006-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2162. * examples/sndfile-convert.c
  2163. Add -override-sample-rate command line option.
  2164. 2006-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2165. * tests/misc_test.c
  2166. Force errno to zero at start of some tests.
  2167. * src/sndfile.c
  2168. Minor clean up of error handling.
  2169. * configure.ac
  2170. Remove an assembler test which was failing on OSX.
  2171. 2006-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2172. * src/common.h
  2173. Fix the definition of SF_PLATFORM_S64 for MinGW.
  2174. * src/FLAC/Makefile.am src/FLAC/share/grabbag/Makefile.am
  2175. Fix path problems for MinGW.
  2176. 2006-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2177. * src/sfendian.h
  2178. Add include guard.
  2179. * src/Makefile.am src/flac.c
  2180. Clean up include paths.
  2181. * src/test_conversions.c
  2182. New file to test psf_binheader_readf/writef functions.
  2183. * src/Makefile.am src/test_file_io.c src/test_log_printf.c src/common.c
  2184. Clean up unit testing.
  2185. * src/common.c
  2186. Fix a bug reading/writing 64 bit header fields. Thanks to Jonathan Woithe
  2187. for reporting this.
  2188. * src/test_conversions.c
  2189. Complete unit test for above fix.
  2190. 2006-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2191. * src/sndfile.c
  2192. More refactoring to clean up psf_open_file() and vairous sf_open()
  2193. functions.
  2194. 2006-11-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2195. * src/wav.c
  2196. Apply a patch from Jonathan Woithe to allow opening of (malformed) WAV
  2197. files of over 4 gigabytes.
  2198. 2006-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2199. * src/sndfile.c
  2200. Refactor function psf_open_file() to provide a single return point.
  2201. * tests/misc_test.c
  2202. Fix permission_test to ensure that read only file can be created.
  2203. 2006-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2204. * src/common.h
  2205. Add SF_PLATFORM_S64 macro as a platform independant way of doing signed 64
  2206. bit integers.
  2207. * src/aiff.c src/svx.c src/wav.c
  2208. Add warning in log if files are larger than 4 gigabytes in size.
  2209. 2006-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2210. * src/FLAC src/OGG confgure.ac src/Makefile.am
  2211. Pull in all required FLAC and OGG code so external libraries are not
  2212. needed. This makes compiling on stupid fscking Windoze easier.
  2213. 2006-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2214. * src/sd2.c
  2215. Add workaround for switched sample rate and sample size.
  2216. * src/wav.c
  2217. Add workaround for excessively long coding history in the 'bext' chunk.
  2218. 2006-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2219. * src/sndfile.h.in src/sndfile.c src/wav.c doc/command.html
  2220. Use SF_AMBISONIC_* instead of SF_TRUE/SF_FALSE.
  2221. 2006-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2222. * src/sndfile.h.in src/wav.c src/wav_w64.c src/common.h doc/command.html
  2223. Apply a patch from Fons Adriaensen to allow writing on WAVEX Ambisonic
  2224. files. Still needs a little tweaking before its ready for release.
  2225. * src/*.c
  2226. Use the UNUSED macro to prevent compiler warnings.
  2227. 2006-10-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2228. * src/aiff.c
  2229. Fix a bug in parsing AIFF files with a slightly unusual 'basc' chunk. Thanks
  2230. to David Viens for providing two example files.
  2231. * src/common.(c|h) src/aiff.c
  2232. Add a function psf_sanitize_string and use it in aiff.c.
  2233. 2006-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2234. * src/wav_w64.c
  2235. Apply a patch from Fons Adriaensen which fixes a minor WAVEX GUID issue.
  2236. 2006-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2237. * src/Makefile.am
  2238. Fix problem related to recent test coverage changes.
  2239. 2006-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2240. * configure.ac tests/Makefile.am
  2241. Add --enable-test-coverage configure option.
  2242. 2006-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2243. * src/sndfile.hh
  2244. Add an std::string SndfileHandle constructor.
  2245. * tests/scale_clip_test.tpl
  2246. Fix the 'make distcheck' target.
  2247. 2006-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2248. * src/double64.c src/float32.c
  2249. Add optional clipping on float file data to int read data conversions.
  2250. * tests/tests/scale_clip_test.(def|tpl)
  2251. Add test for above new code.
  2252. 2006-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2253. * tests/aiff_rw_test.c
  2254. Add 'MARK' chunks to make sure they are parsed correctly.
  2255. 2006-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2256. * src/aiff.c
  2257. Fix parsing of MARK chunks. Many thanks to Sciss for generating files to
  2258. help debug the problem.
  2259. 2006-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2260. * src/common.h
  2261. Make the SF_MIN and SF_MAX macros at least partially type safe.
  2262. * tests/lossy_comp_test.c
  2263. Fix overflow problems when ensuring that signalis not zero.
  2264. 2006-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2265. * configure.ac docs/*.html
  2266. Changes for release 1.0.17.
  2267. 2006-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2268. * src/flac.c
  2269. Remove inline from functions called by pointer. Thanks to Sampo Savolainen
  2270. for notifying me of this.
  2271. 2006-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2272. * src/sndfile.hh
  2273. Add writeSync method.
  2274. Add copy constructor and assignment operator (thanks Daniel Schmitt).
  2275. Add methods readRaw and writeRaw.
  2276. Make read/write/readf/writef simple overlaods instead of templates (thanks
  2277. to Trent Apted for suggesting this).
  2278. * tests/cpp_test.cc
  2279. Cleanup. Add tests.
  2280. 2006-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2281. * src/sndfile.hh
  2282. Templatize the read/write/readf/writef methods as suggested by Lars Luthman.
  2283. Prevent the potential leak of SNDFILE* pointers in the openRead/openWrite/
  2284. openReadWrite methods.
  2285. Add const to SF_INFO pointer in Sndfile constructor.
  2286. Make the destrictor call the close() method.
  2287. * tests/cpp_test.cc
  2288. Add more tests.
  2289. 2006-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2290. * tests/cpp_test.cc
  2291. Remove the generated file so "make distcheck" passes.
  2292. * src/Makefile.am
  2293. Add sndfile.hh to distributed header files.
  2294. * src/sndfile.hh
  2295. Change the license for the C++ wrapper to modified BSD.
  2296. 2006-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2297. * src/sndfile.hh
  2298. Complete it.
  2299. * tests/cpp_test.cc
  2300. Add more tests.
  2301. 2006-07-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2302. * tests/utils.tpl
  2303. Add extern C to generated header file.
  2304. * src/sndfile.hh
  2305. Work towards completing this.
  2306. * tests/cpp_test.cc tests/Makefile.am
  2307. Add a C++ test and hook into build.
  2308. * configure.ac
  2309. Add appropriate CXXFLAGS.
  2310. 2006-07-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2311. * configure.ac
  2312. Test if compiler supports -Wpointer-arith.
  2313. * src/common.c
  2314. Fix a warning resulting from -Wpointer-arith.
  2315. 2006-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2316. * examples/sndfile-play.c
  2317. Explicitly set endian-ness as well as setting 16 bit output.
  2318. * examples/sndfile-info.c
  2319. Make sure to parse info if file fails to open.
  2320. * src/sndfile.c
  2321. Handle parse error a little better.
  2322. * src/wav_w64.[ch]
  2323. Minor clean up, add detection of IPP ITU G723.1.
  2324. 2006-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2325. * src/sndfile.c
  2326. Make sure psf->dataoffset gets reset to zero when openning headersless
  2327. files based on the file name extension.
  2328. 2006-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2329. * tests/(command|lossy_comp|pcm|scale_clip)_test.c tests/fix_this.c
  2330. tests/write_read_test.(tpl|def)
  2331. Fix gcc-4.1 compiler warnings about "dereferencing type-punned pointer will
  2332. break strict-aliasing rules".
  2333. * examples/cooledit-fixer.c
  2334. More fixes like above.
  2335. 2006-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2336. * src/file_io.c
  2337. Fix a windows bug where the syserr string of SF_PRIVATE was not being set
  2338. correctly.
  2339. * src/sndfile.c
  2340. Fixed a logic bug in sf_seek(). Thanks to Paul Davis for finding this.
  2341. 2006-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2342. * configure.ac
  2343. Fixed detection of S_IRGRP.
  2344. 2006-05-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2345. * sndfile-convert.c
  2346. Add conversion SF_INSTRUMENT data when present.
  2347. 2006-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2348. * doc/development.html
  2349. Removed references to tla on windows.
  2350. * src/common.h src/sndfile.c
  2351. Add separate void pointers for file containter and file codec data to
  2352. SF_PRIVATE struct. Still need to move all existing fdata pointers.
  2353. * tests/write_read_test.tpl
  2354. Change the order of some tests.
  2355. * src/aiff.c
  2356. When writing 'AIFC' files, make sure get an 'FVER' gets added.
  2357. * src/common.h src/(dwvw|flac|g72x|gsm610|ima_adpcm|ms_adpcm|paf|sds).c
  2358. src/(sndfile|voc|vox_adpcm|xi).c
  2359. Remove fdata field from SF_PRIVATE struct and replace it with codec_data.
  2360. 2006-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2361. * Win32/testprog.c Win32/Makefile.am
  2362. Add a minimal win32 test program.
  2363. * Win32/README-precompiled-dll.txt Mingw-make-dist.sh
  2364. Update readme and Mingw build script.
  2365. 2006-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2366. * configure.ac acinclude.m4
  2367. Minor fixes for Solaris.
  2368. 2006-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2369. * src/test_endswap.(def|tpl)
  2370. Fix printf formatting for int64_t on 64 bit machines.
  2371. 2006-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2372. * src/binhead_check.py
  2373. New file to check for bad parameters passed to psf_binheader_writef().
  2374. * src/Makefile.am
  2375. Hook into test suite.
  2376. * src/voc.c src/caf.c src/wav.c src/mat5.c src/mat4.c
  2377. Fix bugs found by new test program.
  2378. * src/double64.c
  2379. Clean up double64_get_capability().
  2380. 2006-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2381. * src/wav_w64.c
  2382. Fix a bug on x86_64 where an int was being passed via stdargs and being
  2383. read using size_t which is 64 bits. Thenks to John ffitch for giving me a
  2384. login on his box.
  2385. 2006-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2386. * src/caf.c src/double64.c examples/sndfile-info.c tests/virtual_io_test.c
  2387. tests/utils.tpl
  2388. Fix a couple of signed/unsigned problems.
  2389. 2006-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2390. * tests/command_test.c
  2391. Add channel map tests.
  2392. * src/common.h src/sndfile.c
  2393. Add a pointer the the SF_PRIVATE struct and make sure it gets freed in
  2394. sf_close().
  2395. 2006-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2396. * configure.ac doc/(command|index|api).html NEWS README
  2397. Updates for 1.0.16 release.
  2398. * src/sndfile.h.in
  2399. Define enums for channel mapping.
  2400. * examples/sndfile-info.c
  2401. Clean up usage of SF_INFO struct.
  2402. 2006-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2403. * tests/util.tpl
  2404. Add function testing function exit_if_true().
  2405. * tests/floating_point_test.tpl
  2406. Fix a problem where the test program was not exiting when the test failed.
  2407. 2006-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2408. * src/sndfile.h.in src/sndfile.c src/common.h src/command.c
  2409. Implement new commands SFC_GET_SIGNAL_MAX and SFC_GET_MAX_ALL_CHANNELS.
  2410. * doc/commands.html
  2411. Document new commands. Other minor updates.
  2412. * tests/peak_chunk_test.c
  2413. Update tests for new commands.
  2414. 2006-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2415. * tests/peak_chunk_test.c
  2416. Add test for RIFX and WAVEX files.
  2417. Try and confuse the PEAK chunk writing by enabling and disabling it.
  2418. * src/sndfile.c
  2419. Fix a bug where enabling and disabling PEAK chunk was screwing up.
  2420. 2006-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2421. * src/sndfile.h.in
  2422. Add the block of 190 reserved bytes into this struct to allow for
  2423. future expansion.
  2424. * src/wav.c src/sndfile.c src/broadcast.c
  2425. Significant cleanup of broadcast wave stuff.
  2426. * examples/sndfile-info.c
  2427. Fix print message.
  2428. * tests/command_test.c tests/Makefile.am
  2429. Complete bext tests, hook test in test suite.
  2430. 2006-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2431. * src/sndfile.h.in
  2432. Make coding_history field of SF_BROADCAST_INFO struct a char array instead
  2433. of a char pointer.
  2434. * src/sndfile.c src/common.h src/wav.c
  2435. Clean up knock on effects of above chnage.
  2436. * examples/sndfile-info.c
  2437. Add -b command line option to usage message.
  2438. Clean up output of broadcast wave info.
  2439. * src/wav.c
  2440. Ignore and skip the 'levl' chunk.
  2441. 2006-03-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2442. * configure.ac
  2443. Fix handling of --enable and --disable configure args. Thanks to Diego
  2444. 'Flameeyes' Pettenò who sent the patch.
  2445. 2006-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2446. * doc/win32.html
  2447. Make it really clear that although the MSVC++ cannot compile libsndfile,
  2448. the precompiled DLL can be used in C++ programs compiled with MSVC++.
  2449. 2006-03-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2450. * src/aiff.c
  2451. Fix bug in writing of INST chunk in AIFF files.
  2452. Fix potential bug in writing MARK chunks.
  2453. * src/sndfile.c
  2454. Make sure the instrument chunk can only be written at the start of the file.
  2455. * tests/command_test.c
  2456. Add check of log buffer.
  2457. * tests/utils.tpl
  2458. Add usage of space character to psf_binheader_writef.
  2459. 2006-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2460. * src/Makefile.am tests/Makefile.am
  2461. Remove --source-time argument from autogen command lines.
  2462. * src/broadcast.c
  2463. New file for EBU Broadcast chunk in WAV files.
  2464. * src/sndfile.c src/sndfile.h.in src/wav.c src/common.h
  2465. Add patch from Paul Davis implementing read/write of the BEXT chunk.
  2466. 2006-03-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2467. * Win32/README-precompiled-dll.txt
  2468. New file descibing how to use the precompiled DLL.
  2469. * Win32/Makefile.am
  2470. Add Win32/README-precompiled-dll.txt to EXTRA_DIST files.
  2471. * configure.ac
  2472. Bump version to 1.0.15.
  2473. 2006-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2474. * src/wav.c
  2475. On read, only add the endian flag if the file is big endian.
  2476. * src/ms_adpcm.c
  2477. Fixed writing of APDCM coeffs in RIFX files.
  2478. * tests/write_read_test.tpl tests/lossy_comp_test.c
  2479. Add tests for RIFX files.
  2480. 2006-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2481. * Mingw-make-dist.sh
  2482. Bunch of improvements.
  2483. * doc/win32.html
  2484. Update MinGW program versions.
  2485. 2006-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2486. * src/create_symbols_file.py
  2487. Fix the library name in created win32 DEF file. Add correct DLL name for
  2488. Cygwin DLL.
  2489. * Win32/Makefile.am tests/Makefile.am
  2490. Remove redundant files, add win32_ordinal_test to test suite.
  2491. * tests/win32_ordinal_test.c
  2492. Update to do test in cygsndfile-1.dll as well.
  2493. * doc/win32.html
  2494. Fix typo, mention that -mno-cygwin with the Cygwin compiler does not work.
  2495. * src/wav.c src/wav_w64.c src/sndfile.c src/sndfile.h.in
  2496. Apply large patch from Jesse Chappell which adds support for RIFX files.
  2497. 2006-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2498. * Makefile.am
  2499. Add Mingw-make-dist.sh to the extra dist files.
  2500. * configure.ac
  2501. Fix setting SHLIB_VERSION_ARG for MinGW.
  2502. * tests/win32_ordinal_test.c
  2503. New test program to test that the win32 DLL ordinals agree with the DEF
  2504. file.
  2505. 2006-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2506. * src/common.h
  2507. Add a static inline function to convert an int to a size_t. This will be
  2508. a compile to nothing on 32 bit CPUs and a sign extension on 64 bit CPUs.
  2509. * src/aiff.c src/avr.c src/common.c src/xi.c src/gsm610.c
  2510. Fix an ia64 problem where a varargs function was being passed an int in
  2511. some places and a size_t in other places.
  2512. * src/sd2.c
  2513. Add a workaround for situations where OSX seems to add an extra 0x52 bytes
  2514. to the start of the resource fork.
  2515. 2006-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2516. * Mingw-make-dist.sh
  2517. Add a shell script to build the windows binary/source ZIP file.
  2518. * doc/index.html
  2519. Add download link for windows binary/source ZIP file. Add links for GPG
  2520. signatures.
  2521. * doc/win32.html
  2522. Remove info about building using microsoft compiler.
  2523. * configure.ac
  2524. Bump version to 1.0.14.
  2525. 2006-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2526. * src/sd2.c
  2527. Improve logging of errors in resource fork parser.
  2528. 2006-01-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2529. * Win32/Makefile.msvc
  2530. Replace au_g72x.* with g72x.*. Thanks to ussell Borogove.
  2531. 2006-01-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2532. * src/common.c
  2533. Make sure return values are initialised header buffer is full.
  2534. * src/wav.c
  2535. Add workarounds for messed up WAV files.
  2536. 2006-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2537. * Win32/config.h
  2538. Undef HAVE_INTTYPES_H for win32.
  2539. * tests/command_test.c
  2540. Don't exit on error in instrument test for XI files.
  2541. * configure.ac
  2542. Bump version to 1.0.13.
  2543. * doc/*.html NEWS README
  2544. Update version numbers.
  2545. 2006-01-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2546. * src/xi.c
  2547. Start work on add read/write of instrument chunks.
  2548. * src/command_test.c
  2549. Add tests for XI instrument chunk.
  2550. * tests/largefile_test.c tests/Makefile.am
  2551. Add new test and hook it into the build system. This test will not be run
  2552. automatically because it requires 3 Gig of disk space and takes 3 minutes
  2553. to run.
  2554. 2006-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2555. * examples/sndfile-play.c
  2556. Fix calculation of samples remaining in win32 code. Thanks Axel Röbel.
  2557. * src/common.h
  2558. Make sure length of header buffer can hold header plus strings. Thanks Axel
  2559. Röbel.
  2560. 2006-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2561. * src/sndfile.h.in src/aiff.c src/wav.c
  2562. Apply a patch from John ffitch (Csound project).
  2563. Add detune field to SF_INSTRUMENT struct.
  2564. Add reading/writing instrument chunks to WAV files.
  2565. * tests/command_test.c
  2566. Update SF_INSTRUMENT tests.
  2567. * tests/Makefile.am
  2568. Hook instrument tests into test suite.
  2569. 2006-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2570. * configure.ac
  2571. Check for <inttypes.h> because some broken systems (like Solaris) don't have
  2572. <stdint.h> which is the 1999 ISO C standard file containing int64_t.
  2573. * src/sfendian.h src/common.h
  2574. Use <inttypes.h> if <stdint.h> is not available.
  2575. 2005-12-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2576. * tests/peak_chunk_test.c
  2577. Extend and clean up tests.
  2578. * src/sndfile.c
  2579. Fix a bug that prevented the turning off of PEAK chunks.
  2580. 2005-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2581. * tests/error_test.c
  2582. Make the test distclean correct.
  2583. * src/file_io.c
  2584. Fix an SD2 MacOSX bug (reported by vince schwarzinger).
  2585. 2005-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2586. * src/aiff.c tests/command_test.c
  2587. Apply a big patch from John ffitch (Csound project) to add reading and
  2588. writing of instrument chunks to AIFF files. Also update the test.
  2589. 2005-12-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2590. * tests/aiff_rw_test.c tests/virtual_io_test.c tests/utils.tpl
  2591. Move test function dump_data_to_file() to utils.tpl.
  2592. * tests/error_test.c tests/Makefile.am
  2593. Updates, including a new test to test that sf_error() returns a valid error
  2594. number.
  2595. 2005-12-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2596. * examples/list_formats.c
  2597. Make sure the SF_INFO struct is memset to all zero before being used.
  2598. Thanks to Stephen F. Booth.
  2599. * src/sndfile.c
  2600. Make the return value of sf_error() match the API documentation.
  2601. 2005-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2602. * examples/sndfile-convert.c
  2603. Allow conversion to raw gsm610.
  2604. * src/common.h src/sndfile.c src/au.c
  2605. Remove au_nh_open() and all references to it (wasn't working anyway).
  2606. * tests/headerless_test.c
  2607. Add new test for file extension based detection.
  2608. * src/sndfile.c
  2609. Rejig file extension based file type detection.
  2610. 2005-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2611. * src/sndfile.c
  2612. Add "gsm" as a recognised file extension when no magic number can be found.
  2613. * tests/lossy_comp_test.c tests/Makefile.am
  2614. Test headerless GSM610.
  2615. 2005-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2616. * doc/api.html
  2617. Fix a minor typo and a minor error. Thanks Christoph Kobe and John Pavel.
  2618. 2005-10-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2619. * src/wav_w64.c
  2620. Add more reporting of 'fmt ' chunk for G721 encoded files.
  2621. * src/wav.c
  2622. Gernerate a more correct 20 byte 'fmt ' chunk rather than a 16 byte one.
  2623. 2005-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2624. * src/G72x/g72x.[ch]
  2625. Minor cleanup of interface.
  2626. 2005-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2627. * src/ogg.c
  2628. Removed the horribly broken and non-functional OGG implementation when
  2629. --enable-experimental was enabled. When OGG does finally work it will be
  2630. merged.
  2631. * src/caf.c
  2632. Fix a memory leak.
  2633. 2005-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2634. * src/g72x.c src/G72x/*.(c|h) src/common.h src/sndfile.c src/wav.c src/au.c
  2635. Add support for G721 encoded WAV files.
  2636. * doc/index.html
  2637. Update support matrix.
  2638. * tests/lossy_comp_test.c
  2639. For file formats that support it, add string data after the audio data and
  2640. make sure it isn't treated as audio data on read.
  2641. * src/gsm610.c
  2642. Add code to ensure that the container close function (ie for WAV files) gets
  2643. called after the codec's close function. This allows GSM610 encoded WAV files
  2644. to have string data following the audio data.
  2645. Add an AIFF specific check on psf->datalength.
  2646. * src/wav.c
  2647. Simplify wav_close function.
  2648. * src/aiff.c
  2649. Make sure the tailer data gets written at an even file offset. Pad if
  2650. necessary.
  2651. * src/common.h
  2652. Replace the close function pointer in SF_PRIVATE with separate functions
  2653. codec_close and container_close. The former is always called first.
  2654. * src/*.c
  2655. Fix knock on effects of above.
  2656. 2005-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2657. * examples/sndfile-info.c
  2658. Complete dumping SF_INSTRUMENT data.
  2659. * src/dwvw.c src/ima_adpcm.c src/gsm610.c src/ms_adpcm.c
  2660. Add extra checks in *_init function.
  2661. * tests/lossy_comp_test.c
  2662. Add a string comment to the end of the files to make sure that the decoder
  2663. doesn't decode beyond the end of the audio data section.
  2664. 2005-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2665. * examples/sndfile-info.c
  2666. Minor code cleanup.
  2667. Start work on dumping SF_INSTRUMENT data.
  2668. 2005-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2669. * src/sndfile.h.in src/common.h src/common.c
  2670. Update definition of SF_INSTRUMENT struct and create a function to allocate
  2671. and initialize the struct (input from David Viens).
  2672. Clean up definition of SF_INSTRUMENT struct.
  2673. * src/wav.c src/wav_w64.c
  2674. Add support for Ambisoncs B WAVEX files (David Viens).
  2675. * src/aiff.c src/wav.c src/wav_w64.c
  2676. Start work on reading/writing the SF_INSTRUMENT data.
  2677. * src/sndfile.c
  2678. Add code to get and set SF_INSTRUMENT data.
  2679. * tests/command_test.* tests/Makefile.am
  2680. Add test for set and getof SF_INSTRUMENT data.
  2681. The file command_test.c is no longer autogen generated.
  2682. 2005-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2683. * src/gsm610.c
  2684. Minor cleanup.
  2685. 2005-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2686. * tests/lossy_comp_test.c
  2687. Minor cleanup.
  2688. 2005-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2689. * src/*.c
  2690. Ensure sfconfig.h is included before any other header file.
  2691. * src/file_io.c
  2692. Add comments documenting the three sections of the file.
  2693. * src/gsm610.c
  2694. Make sure SF_FORMAT_WAVEX are handled correctly.
  2695. 2005-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2696. * configure.ac
  2697. Add options to allow disabling of FLAC and ALSA. Suggested by Ben Greear.
  2698. 2005-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2699. * tests/locale_test.c
  2700. Modify the way the unicode strings were encoded so that older compilers
  2701. do not complain. Thanks Axel Röbel.
  2702. * configure.ac
  2703. Bump the version to 1.0.12 for release.
  2704. * NEWS README Win32/config.h doc/(FAQ|index.html|command|api).html
  2705. Update version numbers.
  2706. 2005-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2707. * src/flac.c
  2708. Fix valgrind error and minor cleanup.
  2709. 2005-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2710. * src/(au|paf|aiff|w64|wav|svx).c
  2711. Make sure structs are initialised.
  2712. 2005-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2713. * configure.ac
  2714. Make -Wdeclaration-after-statement work with --enable-gcc-werror configure
  2715. option.
  2716. Add -std=gnu99 (C99 plus posix style stuff like gmtime_r) to CFLAGS if the
  2717. compiler supports it.
  2718. 2005-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2719. * configure.ac acinclude.m4
  2720. Add -Wdeclaration-after-statement to CFLAGS if the compilers supports it.
  2721. 2005-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2722. * tests/util.(tpl|def)
  2723. Make the test_write_*_or_die() functions const safe.
  2724. 2005-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2725. * src/nist.c
  2726. Make sure the data offset is read from the file header. Thanks to
  2727. David A. van Leeuwen for a patch.
  2728. 2005-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2729. * configure.ac src/sfconfig.h
  2730. Check for <locale.h> and the function setlocale().
  2731. Set config variables to zero if not found.
  2732. * tests/locale_test.c tests/Makefile.am
  2733. Add new test program and hook into build/test system.
  2734. 2005-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2735. * src/common.h src/file_io.c
  2736. On windows, use windows specific types for file handles.
  2737. Add functions psf_init_files() and psf_use_rsrc().
  2738. * src/sd2.c
  2739. Make resource fork handling independant of file desciptor/handles.
  2740. * src/sndfile.c src/test_file_io.c
  2741. Fix knock on effects.
  2742. 2005-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2743. * src/float_cast.h
  2744. The lrint and lrintf implementations in Cygwin are both buggy and slow.
  2745. Add replacements which were pulled from the Public Domain MinGW math.h
  2746. header file.
  2747. 2005-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2748. * tests/(lossy_comp_test|virtual_io_test).c
  2749. More Valgrind fixups.
  2750. * configure.ac
  2751. Simplify and correct configuring for Cygwin.
  2752. * Win32/config.h Win32/sndfile.h Win32/Makefile.msvc
  2753. Update build for MSVC.
  2754. 2005-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2755. * tests/lossy_comp_test.c
  2756. Make sure to close SNDFILE when exiting test when file format is not seekable.
  2757. * tests/(aiff_rw_test|virtual_io_test).c
  2758. Do a few valgrind fix ups.
  2759. 2005-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2760. * src/float32.c src/double64.c
  2761. Replace floating point equality comparisons with greater/less comparisons.
  2762. Found by John Pavel using the Intel compiler.
  2763. * src/sfconfig.h
  2764. New file to clean up issues surrounding autoconf generated preprocessor
  2765. symbols.
  2766. * src/*.(c|h) tests/*.(c|tpl) examples/*.c
  2767. Fixed a bunch of other stuff found by John Pavel using the Intel compiler.
  2768. * src/file_io.c
  2769. Remove Mac OS9 Metrowerks compiler specific hacks.
  2770. 2005-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2771. * src/w64.c
  2772. Cast integer literal to sf_count_t in call to psf_binheader_writef() to
  2773. prevent Valgrind error.
  2774. 2005-08-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2775. * doc/command.html
  2776. Improve documentation of SF_GET_FORMAT_SUBTYPE.
  2777. 2005-08-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2778. * examples/sndfile-convert.c
  2779. Allow files to be converted to SD2 format.
  2780. * src/sd2.c
  2781. Fix a bug in reading and writing of SD2 files on little endian CPUs.
  2782. Thanks to Matthew Willis for finding this.
  2783. 2005-08-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2784. * doc/api.html
  2785. Update Note2 to point to SFC_SET_SCALE_FLOAT_INT_READ.
  2786. 2005-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2787. * configure.ac
  2788. Use $host_os instead of $target_os (thanks to Mo De Jong).
  2789. 2005-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2790. * src/Makefile.am
  2791. Apply a patch from Mo DeJong to allow building outside of the source dir.
  2792. * src/file_io.c
  2793. Fix psf_fsync() for win32.
  2794. * src/wav.c src/wav_w64.(c|h)
  2795. Move some code from wav.c to wav_w64.c to improve the log output of files of
  2796. type WAVE_FORMAT_EXTENSIBLE.
  2797. 2005-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2798. * src/create_symbols_file.py
  2799. Make sure sf_write_fsync is an exported symbol.
  2800. * examples/sndfile-convert.c
  2801. Add support for writing VOX adpcm files.
  2802. 2005-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2803. * doc/api.html
  2804. Document the new function sf_write_sync().
  2805. * doc/FAQ.html
  2806. Do you plan to support XYZ codec.
  2807. 2005-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2808. * src/sndfile.h.in src/sndfile.c
  2809. Add function sf_write_sync() to the API.
  2810. * src/common.h src/file_io.c
  2811. Low level implementation (win32 not done yet).
  2812. * tests/write_read_test.tpl
  2813. Use the new function in the tests.
  2814. 2005-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2815. * src/common.h src/double64.c src/float32.c src/sndfile.c
  2816. Change the way PEAK chunk info is stored. Peaks now stored as an sf_count_t
  2817. for position and a double as the value.
  2818. * src/aiff.c src/caf.c src/wav.c
  2819. Fix knock on effects of above changes.
  2820. * src/caf.c
  2821. Implement 'peak' chunk for file wuth data in SF_FORMAT_FLOAT or
  2822. SF_FORMAT_DOUBLE format.
  2823. 2005-07-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2824. * src/nist.c
  2825. Fix a bug where a variable was being used without being initialized.
  2826. * src/flac.c
  2827. Add extra debug in sf_flac_meta_callback.
  2828. Make a bunch of private functions static.
  2829. * src/aiff.c src/wav.c
  2830. Fix allocation for PEAK_CHUNK (bug found using valgrind).
  2831. 2005-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2832. * src/common.h
  2833. Move the peak_loc field of SF_PRIVATE to the PEAK_CHUNK struct.
  2834. Remove had_peak field of SF_PRIVATE, use pchunk != NULL instead.
  2835. Rename PEAK_CHUNK and PEAK_POS to PEAK_CHUNK_32 and PEAK_POS_32.
  2836. * src/aiff.c src/caf.c src/wav.c src/float32.c src/double64.c
  2837. Fix knock on effects from above.
  2838. 2005-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2839. * src/wav.c
  2840. Prevent files with unknown chunks from being opened read/write.
  2841. 2005-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2842. * src/flac.c
  2843. Do not use psf->end_of_file because it never gets set to anything.
  2844. * src/common.h
  2845. Remove unused SF_PRIVATE field end_of_file.
  2846. 2005-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2847. * src/common.c
  2848. Change the 'S' format specifier of psf_binheader_writef() to write AIFF
  2849. style strings (no terminating character).
  2850. * src/aiff.c
  2851. Move to new (correct) AIFF string style. Thanks to Axel Röbel for being
  2852. so persistent on this issue.
  2853. 2005-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2854. * src/sndfile.c
  2855. Allow SFE_UNSUPPORTED_FORMAT as an error from sf_open().
  2856. * doc/api.html doc/command.html
  2857. Documentation updates (thanks to Kyroz for promoting these updates).
  2858. * src/mat5.c
  2859. Modify the way the header is written.
  2860. 2005-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2861. * src/caf.c
  2862. Add a 'free' chunk to the written file so that the audio data starts at
  2863. an offset of 0x1000.
  2864. * src/sndfile.c
  2865. Allow SFE_UNSUPPORTED_FORMAT as an error from sf_open().
  2866. 2005-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2867. * src/caf.c src/sndfile.c
  2868. Add support for signed 8 bit integers.
  2869. * tests/write_read_test.tpl
  2870. Add test for signed 8 bit integers in CAF files.
  2871. * doc/index.html
  2872. Update matrix for signed 8 bit integers in CAF files.
  2873. 2005-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2874. * src/sndfile.c
  2875. Update sf_check_format() to support CAF.
  2876. * examples/sndfile-convert.c
  2877. Add support for ".caf" file extension.
  2878. * doc/index.html
  2879. Add Apple CAF to the support matrix.
  2880. * src/caf.c
  2881. Add file write support.
  2882. * src/common.c
  2883. Fix printing of Frames.
  2884. * tests/Makefile.am tests/write_read_test.tpl tests/lossy_comp_test.c
  2885. tests/header_test.tpl misc_test.c
  2886. Add tests for CAF files.
  2887. 2005-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2888. * doc/FAQ.html
  2889. Fix Q/A about reading/writing memory buffers.
  2890. * src/caf.c
  2891. Bunch of work to support reading of CAF files.
  2892. 2005-07-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2893. * src/(aiff|ima_adpcm|mat4|mat5|ms_adpcm).c examples/sndfile-play.c
  2894. Fix sign conversion errors reported by gcc-4.0.
  2895. * src/caf.c
  2896. New file for Apple's Core Audio File format.
  2897. * src/sndfile.c src/common.h src/sndfile.h.in src/Makefile.am
  2898. Hook new file into build system.
  2899. 2005-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2900. * src_wav_w64.c
  2901. Fix handling of stupidly large 'fmt ' chunks. Thanks to Vadim Berezniker
  2902. for supplying an example file.
  2903. * src/common.h src/sndfile.c
  2904. Remove redundant error code SFE_WAV_FMT_TOO_BIG.
  2905. 2005-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2906. * src/sndfile.h.in src/common.h src/sndfile.c
  2907. Add public error value SF_ERR_MALFORMED_FILE.
  2908. * src/sndfile.c
  2909. When parsing a file header fails and we don't have a system error, then set
  2910. the error number to SF_ERR_MALFORMED_FILE (suggested by Kyroz).
  2911. * configure.ac
  2912. Allow sqlite support to be disabled in configure script.
  2913. * regtest/database.c regtest/sndfile-regtest.c
  2914. Fix compiling when sqlite is missing.
  2915. 2005-06-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2916. * src/file_io.c
  2917. Fix psf_is_pipe() and return value of psf_fread() when using virtual i/o.
  2918. * src/sndfile.c
  2919. Fix VALIDATE_AND_ASSIGN_PSF macro for virtual i/o.
  2920. * tests/virtual_io_test.c
  2921. Fill in skeleton test program.
  2922. * tests/Makefile.am
  2923. Move virtual i/o tests to end of tests with stdio/pipe tests.
  2924. * src/(sndfile.h.in|file_io.c|common.h|sndfile.c) tests/virtual_io_test.c
  2925. Rename some of the virtual i/o functions and data types.
  2926. 2005-06-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2927. * src/sndfile.c
  2928. Fix the return values of sf_commands : SFC_SET_NORM_DOUBLE,
  2929. SFC_SET_NORM_FLOAT, SFC_GET_LIB_VERSION and SFC_GET_LOG_INFO. Thanks to
  2930. Kyroz for pointing out these errors.
  2931. * doc/command.html
  2932. Correct documented return values for SFC_SET_NORM_DOUBLE and
  2933. SFC_SET_NORM_FLOAT. Thanks to Kyroz again.
  2934. 2005-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2935. * regtest/*
  2936. Add new files for sndfile-regtest program.
  2937. * configure.ac Makefile.am
  2938. Hook regetest into build.
  2939. * src/wav.c src/common.c
  2940. Fix a regression where long ICMT chunks were causing the WAV parser
  2941. to exit.
  2942. 2005-05-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2943. * libsndfile.spec.in
  2944. Add html docs to the files section as suggested by Karsten Jeppesen.
  2945. * src/aiff.c
  2946. Fix parsing of odd length ANNO chunks.
  2947. 2005-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2948. * src/common.h
  2949. Change the include guard to prevent clashes with other code.
  2950. 2005-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2951. * examples/sndfile-play.c
  2952. Improve error handling in code for playback under Linux/ALSA.
  2953. 2005-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2954. * src/ircam.c
  2955. Fix writing of IRCAM files on big endian systems (thanks to Axel Röbel).
  2956. * src/wav.c
  2957. Add workaround for files created by the Peak audio editor on Mac which can
  2958. produce files with very short LIST chunks (thanks to Jonathan Segel who
  2959. supplied the file).
  2960. 2005-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2961. * src/aiff.c
  2962. Apply a patch From David Viens to make the parsing of basc chunks more
  2963. robust.
  2964. * src/wav.c
  2965. Another patch from David Viens to write correct wavex channel masks for
  2966. the most common channel configurations.
  2967. 2005-04-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2968. * src/command.c
  2969. Only allow FLAC in the format arrays if FLAC is enabled. Thanks to
  2970. Leigh Smith.
  2971. 2005-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2972. * src/common.h
  2973. Add a directory field for storing the file directory to the SF_PRIVATE
  2974. struct.
  2975. * src/sndfile.c
  2976. Grab the directory name when copying the file path.
  2977. * src/file_io.c
  2978. Cleanup psf_open_rsrc() and also check for resource fork in
  2979. .AppleDouble/filename.
  2980. 2005-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2981. * src/svx.c
  2982. Fix a bug in the printing of the channel count. Bug reported by Michael
  2983. Schwendt. Thanks.
  2984. 2005-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2985. * src/paf.c
  2986. Fix a seek bug for 24 bit PAF files.
  2987. * tests/write_read_test.tpl
  2988. Update write_read_test to trigger the previously hidden PAF seek bug.
  2989. 2005-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2990. * src/aiff.c src/w64.c src/wav.c
  2991. Do not return a header parse error when the log buffer overflows.
  2992. Continuing parsing works even on files where the log buffer does overflow.
  2993. This avoids a bug on some weirdo WAV (and other) files.
  2994. * src/common.h src/sndfile.c
  2995. Remove SFE_LOG_OVERRIN error and its associated error message.
  2996. * src/file_io.c
  2997. Fix a rsrc fork problem on MacOSX.
  2998. 2004-12-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2999. * src/sndfile-play.c
  3000. In the ALSA output code, added call to snd_pcm_drain() just before
  3001. snd_pcm_close() as suggested by Thomas Kaeding.
  3002. In the OSS output code, added two ioctls (SNDCTL_DSP_POST and
  3003. SNDCTL_DSP_SYNC) just before the close of the audio device.
  3004. * tests/virtual_io_test.c tests/Makefile.am
  3005. Add a new test program (currently empty) and add it to the build.
  3006. 2004-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3007. * src/sndfile.h.in src/sndfile.h src/common.h src/file_io.c
  3008. src/create_symbols_file.py
  3009. Apply patch from Steve Baker which is the beginnings of a virtual
  3010. I/O interface.
  3011. 2004-12-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3012. * src/*.c src/sndfile.h.in
  3013. Const-ify the write path throughout the library.
  3014. 2004-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3015. * doc/development.html
  3016. Minor improvements.
  3017. 2004-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3018. * doc/bugs.html
  3019. Minor improvements.
  3020. 2004-11-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3021. * src/aiff.c
  3022. Add workaround for Logic Platinum AIFF files with broken COMT chunks.
  3023. 2004-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3024. * doc/FAQ.html
  3025. Remove some ambiguities in the SD2 FAQ answer.
  3026. 2004-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3027. * Win32/sndfile.h Win32/config.h MacOS9/sndfile.h MacOS9/config.h
  3028. Updates from autoconfig versions.
  3029. 2004-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3030. * src/aiff.c
  3031. Fix parsing of COMT chunks. Store SF_STR_COMMENT data in ANNO chunks
  3032. instead of COMT chunk.
  3033. 2004-11-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3034. * src/file_io.c src/common.h
  3035. Change the ptr argument to psf_write() from "void*" to a "const void*".
  3036. Thanks to Tobias Gehrig for suggesting this.
  3037. 2004-10-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3038. * src/file_io.c src/common.h
  3039. Add functions psf_close_rsrc() and read length of resourse fork into
  3040. rsrclength field of SF_PRIVATE.
  3041. * src/sd2.c
  3042. Make sure resource fork gets closed.
  3043. * tests/util.tpl
  3044. Add functions to check for file descriptor leakage.
  3045. * src/write_read_test.tpl
  3046. Use the file descriptor leak checks.
  3047. * src/sndfile.h.in
  3048. Add SFC_GET_LOOP_INFO and SF_LOOP_INFO struct.
  3049. * src/common.h
  3050. Add SF_LOOP_INFO pointer to SF_PRIVATE.
  3051. * src/wav.c src/aiff.c
  3052. Improve and add parsing of 'ACID' and 'basc' chunks, filling in
  3053. SF_LOOP_INFO data in SF_PRIVATE.
  3054. 2004-10-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3055. * src/sd2.c
  3056. Further cleanup: remove printfs, change snprintf to LSF_SNPRINTF.
  3057. * Win32/config.h Win32/sndfile.h
  3058. Updates.
  3059. * tests/util.tpl
  3060. Add win32 macro for snprintf.
  3061. 2004-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3062. * src/sfendian.h
  3063. Add macros : H2BE_SHORT, H2BE_INT, H2LE_SHORT and H2LE_INT.
  3064. * src/sd2.c
  3065. Use macros to make sure writing SD2 files on little endian machines works
  3066. correctly.
  3067. * tests/util.tpl
  3068. Add a delete_file() function which also deletes the resource fork of SD2
  3069. files.
  3070. * tests/write_read_test.tpl
  3071. Use delete_file() so that "make distcheck" works.
  3072. 2004-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3073. * src/sndfile.c src/file_io.c
  3074. Move resource filename construction and testing to psf_open_rsrc().
  3075. * src/common.h src/sndfile.c
  3076. Add error SFE_SD2_FD_DISALLOWED.
  3077. * tests/util.tpl tests/*.(c|tpl)
  3078. Add and allow_fd parameter to test_open_file_or_die() so that use of
  3079. sf_open_fd() can be avoided when opening SD2 files.
  3080. 2004-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3081. * src/wav.c
  3082. Update ACID chunk parsing.
  3083. * src/sd2.c
  3084. More fixes for files with large resource forks.
  3085. 2004-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3086. * src/common.h src/sndfile.c
  3087. Add error numbers and messages for sd2 files.
  3088. * src/sd2.c
  3089. Reading of sd2 (resource fork version) now seems to be working.
  3090. 2004-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3091. * src/file_io.h
  3092. Update file_io.c to include win32 psf_rsrc_open().
  3093. * tests/floating_point_test.tpl
  3094. Remove use of __func__ in test programs (MSVC++ doesn't grok this).
  3095. * Win32/(config|sndfile).h MacOS9/(config|sndfile).h
  3096. Updates.
  3097. 2004-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3098. * src/sfendian.h
  3099. Fix endswap_int64_t_(array|copy).
  3100. * src/test_endswap.(tpl|def)
  3101. Add tests for above and inprove all tests.
  3102. 2004-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3103. * src/sfendian.h
  3104. Improve type safety, add endswap_double_array().
  3105. * src/double64.c
  3106. Use endswap_double_array() instead of endswap_long_array().
  3107. * src/test_endswap.(tpl|def) src/Makefile.am
  3108. Add preliminary endswap tests and hook into build system.
  3109. 2004-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3110. * src/configure.ac src/makefile.am
  3111. Finally fix the bulding of DLLs on Win32/MinGW.
  3112. * tests/makefile.am
  3113. Fix running of tests on Win32/MinGW.
  3114. 2004-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3115. * src/sndfile.h.in src/sndfile.c tests/floating_point_test.tpl
  3116. Rename SFC_SET_FLOAT_INT_MULTIPLIER to SFC_SET_SCALE_FLOAT_INT_READ.
  3117. * doc/command.html
  3118. Document SFC_SET_SCALE_FLOAT_INT_READ.
  3119. 2004-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3120. * tests/floating_point_test.(tpl|def)
  3121. Derived from floating_point_test.c.
  3122. Add (float|double)_(short|int)_test functions.
  3123. * tests/util.(tpl|def)
  3124. Make separate float and double versions of gen_windowed_sine().
  3125. * tests/write_read_test.tpl
  3126. Fix after changes to gen_windowed_sine().
  3127. * src/(float32|double64).c
  3128. Implement SFC_SET_FLOAT_INT_MULTIPPLIER.
  3129. 2004-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3130. * acinclude.m4
  3131. Fix warnings from automake 1.8 and later.
  3132. * examples/sndfile-info.c
  3133. Add a "fflush (stdout)" after printing Win32 message.
  3134. 2004-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3135. * Win32/Makefile.mingw.in
  3136. Add a "make install" target.
  3137. 2004-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3138. * src/sndfile.h.in src/common.h src/sndfile.c src/command.c
  3139. Start work on adding command SFC_SET_FLOAT_INT_MULTIPLIER.
  3140. 2004-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3141. * examples/sndfile-convert.c
  3142. Fix a bug converting stereo integer PCM files to float.
  3143. 2004-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3144. * examples/sndfile-play.c
  3145. Appy patch from Conrad Parker to make Mac OSX error messages more
  3146. consistent and informative.
  3147. * doc/api.html
  3148. Fix a HTML HREF which was wrong.
  3149. * doc/win32.html
  3150. Add information about when nmake fails.
  3151. 2004-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3152. * examples/sndfile-play.c
  3153. Another patch from Denis Cote to prevent race conditions.
  3154. 2004-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3155. * src/common.h src/ms_adpcm.c src/ima_adpcm.c
  3156. Fix alternative to ISO standard flexible struct array feature for broken
  3157. compilers.
  3158. 2004-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3159. * src/common.h src/string.c src/sndfile.c
  3160. Make sf_set_string() return an error if trying to set a string when in
  3161. read mode.
  3162. 2004-08-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3163. * src/common.h
  3164. Change the unnamed union into a named union so gcc-2.95 will compile it.
  3165. * src/*.c
  3166. Fixes to allow for the above change.
  3167. 2004-08-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3168. * examples/sndfile-play.c
  3169. Fixes for Win32. Thanks to Denis Cote.
  3170. * Win32/Win32/Makefile.(msvc|mingw.in)
  3171. Fix build system after removal of sfendian.h.
  3172. Build sndfile-convert.
  3173. * src/Makefile.am
  3174. Remove sfendian.c from dependancies.
  3175. 2004-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3176. * src/sndfile.h.in
  3177. Fix typo in comments (thanks Tommi Sakari Uimonen).
  3178. 2004-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3179. * tests/(a|u)law_test.c
  3180. Minor cleanup.
  3181. 2004-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3182. * src/(pcm|float|double64|ulaw|alaw|xi).c
  3183. Optimise read/write loops by removing a redundant variable.
  3184. 2004-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3185. * src/file_io.c
  3186. Remove call to fsync() in psf_close().
  3187. 2004-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3188. * src/pcm.c
  3189. Inline x2y_array() functions where possible.
  3190. * configure.ac
  3191. Detect presence of type int64_t.
  3192. * src/sfendian.c src/sfendian.h
  3193. Move functions in the first file to the sfendian.h as static inline
  3194. functions.
  3195. Improve endswap_long_*() where possible.
  3196. 2004-07-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3197. * src/pcm.c
  3198. When converting from unsigned char to float or double, subtract 128 before
  3199. converting to float/double rather than after to save a floating point
  3200. operation as suggested by Stefan Briesenick.
  3201. * src/(pcm|sfendian|alaw|ulaw|double64|float32).c
  3202. Optimize inner loops by changing the loop counting slightly as suggested
  3203. by Stefan Briesenick.
  3204. * configure.ac
  3205. Detect presence of <byteswap.h>.
  3206. * src/sfendian.h
  3207. Use <byteswap.h> if present as suggested by Stefan Briesenick.
  3208. * src/pcm.c
  3209. Update bytewapping.
  3210. 2004-07-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3211. * src/common.h src/*.c
  3212. Change the psf->buffer field of SF_PRIVATE into a more type safe union with
  3213. double, float, int etc elements.
  3214. 2004-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3215. * examples/sndfile-play.c
  3216. Merge slightly modifed patch from Stanko Juzbasic which allows playback of
  3217. mono files on MacOSX.
  3218. 2004-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3219. * examples/sndfile-convert.c
  3220. Move copy_metadata() after the second sf_open().
  3221. 2004-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3222. * examples/sndfile-convert.c
  3223. Fix a bug which caused the program to go into an infinite loop if the source
  3224. file has no meta-data. Thanks to Ron Parker for reporting this.
  3225. * src/sndfile.h.in
  3226. Add SF_STR_FIRST and SF_STR_LAST to allow enumeration of string types.
  3227. * Win32/sndfile.h MacOS9/sndfile.h
  3228. Update these as per the above file.
  3229. 2004-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3230. * configure.ac src/common.h src/ogg.c src/sndfile.c src/sndfile.h.in
  3231. src/Makefile.am
  3232. Apply large patch from Conrad Parker implementing Ogg Vorbis, Ogg Speex and
  3233. Annodex support via liboggz and libfishsound. Thanks Conrad.
  3234. 2004-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3235. * src/avr.c src/ircam.c src/nist.c src/paf.c src/xi.c
  3236. Add cast to size_t for some parameters passed to psf_binheader_writef. This
  3237. is Debian bug number 253490. Thanks to Anand Kumria and Andreas Jochens.
  3238. * src/w64.c
  3239. Found and fixed a bug resulting from use of size_t when writing W64 'fmt '
  3240. chunk.
  3241. 2004-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3242. * configure.ac
  3243. Bump version to 1.0.10 ready for release.
  3244. * Makefile.am
  3245. Remove redundant files (check_libsndfile.py libsndfile_version_convert.py)
  3246. from distribution tarball.
  3247. * tests/header_test.tpl
  3248. Fix uninitialised variable.
  3249. * src/GSM610/short_term.c
  3250. Fix compiler warning on MSVC++.
  3251. 2004-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3252. * src/wav.c
  3253. Improve record keeping of chunks seen and return an error if a file with
  3254. unusual chunks is opened in mode SFM_RDWR.
  3255. * src/mmreg.h
  3256. This file not needed so remove it.
  3257. 2004-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3258. * tests/header_test.tpl
  3259. Add extra_header_test().
  3260. * src/common.h src/sndfile.c
  3261. Add SFE_RDWR_BAD_HEADER error number and string.
  3262. 2004-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3263. * tests/utils.tpl tests/*.c tests/*.tpl
  3264. Add a line number argument to check_log_buffer_or_die() and update all
  3265. files that use that function.
  3266. * tests/header_test.tpl
  3267. Modify/update tests for files opened SFM_RDWR and SFC_UPDATE_HEADER_AUTO.
  3268. * src/aiff.c src/wav.c
  3269. Fix another bug in AIFF and WAV files opened in SFM_RDWR and using
  3270. SFC_UPDATE_HEADER_AUTO.
  3271. * src/test_file_io.c
  3272. Add a test for psf_ftruncate() function.
  3273. 2004-05-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3274. * src/sndfile.c
  3275. Fix another weird corner case bug found by Martin Rumori. Thanks.
  3276. * tests/header_test.(tpl|def)
  3277. Two new files to test for the absence of the above bug and include tests
  3278. moved from tests/misc_test.c.
  3279. * tests/Makefile.am
  3280. Hook new tests into build/test system.
  3281. * tests/misc_test.c
  3282. Remove update_header_test() which has been moved to the new files above.
  3283. 2004-05-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3284. * src/aiff.c
  3285. Fixed a bug reported by Martin Rumori on the LAD list. If a file created
  3286. with a format of SF_FORMAT_FLOAT and then closed before any data is written
  3287. to it, the header can get screwed up (PEAK chunk gets overwritten).
  3288. * tests/write_read_test.tpl
  3289. Add a test (empty_file_test) for the above bug.
  3290. 2004-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3291. * Win32/Makefile.mingw.in
  3292. Added a Makefile for MinGW (needs to be processed by configure).
  3293. * src/mmsystem.h src/mmreg.h
  3294. Add files from the Wine project (under the LGPL) to allow build of
  3295. sndfile-play.exe under MinGW.
  3296. 2004-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3297. * src/GSM610/gsm610_priv.h
  3298. Replace ugly macros with inline functions.
  3299. * src/GSM610/*.c
  3300. Remove temporary variables used by macros and other minor fixes required by
  3301. above change.
  3302. 2004-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3303. * tests/pipe_test.tpl tests/stdio_test.c Win32/Makefile.msvc
  3304. Make sure these programs compile (even though they do nothing) on Win32
  3305. and add them to the "make check" target.
  3306. * src/sfendian.h
  3307. Fix warning on Sparc CPU and code cleanup.
  3308. 2004-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3309. * src/file_io.c
  3310. Fix warning messages when compiling under MinGW.
  3311. 2004-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3312. * configure.ac
  3313. Set HAVE_FLEXIBLE_ARRAY in src/config.h depending on whether the compiler
  3314. accepts the flexible array struct member as per 1999 ISO C standard.
  3315. * src/common.h src/ima_adpcm.c src/paf.c src/ms_adpcm.c
  3316. Added ugly #if HAVE_FLEXIBLE_ARRAY and provided a non-standards compliant
  3317. hack for non 1999 ISO C compliant compilers.
  3318. 2004-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3319. * src/strings.c
  3320. If adding an SF_STR_SOFTWARE string, only append libsndfile-X.Y.Z if the
  3321. string does not already have libsndfile in the string. Thanks to Conrad
  3322. Parker.
  3323. * tests/string_test.c
  3324. Add test to verify the above.
  3325. * examples/sndfile-convert.c
  3326. Add ability to transcode meta data as well (Conrad Parker).
  3327. 2004-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3328. * doc/command.html
  3329. Fix minor error. Thanks to Simon Burton.
  3330. * doc/win32.html
  3331. Started adding instructions for compiling libsndfile under MinGW.
  3332. * configure.ac
  3333. Add --enable-bow-docs to enable black text on a white background HTML docs.
  3334. * doc/libsndfile.css.in
  3335. This is now a template file for configure which sets the foreground and
  3336. background colours.
  3337. 2004-04-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3338. * configure.ac
  3339. Do some MinGW fixes.
  3340. * configure.ac doc/Makefile.am
  3341. Install HTML docs when doing make install.
  3342. 2004-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3343. * examples/sndfile-info.c
  3344. Print out the dB level with the signal max.
  3345. 2004-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3346. * src/file_io.c
  3347. Define S_ISSOCK in src/file_io.c if required.
  3348. 2004-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3349. * configure.ac
  3350. Improve printout configuration summary (as suggested by Axel Röbel).
  3351. * doc/index.html
  3352. Add link to pre-release location.
  3353. * src/sndfile.h.in
  3354. Remove comma after last element of enum.
  3355. * src/float32.c src/double64.c
  3356. Fix read/write of float/double encoded raw files to/from pipes.
  3357. * tests/pipe_test.c tests/pipe_test.tpl tests/pipe_test.def
  3358. Turn pipe_test.c into an autogenerated file and add tests for reading/
  3359. writing floats and doubles.
  3360. * tests/Makefile.am
  3361. Hook tests/pipe_test.* into build system.
  3362. 2004-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3363. * configure.ac acinclude.m4
  3364. Rename AC_C_STRUCT_HACK macro to AC_C99_FLEXIBLE_ARRAY.
  3365. 2004-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3366. * tests/misc_test.c
  3367. Perform update_header_test in RDWR mode as well.
  3368. * src/aiff.c
  3369. Fix problems when updating header in RDWR mode.
  3370. 2004-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3371. * src/wav.c src/w64.c src/wav_w64.c
  3372. Integrate code supplied by David Viens for supporting microsoft's
  3373. WAVEFORMATEXTENSIBLE stuff. Thanks David for supplying this.
  3374. * configure.ac doc/*.html
  3375. Bump version to 1.0.9.
  3376. 2004-03-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3377. * src/command.c src/sndfile.c src/sndfile.h.in src/wav.c
  3378. Started work on supporting microsoft's WAVEFORMATEXTENSIBLE gunk.
  3379. 2004-03-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3380. * src/avr.c
  3381. New file to handle Audio Visual Resaerch files.
  3382. * src/sndfile.h.in src/common.h src/sndfile.c src/command.c
  3383. Hook AVR into everything else.
  3384. * tests/Makefile.am tests/write_read_test.tpl tests/misc_test.c
  3385. Add testing for AVR files.
  3386. 2004-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3387. * src/file_io.c
  3388. Fix psf_set_file() for win32. Thanks to Vincent Trussart (Plogue Art et
  3389. Technologie) for coming up with the solution.
  3390. 2004-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3391. * tests/write_read_test.tpl
  3392. Fixed a bug that was causing valgrind to report a memory leak. The bug was
  3393. in the test code itself, not the library.
  3394. 2004-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3395. * examples/generate.cs
  3396. An example showing how to use libsndfile from C#. Thanks to James Robson
  3397. for providing this.
  3398. 2004-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3399. * src/common.c
  3400. Fix problems with WAV files containing large chunks after the 'data'
  3401. chunk. Thanks to Koen Tanghe for providing a sample file.
  3402. 2004-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3403. * configure.ac
  3404. Detect presense of ALSA (Advanced Linux Sound Architecture).
  3405. * examples/sndfile-play.c
  3406. Add ALSA output support.
  3407. * examples/Makefile.am
  3408. Add ALSA_LIBS to link line of sndfile-play.c.
  3409. 2004-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3410. * acinclude.m4
  3411. Add new macro (AC_C_STRUCT_HACK) to detect whether the C compiler allows
  3412. the use of the what is known as the struct hack introduced by the 1999 ISO
  3413. C Standard.
  3414. * configure.ac
  3415. The last release would not compile with gcc-2.95 due to the use of features
  3416. (ie struct hack) introduced by the 1999 ISO C Standard.
  3417. Add check to make sure compiler handles this and bomb out if it doesn't.
  3418. 2004-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3419. * tests/write_read_test.tpl
  3420. Fix compiler warning on Win32.
  3421. * src/file_io.c
  3422. Fix use of an un-initialised variable in Win32 stuff.
  3423. * Win32/config.h examples/sndfile-play.c
  3424. Win32 fixes.
  3425. 2004-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3426. * configure.ac
  3427. Fix bug which occurres when configuring for MinGW.
  3428. If compiler is gcc and cross compiling use -nostdinc.
  3429. 2004-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3430. * src/common.h src/aiff.c src/wav.c src/float32.c src/double64.c
  3431. src/sndfile.c
  3432. Fix a bug with PEAK chunk handling for files with more than 16 channels.
  3433. Thanks to Remy Bruno for finding this.
  3434. 2004-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3435. * src/common.c
  3436. Fix a bug which was preventing WAV files being openned correctly if the
  3437. file had a very large header. Thanks to Eldad Zack for finding this.
  3438. 2004-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3439. * configure.ac src/file_io.c
  3440. Fix cross-compiling from Linux to Win32 using the MinGW tools.
  3441. 2004-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3442. * src/create_symbols_file.sh
  3443. Christian Weisgerber pointed out that the shell script did not run on a
  3444. real Bourne shell although it did run under Bash in Bourne shell mode.
  3445. * src/create_symbols_file.py
  3446. Rewrite of above in Python. Also add support for writing Win32 .def files.
  3447. The Python script generates Symbols.linux, Symbols.darwin and
  3448. libsndfile.def (Win32 version). These files get shipped with the tarball
  3449. so there should not be necessary to run the Python script when building
  3450. the code from the tarball.
  3451. * configure.ac src/Makefile.am Win32/Makefile.am
  3452. Hook new Python script into the build system.
  3453. 2004-02-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3454. * src/configure.ac
  3455. Add --enable-gcc-werror option and move GCC specific stuff down.
  3456. 2004-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3457. * acinclude.m4 configure.ac
  3458. Fix clip mode detection (tested in one of HP's testdrive Itanium II boxes).
  3459. * src/file_io.c
  3460. Added check for sizeof (off_t) != sizeof (sf_count_t) to prevent recurrence
  3461. of missing large file support on Linux and Solaris.
  3462. 2004-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3463. * examples/sndfile-play.c
  3464. Fix a MacOSX specific bug which was caused by a space being inserted in
  3465. the middle of a file name.
  3466. * configure.ac src/Makefile.am examples/Makefile.am
  3467. Fix a couple of MacOSX build issues.
  3468. 2004-02-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3469. * doc/command.html
  3470. Document SFC_SET_CLIPPING and SFC_GET_CLIPPING.
  3471. 2004-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3472. * doc/*.html
  3473. Applied patch from Frank Neumann (author of lakai) which fixes many minor
  3474. typos in documentation. Thanks Frank.
  3475. 2004-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3476. * ChangeLog
  3477. Changed my email address throughout source and docs.
  3478. 2004-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3479. * src/file_io.c
  3480. Make sure config.h is included before stdio.h to make sure large file
  3481. support is enabled on Linux (and Solaris).
  3482. * tests/misc_test.c
  3483. Disable update_header test on Win32. This should work but doesn't and
  3484. I'm not sure why.
  3485. * Make.bat Win32/Makefile.msvc
  3486. Updates.
  3487. 2004-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3488. * src/common.h
  3489. Changed logindex, headindex and headend files of SF_PRIVATE from unsigned
  3490. int to int to prevent weird arithmetic bugs.
  3491. * src/common.c src/aiff.c src/wav.c src/w64.c
  3492. Fixed compiler warnings resulting from above change.
  3493. 2004-01-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3494. * src/common.c
  3495. Fixed a bug in header reader for some files with data after the sample data.
  3496. 2003-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3497. * tests/lossy_comp_test.c tests/Makefile.am
  3498. Add tests for AIFF/IMA files.
  3499. 2003-12-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3500. * src/macbinary3.c src/macos.c
  3501. Two new files required for handling SD2 files.
  3502. * src/common.h
  3503. Add prototypes for functions in above two files.
  3504. * src/Makefile.am
  3505. Hook new files into build system.
  3506. 2003-12-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3507. * configure.ac
  3508. Add checks for mmap() and getpagesize() which might be used at some time
  3509. for faster file reads.
  3510. Add detection of MacOSX.
  3511. 2003-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3512. * doc/FAQ.html
  3513. Minor mods to pkg-config section.
  3514. 2003-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3515. * src/create_symbols_file.sh
  3516. Andre Pang (also known as Ozone) pointed out that on MacOSX, all non
  3517. static symbols are exported causing troubles when trying to link
  3518. libsndfile with another library which has any of the same symbols.
  3519. He fixed this by supplying the MacOSX linker with a file containing
  3520. all the public symbols so that only they would be exported and then
  3521. supplied a patch for libsndfile.
  3522. This wasn't quite ideal, because I would have to maintain two (3 if
  3523. you include Win32) separate files containing the exported symbols.
  3524. A better solution was to create this script which can generate a
  3525. Symbols file for Linux, MacoSX and any other OS that supports
  3526. minimising the number of exported symbols.
  3527. * configure.ac src/Makefile.am
  3528. Hook the new script into the build process.
  3529. 2003-12-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3530. * doc/index.html
  3531. Added comments about Steve Dekorte's SoundConverter scam.
  3532. 2003-12-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3533. * src/file_io.c
  3534. Axel Röbel pointed out that on Mac OSX a pipe is not considered a fifo
  3535. (S_ISFIFO (st.st_mode) is false) but a socket (S_ISSOCK (st.st_mode) is
  3536. true). The test has therefore been changed to is S_ISREG and anything
  3537. which which does not return true for S_ISREG is considered a pipe.
  3538. 2003-11-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3539. * tests/misc_test.c
  3540. Fix update_header_test to pass SDS.
  3541. * src/sds.c
  3542. More minor fixes.
  3543. * tests/floating_point_test.c
  3544. Add test for SDS files.
  3545. * src/command.c
  3546. Add SDS to major_formats array.
  3547. 2003-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3548. * tests/write_read_test.tpl tests/misc_test.c
  3549. Add tests for SDS files.
  3550. * src/sds.c
  3551. Fix a bug in header update code.
  3552. 2003-11-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3553. * src/sds.c
  3554. Get file write working.
  3555. * src/paf.c
  3556. Fix a potential bug in paf24_seek().
  3557. 2003-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3558. * doc/FAQ.html
  3559. Add Q/A about u-law encoded WAV files.
  3560. * Win32/*.h
  3561. Updated so it compiles on Win32.
  3562. 2003-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3563. * examples/sndfile-convert.c
  3564. Add -alaw and -ulaw command line arguments.
  3565. * configure.ac
  3566. Add library versioning comments.
  3567. Add arguments to AC_INIT.
  3568. 2003-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3569. * src/file_io.c
  3570. Ross Bencina has contributed code to replace all of the (mostly broken)
  3571. Win32 POSIX emulation calls with calls the native Win32 file I/O API.
  3572. This code still needs testing but is likely to be a huge improvemnt
  3573. of support for Win32. Thanks Ross.
  3574. 2003-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3575. * src/dwvw.c
  3576. Removed filedes field from the DWVW_PRIVATE struct.
  3577. * src/file_io.c
  3578. Change psf_fopen() so it returns psf->error instead of the file descriptor.
  3579. Add new functions psf_set_stdio() and psf_set_file().
  3580. * src/sndfile.c
  3581. Change these to work with changed psf_fopen() return value.
  3582. Remove all uses of psf->filedes from sndfile, making it easier to slot native
  3583. Win32 API file handling functions.
  3584. * src/test_file_io.c
  3585. Minor changes to make it compile with new file_io.c stuff.
  3586. 2003-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3587. * src/gsm610.h
  3588. Rename a variable from true to true_flag. As Ross Bencina points out,
  3589. true is defined in the C99 header <stdbool.h>.
  3590. * src/file_io.c
  3591. If fstat() fails, return SF_TRUE instead of -1 (Ross Bencina).
  3592. 2003-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3593. * src/common.h
  3594. Increase the size of SF_BUFFER_LEN and SF_HEADER_LEN.
  3595. * src/sndfile.c
  3596. Fix sf_read/write_raw which were dividing by psf->bytwidth and
  3597. psf->blockwidth which can both be zero.
  3598. * examples/sndfile-info.c
  3599. Increase size of BUFFER_LEN.
  3600. 2003-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3601. * configure.ac
  3602. Add checks for <sys/wait.h> and ssize_t.
  3603. Other Win32/MinGW checks.
  3604. * src/aiff.c src/au_g72x.c src/file_io.c src/gsm610.c src/interleave.c
  3605. src/paf.c src/sds.c src/svx.c src/voc.c src/w64.c src/wav.c src/xi.c
  3606. Fix compiler warnings.
  3607. 2003-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3608. * tests/scale_clip_test.tpl
  3609. Add definition of M_PI if needed.
  3610. 2003-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3611. * configure.ac
  3612. Detect if S_IRGRP is declared in <unistd.h>.
  3613. * src/file_io.c tests/*.tpl tests/*.c
  3614. More fixes for Win32/MSVC++ and MinGW. MinGW does have <unistd.h> but that
  3615. file doesn't declare S_IRGRP.
  3616. 2003-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3617. * src/config.h.in
  3618. Add comment stating that the sf_count_t typedef is determined when
  3619. libsndfile is being compiled.
  3620. * tests/utils.tpl
  3621. Modified so that utils.c gets one copy of the GPL and not two.
  3622. 2003-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3623. * Win32/unistd.h src/sf_unistd.h
  3624. Move first file to the second. This will help for Win32/MSVC++ and MinGW.
  3625. * Win32/Makefile.am src/Makefile.am
  3626. Changed in line with above.
  3627. * Win32/Makefile.msvc
  3628. Removed "/I Win32" which is no longer required.
  3629. * src/file_io.c src/test_file_io.c tests/*.tpl tests/*.c
  3630. If HAVE_UNISTD_H include <unistd.h> else include <sf_unistd.h>. This should
  3631. work for Win32, MinGW and other fakes Unix-like OSes.
  3632. * src/*.c
  3633. Removed #include <unistd.h> from files which didn't need it.
  3634. 2003-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3635. * libsndfile.spec.in
  3636. Apply fix from Andrew Schultz.
  3637. 2003-09-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3638. * src/vox_adpcm.c
  3639. Only set psf->sf.samplerate if the existing value is invalid.
  3640. 2003-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3641. * examples/sndfile-play.c
  3642. Started adding support for ALSA output.
  3643. 2003-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3644. * src/sndfile.h.in
  3645. Removed <stdlib.h> from sndfile.h.
  3646. * src/*.c examples/*.c tests/*.c tests/*.tpl
  3647. Added <stdlib.h> where needed.
  3648. 2003-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3649. * src/common.h
  3650. Added ARRAY_LEN, SF_MAX and SF_MIN macros.
  3651. 2003-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3652. * doc/index.html
  3653. Remove statements about alternative licensing arrangements.
  3654. 2003-08-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3655. * MacOS MacOS9 Makefile.am configure.ac
  3656. Change directory name from MacOS to MacOS9
  3657. * MacOS9/MacOS9-readme.txt
  3658. Change name to make it really obvious, add text to top of file to make it
  3659. still more obvious again.
  3660. 2003-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3661. * src/test_log_printf.c
  3662. Add tests for %u conversions.
  3663. * src/common.c
  3664. Fix psf_log_printf() %u conversions.
  3665. 2003-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3666. * src/aiff.c
  3667. Fixed a bug where opening a file with a non-trival header in SFM_RDWR mode
  3668. would over-write part of the header. Thanks to Axel Röbel for pointing
  3669. this out. Axel also provided a patch to fix this but I came up with a
  3670. neater and more general solution.
  3671. Return error when openning an AIFF file with data after the SSND chunk
  3672. (Thanks Axel Röbel).
  3673. * tests/aiff_rw_test.c
  3674. Improvements to test program which will later allow it to be generalised to
  3675. test WAV, SVX and others as required.
  3676. 2003-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3677. * tests/pipe_test.c
  3678. Add useek_pipe_rw_test() submitted by Russell Francis.
  3679. * src/sndfile.c
  3680. In sf_open_fd(), check if input file descriptor is a pipe.
  3681. * src/sndfile.[ch]
  3682. Fix typo in variable name do_not_close_descriptor.
  3683. 2003-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3684. * src/test_log_printf.c
  3685. Improve the tests for %d and %s conversions.
  3686. * src/common.c
  3687. Fixed a few problems in psf_log_printf() found using new tests.
  3688. 2003-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3689. * configure.ac
  3690. Add -Wwrite-strings warning to CFLAGS if the compiler is GCC. Thanks to
  3691. Peter Miller (Aegis author) for suggesting this and supplying a patch.
  3692. * src/*.c examples/*.c tests/*.c
  3693. Fix all compiler warnings arising from the above.
  3694. 2003-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3695. * tests/aiff_rw_test.c tests/Makefile.am
  3696. New test program to check for errors re-writing the headers of AIFC files
  3697. opened in mode SFM_RDWR.
  3698. 2003-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3699. * examples/sndfile-play.c
  3700. Applied a patch from Tero Pelander to allow this program to run on systems
  3701. using devfs which used /dev/sound/dsp instead of /dev/dsp.
  3702. 2003-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3703. * doc/new_file_type.HOWTO
  3704. Updated document. Still incomplete.
  3705. 2003-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3706. * src/sndfile.c
  3707. Fix VALIDATE_SNDFILE_AND_ASSIGN_PSF which was returning an error rather
  3708. than saving it and returning zero.
  3709. 2003-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3710. * src/file_io.c
  3711. Two fixes for Mac OS9.
  3712. Fix all casts from sf_count_t to ssize_t (not size_t).
  3713. 2003-06-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3714. * src/wav.c
  3715. Fix for reading files with RIFF length of 8 and data length of 0.
  3716. 2003-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3717. * src/*.c tests/*.c tests/*.tpl
  3718. Added comments to mark code for removal when make Lite version of
  3719. libsndfile.
  3720. 2003-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3721. * examples/sndfile-convert.c
  3722. Add extra error checking for unrecognised arguments.
  3723. 2003-06-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3724. * src/ima_adpcm.c
  3725. Started adding code to write IMA ADPCM encoded AIFF files.
  3726. * src/test_log_printf.c src/Makefile.am
  3727. New file to test psf_log_printf() function and add hooks into build system.
  3728. * src/common.c
  3729. Move psf_log_printf() function to top of the file and only compile the rest
  3730. of the file if if PSF_LOG_PRINTF_ONLY is not defined.
  3731. 2003-06-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3732. * Win32/config.h Win32/sndfile.h
  3733. Updated with new config variables.
  3734. * Win32/unistd.h src/file_io.c
  3735. Added implementation of S_ISFIFO macro which Win32 seems to lack and is
  3736. used in src/file_io.c.
  3737. * tests/utils.tpl
  3738. Added #include <unitstd.h> to pull in Win32/unistd.h so it compiles for
  3739. Win32.
  3740. * src/Makefile.msvc
  3741. Added src\test_file_io.exe build target and run this as the very first
  3742. test.
  3743. * tests/win32_test.c
  3744. Add support for testing Cygwin32.
  3745. * configure.ac
  3746. Detect POSIX fsync() and fdatasync() functions.
  3747. * src/file_io.c
  3748. If compiling for Cygwin, call fsync() before calling fstat() to retrieve
  3749. file length.
  3750. * tests/pcm_test.tpl
  3751. Add a test for lrintf() function. This was required to detect a really
  3752. broken lrint() and lrintf() on Cygwin.
  3753. * tests/misc_test.c
  3754. Don't run permission test when compiling under Cygwin.
  3755. * src/float_cast.h
  3756. Fix fallback macro for lrint() and lrintf() to cast to long instead of int
  3757. to match official function prototypes.
  3758. 2003-06-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3759. * examples/sndfile-convert.c
  3760. Modifications to improve accuracy of conversions; use double data for
  3761. floating point and int for everything else.
  3762. * src/ima_apdcm.c
  3763. Completed work on decoding IMA ADPCM encoded AIFF files. Still need to
  3764. get encoding working.
  3765. 2003-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3766. * src/aiff.c src/ima_adpcm.c
  3767. Start working on getting IMA ADPCM encoded AIFF files working.
  3768. 2003-05-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3769. * configure.ac
  3770. Fixed the touch command for when the autogen program is not found (Matt
  3771. Flax).
  3772. * src/ulaw.c src/alaw.c
  3773. Made these pipe-able.
  3774. 2003-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3775. * src/paf.c src/ircam.c
  3776. Fixed writing to pipe.
  3777. * src/wav.c src/aiff.c src/nist.c src/mat*.c src/svx.c src/w64.c
  3778. Return SFE_NO_PIPE_WRITE if an attempt is made to write to a pipe.
  3779. 2003-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3780. * examples/sndfile-info.c
  3781. Modified to detect unknown file lengths.
  3782. * src/mat4.c
  3783. Fix reading from a pipe.
  3784. 2003-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3785. * tests/pipe_test.c
  3786. Add more file types to tests.
  3787. * src/mat4.c
  3788. Removed explicit setting of psf->sf.seekable to SF_TRUE.
  3789. * tests/utils.tpl
  3790. Add macro for generating and check data in the stdio and pipe tests.
  3791. * tests/stdout_test.c tests/stdin_test.c
  3792. Use the above macro to generate known data on output and check data on
  3793. input.
  3794. * src/voc.c src/htk.c common.h sndfile.c
  3795. Disallow reading/writing VOC and HTK files from/to pipes be returning new
  3796. error values.
  3797. * src/w64.c
  3798. Fixes to allow reading from a pipe.
  3799. 2003-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3800. * configure.ac src/sndfile.h.in
  3801. When the configure script determines the sizeof (sf_count_t), also set the
  3802. value of SF_COUNT_MAX in sndfile.h.
  3803. * configure.ac
  3804. Remove -pedantic flag from default GCC compiler flags.
  3805. * tests/pipe_test.c
  3806. Add a pipe_read_test() before doing pipe_write_test().
  3807. * tests/scale_clip_test.c
  3808. Add test to make sure non-normalized values also clip in the right way.
  3809. 2003-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3810. * configure.ac
  3811. Add test to detect processor clipping capabilities.
  3812. * tests/stdin_test.c tests/stdout_test.c
  3813. Fix a pair of compiler warnings.
  3814. * src/common.h
  3815. Add new pipeoffset field to SF_PRIVATE. This will contain the current file
  3816. offset when operating on a pipe.
  3817. * src/common.c
  3818. Removed direct calls to psf_fread()/psf_fseek()/psf_fgets() etc from
  3819. psf_binheader_readf and redirect them to new buffered versions
  3820. header_read(), header_seek() and header_gets().
  3821. Add "G" format specifier to emulate fgets() functionality with buffering.
  3822. This will allow reading some file types from pipes.
  3823. * src/file_io.c
  3824. When the file descriptor is a pipe, manintain psf->pipeoffset.
  3825. * src/pvf.c
  3826. Change use of psf_fgets() to psf_binheader_readf() as required but changes to header re
  3827. * src/au.c
  3828. Fix reading from a pipe.
  3829. 2003-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3830. * src/pcm.c
  3831. Add clipping versions of the f2XXX_array() functions to allow option of
  3832. clipping data that would otherwise overflow.
  3833. * tests/scale_clip_test.tpl tests/scale_clip_test.def
  3834. New files test that clipping option does actually work.
  3835. 2003-05-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3836. * doc/index.html
  3837. Fixed a typo ("OS(" instead of "OS9").
  3838. 2003-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3839. * tests/open_fail_test.c
  3840. Include <string.h> to prevent warning message of missing declaration of
  3841. memset().
  3842. 2003-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3843. * src/common.h
  3844. Add new "add_clipping" field to SF_PRIVATE.
  3845. * src/sndfile.h.in src/sndfile.c
  3846. Add command SFC_SET_CLIPPING which sets/resets add_clipping field.
  3847. 2003-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3848. * doc/api.html
  3849. Add docs for sf_set_string() and sf_get_string().
  3850. * src/common.h src/sndfile.c
  3851. Add new SFE_STR_BAD_STRING error.
  3852. * tests/stdin_test.c tests/stdout_test.c
  3853. Removed all non-error print statements.
  3854. * tests/stdio_test.c tests/pipe_test.c tests/Makefile.am
  3855. Add print statements removed from two files above.
  3856. 2003-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3857. * libsndfile.spec.in
  3858. Fixed a coulpe of minor errors discovered by someone calling themselves
  3859. Agent Smith.
  3860. * src/common.c src/common.h src/file_io.h
  3861. Added is_pipe field to SF_PRIVATE and declaration of psf_is_pipe()
  3862. function. (Axel Röbel)
  3863. * src/sndfile.c
  3864. Fixed determination of whether the file is a pipe. (Axel Röbel)
  3865. * src/paf.c
  3866. Force paf24 to start with undefined mode. (Axel Röbel)
  3867. * tests/pipe_test.c
  3868. Mods to make this test work and actually do the test on RAW files. (Axel
  3869. Röbel).
  3870. 2003-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3871. * src/sndfile.c
  3872. Fixed a potential bug where psf->sf.seekable was being set to FALSE when
  3873. operating on stdin or stdout but then the default initialiser was reseting
  3874. it to TRUE. Thanks to Axel Röbel.
  3875. * src/aiff.c
  3876. Fixed a bug in the header parser where it was not handling an odd length
  3877. COMM chunk correctly. Thanks to Axel Röbel.
  3878. * src/test_file_io.c
  3879. Add more tests.
  3880. * tests/win32_test.c
  3881. New file for showing the bugs in the Win32 implementation of the POSIX API.
  3882. It also runs on Linux for sanity checking.
  3883. * tests/Makefile.am Win32/Makefile.msvc
  3884. Hook the new test program into the build system.
  3885. 2003-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3886. * src/test_file_io.c
  3887. New test program to test operation of functions defined in file_io.c. This
  3888. should make supporting win32 significantly easier.
  3889. * src/Makefile.am
  3890. Hook new test program into the build system.
  3891. * src/file_io.c
  3892. Add compile/run time check that sizeof statbuf.st_size and sf_count_t are
  3893. the same.
  3894. * src/common.h src/sndfile.c
  3895. Added new error code and error message for new check.
  3896. * tests/benchmark.tpl
  3897. Fix to use frames instead of samples in SF_INFO.
  3898. 2003-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3899. * src/file_io.c
  3900. More stuffing about working around PLAIN OLD-FASHIONED **BUGS** in Win32.
  3901. * examples/sndfile-info.c
  3902. Applied patch from Conrad Parker to add "--help" and "-h" options as
  3903. well as an improved usage message.
  3904. 2003-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3905. * src/au.c
  3906. Added embedded file support.
  3907. * tests/multi_file_test.c
  3908. Added tests for embedded AU files.
  3909. Added verbose testing mode.
  3910. * src/common.h src/sndfile.c
  3911. Added an embedded AU specific error code and message.
  3912. * src/wav.c
  3913. Added patch from Conrad Parker which filled in a little more information
  3914. about ACIDized WAV files.
  3915. 2003-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3916. * src/file_io.c
  3917. Fixed Win32 version of psf_fseek() which was calling psf_get_filelen()
  3918. which was in turn calling psf_fseek() which in the end blew the stack.
  3919. Now of course this would have been easy to find on Linux, but this blow
  3920. up was happening in kernel32.dll and the fscking MSVC++ debugger couldn't
  3921. figure out what call caused this (it couldn't even tell me the stack had
  3922. overflowed) and was absolutley useless for this debugging exercise.
  3923. On top of that, the reason I got into this mess was that windoze doesn't
  3924. have a working fstat() function which can return file lengths > 2 Gig. It
  3925. HAS a fscking _fstati64() but the file length value is only updated AFTER
  3926. the bloody file is closed. That makes it completely useless.
  3927. How the hell do people stand working on this crap excuse of an OS?
  3928. 2003-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3929. * Win32/unistd.h src/file_io.c
  3930. Moved definitions of S_IGRP etc from file_io.c to unistd.h so that these
  3931. can be used in the test programs.
  3932. * Win32/libsndfile.def
  3933. Added sf_open_fd.
  3934. * Win32/sndfile.h
  3935. Updated to match src/sndfile.h.in.
  3936. * Win32/Makefile.msvc
  3937. Added dither.c and htk.c to libsndfile.dll target.
  3938. 2003-04-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3939. * src/file_io.c
  3940. First attempt at getting the Win32 versions of the these functions working.
  3941. They still need to be tested.
  3942. 2003-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3943. * src/strings.c
  3944. Found and fixed a bug which was causing psf_store_string() to fail on
  3945. Motorola 68k processors. Many thanks fo Joshua Haberman (Debian maintainer
  3946. of libsndfile) for compiling and running debug code to help me debug the
  3947. problem.
  3948. 2003-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3949. * src/sndfile.c src/file_io.c src/wav.c src/aiff.c
  3950. Much hacking to get reading and writing of embedded files working (ie sound
  3951. files at a non-zero files offset).
  3952. * doc/embedded_files.html
  3953. First pass atempt at documenting reading/writing embedded files.
  3954. 2003-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3955. * doc/FAQ.html
  3956. Updated answer to "Why doesn't libsndfile do interleaving/de-interleaving?"
  3957. 2003-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3958. * src/wav.c src/aiff.c
  3959. Fix retrieving and storing of string data from files. Need to be careful
  3960. about using psf->buffer for strings.
  3961. 2003-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3962. * src/file_io.c
  3963. Fix psf_fseek() for seeks withing embedded files.
  3964. 2003-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3965. * src/sndfile.h.in
  3966. Changed the definition of SNDFILE slightly to produce warnings when it isn't
  3967. used correctly. This should have zero affect in code which uses the SNDFILE
  3968. type correctly.
  3969. * src/sndfile.c
  3970. Fixed a few compiler warnings cause by the changes to the SNDFILE type.
  3971. 2003-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3972. * doc/FAQ.html
  3973. Added question and answer to the question "How about adding the ability
  3974. to write/read sound files to/from memory buffers?".
  3975. 2003-04-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3976. * tests/write_read_test.tpl
  3977. Removed un-needed enums declaring TRUE and FALSE and replaced usage of
  3978. these with SF_TRUE and SF_FALSE.
  3979. * tests/multi_file_test.c
  3980. New test program to test sf_open_fd() on files containing data other than
  3981. a single sound file.
  3982. 2003-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3983. * src/file_io.c
  3984. When creating files, set the readable by others flag. This still allows
  3985. further restrictions to be enforced by use of the user's umask. Fix
  3986. suggested by Eric Lyon.
  3987. 2003-04-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3988. * src/sndfile.h.in src/sndfile.c
  3989. Changed sf_open_fd(). Dropped offset parameter and added a close_desc
  3990. parameter. If close desc is TRUE, the file descritpor passed into the
  3991. library will be closed when sf_close() is called.
  3992. * tests/utils.tpl
  3993. Modified call to sf_open_fd() to set close_desc parameter to SF_TRUE.
  3994. 2003-04-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  3995. * tests/write_read_test.tpl
  3996. Add a string (using sf_set_string() function) before and after data section
  3997. of all files. This will make sure that if string data can be added, it
  3998. doesn't overwrite real audio data.
  3999. 2003-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4000. * src/sndfile.c
  4001. Started work on supporting a non-zero offset parameter for sf_open_fd ().
  4002. * src/<file header parsers>.c
  4003. Removed many uses of psf_fseek (SEEK_END) which to allow for future use of
  4004. sf_open_fd() with non-zero offset.
  4005. Associated refactoring.
  4006. * src/aiff.c
  4007. Implemented functionality required to get sf_get_string() and
  4008. sf_set_string() working for AIFF files.
  4009. 2003-04-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4010. * tests/utils.tpl
  4011. Modified test_open_file_or_die() to alternately use sf_open() and
  4012. sf_open_fd().
  4013. * src/svx.c
  4014. Fixed a bug which occurred when openning an existing file for read/write
  4015. using sf_open_fd(). In this case, the existing NAME chunk needs to be
  4016. read into psf->filename.
  4017. Fixed printing of sf_count_t types to logbuffer.
  4018. 2003-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4019. * src/sndfile.h.in
  4020. Added prototype for new function sf_open_fd().
  4021. * src/sndfile.c
  4022. Moved most of the code in sf_open() to a new function psf_open_file().
  4023. Created new function sf_open_fd() which also uses psf_open_file() but
  4024. does not currently support the offset parameter.
  4025. * doc/api.html
  4026. Document sf_open_fd().
  4027. 2003-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4028. * src/sndfile.c
  4029. Fixed a memory leak reported by Evgeny Karpov. Memory leak only occurred
  4030. when an attempt was made to read and the open() call fails.
  4031. 2003-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4032. * tests/open_fail_test.c
  4033. New test program to check for memory leaks when sf_open fails on a valid
  4034. file. Currently this must be run manually under valgrid.
  4035. * tests/Makefile.am
  4036. Hook new test program into build.
  4037. 2003-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4038. * Octave/sndfile_save.m Octave/sndfile_play.m
  4039. Added a -mat-binary option to the octave save command to force the output
  4040. to binary mode even if the user has set ascii data as the default. Found
  4041. by Christopher Moore.
  4042. 2003-02-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4043. * doc/dither.html
  4044. New file which will document the interface which allows the addition of
  4045. audio dither when sample word sizes are being reduced.
  4046. * src/dither.c
  4047. More work.
  4048. 2003-02-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4049. * tests/misc_test.c
  4050. In update_header_test(), make HTK files a special case.
  4051. * doc/index.html
  4052. Added HTK to the feature matrix.
  4053. 2003-02-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4054. * src/htk.c
  4055. New file for reading/writing HMM Tool Kit files.
  4056. * src/sndfile.h.in src/sndfile.c src/command.c src/Makefile.am
  4057. Hook in htk.c
  4058. * tests/write_read_test.tpl tests/misc_test.c tests/Makefile.am
  4059. Add tests for HTK files.
  4060. 2003-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4061. * src/wav.c
  4062. Fixed a bug where the LIST chunk length was being written incorrectly.
  4063. * tests/string_test.c
  4064. Added call to check_log_buffer().
  4065. Minor cleanups.
  4066. 2003-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4067. * src/wav_w64.h
  4068. Applied patch from Antoine Mathys to add extra WAV format definitions and
  4069. a G72x_ADPCM_WAV_FMT struct definition.
  4070. * src/wav_w64.c
  4071. Applied patch from Antoine Mathys which converts wav_w64_format_str() from
  4072. one huge inefficient switch statement to a binary search.
  4073. * tests/string_test.c
  4074. Dump log buffer if tests fail.
  4075. 2003-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4076. * tests/string_test.c
  4077. David Viens supplied some modifications to this file which showed up a bug
  4078. when using sf_set_string() and the sf_writef_float() functions.
  4079. * src/sndfile.c
  4080. Fixed the above bug.
  4081. 2003-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4082. * doc/FAQ.html
  4083. Added Q and A on how to detect libsndfile in configure.in (at the suggestion
  4084. of Davy Durham).
  4085. 2003-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4086. * src/sndfile.h.in
  4087. Add enums and typedefs for dither.
  4088. Deprecate SFC_SET_ADD_DITHER_ON_WRITE and SFC_SET_ADD_DITHER_ON_READ, to be
  4089. replaced with SFC_SET_DITHER_ON_WRITE and SFC_SET_DITHER_ON_READ which will
  4090. allow different dither algorithms to be enabled.
  4091. Added SFC_GET_DITHER_INFO_COUNT and SFC_GET_DITHER_INFO.
  4092. * src/sndfile.h.in src/Version_script.in Win32/libsndfile.def.
  4093. Added public sf_dither_*() functions.
  4094. * src/sndfile.c
  4095. Implement commands above.
  4096. * src/dither.c
  4097. More work. Framework and external hooks into dither algorithms complete.
  4098. 2003-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4099. * doc/version-1.html libsndfile_version_convert.py
  4100. Remove redundant files.
  4101. * doc/index.html doc/api.html
  4102. Remove links to version-1.html.
  4103. * src/dither.c
  4104. New file to allow the addition of audio dither on input and output.
  4105. * src/common.h
  4106. Add prototype for dither_init() function.
  4107. * Makefile.am doc/Makefile.am
  4108. Changes for added and removed files.
  4109. 2003-02-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4110. * Win32/Makefile.msvc
  4111. Changes to force example binaries to be placed in the top level directory
  4112. instead of the examples/ directory.
  4113. Add src/strings.c and src/xi.c to the build.
  4114. Add string_test to build and to tests on WAV files.
  4115. * doc/index.html
  4116. Added XI to support matrix.
  4117. 2003-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4118. * src/sndfile.h.in
  4119. Added prototypes for sf_get_string() and sf_set_string() and SF_STR_*
  4120. enum values.
  4121. * src/sndfile.c
  4122. Added public interface to sf_get_string() and sf_set_string().
  4123. * src/wav.c
  4124. Added code for setting and getting strings in WAV files.
  4125. * tests/string_test.c
  4126. New test program for sf_get_string() and sf_set_string() functionality.
  4127. * tests/Makefile.am
  4128. Hook new test program into build and test framework.
  4129. 2003-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4130. * src/common.h
  4131. Added fields to SF_PRIVATE for string data needed to implement
  4132. sf_get_string() and sf_set_string().
  4133. * src/strings.c
  4134. New file for storing and retrieving strings to/from files.
  4135. * src/Makefile.am
  4136. Added strings.c to build.
  4137. 2003-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4138. * src/xi.c
  4139. Read seems to be working so looking at write.
  4140. * src/sndfile.h.in
  4141. Added SF_FORMAT_XI, SF_FORMAT_DPCM_8 and SF_FORMAT_DPCM_16 enum values.
  4142. * tests/floating_point_test.c tests/lossy_comp_test.c tests/Makefile.am
  4143. Added test for 8 and 16 bit XI format files.
  4144. 2003-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4145. * doc/index.html
  4146. Added a non-lawyer readable summary of the licensing provisions as
  4147. suggested by Steve Dekorte.
  4148. 2003-01-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4149. * src/wav.c
  4150. Fixed a compiler warning found by Alexander Lerch.
  4151. 2003-01-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4152. * configure.ac
  4153. Fixed the multiple linking of libm.
  4154. 2003-01-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4155. * Win32/Makefile.mcvs
  4156. Added comments on the correct way to set up the MSVCDir environment
  4157. variable.
  4158. * doc/win32.html
  4159. Add on how to set up the MSVCDir environment variable.
  4160. 2003-01-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4161. * examples/sndfile-play.c examples/sndfile-info.c
  4162. When run on Win32 without any command line parameters print a message and
  4163. then sleep for 5 seconds. This means the when somebody double clicks on
  4164. these programs in explorer the user will actually see the message.
  4165. 2003-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4166. * tests/misc_test.c
  4167. Bypass permission test if running as root because root is allowed to open
  4168. a readonly file for write.
  4169. 2003-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4170. * Win32/Makefile.msvc
  4171. Added pvf.c and xi.c source files to project.
  4172. * src/sndfile.h
  4173. Updated for PVF files.
  4174. 2003-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4175. * src/sndfile.c
  4176. Modified validate_sfinfo() to force samplerate, channels and sections
  4177. to be >= 1.
  4178. In format_from_extension() replaced calls to does_extension_match()
  4179. with strcmp().
  4180. * src/xi.c
  4181. More work.
  4182. 2003-01-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4183. * doc/Makefile.am
  4184. Added octave.html which had been left out. Found by Jan Weil.
  4185. 2003-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4186. * src/pvf.c src/common.h src/sndfile.c
  4187. Fixed error handling for PVF files.
  4188. * src/xi.c
  4189. New file for handling Fasttracker 2 Extended Instrument files. Not working
  4190. yet and included when configured with --enable-experimental.
  4191. * src/sndfile.c src/common.h
  4192. Hooked in new file xi.c.
  4193. 2002-12-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4194. * src/rx2.c
  4195. Added a patch from Marek Peteraj which sheds a little more light on the
  4196. slices within an RX2 file. Still need to find out data encoding.
  4197. 2002-12-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4198. * src/wav.c
  4199. Started work on decoding 'acid' and 'strc' chunks.
  4200. 2002-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4201. * tests/peak_check_test.c
  4202. Minor cleanup.
  4203. 2002-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4204. * tests/write_read_test.tpl
  4205. Added check to make sure no error was generated when an attempt was made to
  4206. read past the end of the file.
  4207. 2002-12-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4208. * doc/lists.html
  4209. Added "mailto" links for all three lists.
  4210. * src/pvf.c
  4211. New file for Portable Voice Format files.
  4212. * src/sndfile.h.in src/sndfile.c src/common.h src/command.c src/Makefile.am
  4213. Added hooks for SF_FORMAT_PVF format files.
  4214. * tests/write_read_test.tpl tests/std*.c
  4215. Add tests for SF_FORMAT_PVF.
  4216. * doc/index.html
  4217. Add PVF to the compatibility matrix.
  4218. * src/pcm.c src/alaw.c src/ulaw.c src/float32.c src/double64.c
  4219. Previously, attempts to read beyond the end of a file would set psf->error
  4220. to SFE_SHORT_ERROR. This behaviour diverged from the behaviour of the POSIX
  4221. read() call but has now been fixed.
  4222. Attempts to read beyond the end of the file will return a short read count
  4223. but will not longer set any error.
  4224. 2002-12-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4225. * src/sndfile.c
  4226. Add more sanity checking when opening a RAW file for read. When format is
  4227. not RAW, zero out all members of the SF_INFO struct.
  4228. * tests/raw_test.c
  4229. Add bad_raw_test() to check for above problem.
  4230. * tests/stdin_test.c examples/sndfile-info.c
  4231. Set the format field of the SF_INFO struct to zero before calling
  4232. sf_open().
  4233. * doc/api.html
  4234. Add information about the need to set the format field of the SF_INFO struct
  4235. to zero when opening non-RAW files for read.
  4236. * configure.ac
  4237. Removed use of conversion script on Solaris. Not all Solaris versions
  4238. support it.
  4239. * doc/lists.html
  4240. New file containg details of the mailing lists.
  4241. * doc/index.html
  4242. Add a link to the above new file.
  4243. 2002-12-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4244. * tests/dft_cmp.c
  4245. Fixed a SIGFPE on Alpha caused by a log10 (0.0). Thanks to Joshua Haberman
  4246. for providing the gdb traceback.
  4247. 2002-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4248. * src/wav.c
  4249. Added more capabilities to 'smpl' chunk parser.
  4250. * src/sndfile.c
  4251. Fixed some (not all) possible problems found with Flawfinder.
  4252. 2002-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4253. * src/sndfile.c
  4254. Fixed a bug in sf_seek(). This bug could only occur when an attempt was
  4255. made to read beyond the end and then sf_seek() was called with a whence
  4256. parameter of SEEK_CUR.
  4257. * src/file_io.c
  4258. Win32's _fstati64() does not work, it returns BS. Re-implemented
  4259. psf_get_filelen() in terms of psf_fseek().
  4260. * tests/write_read_test.tpl
  4261. Add a test to detect above bug.
  4262. * src/float_cast.h
  4263. Modification to prevent compiler warnings on Mac OS X.
  4264. * src/file_io.c
  4265. Fixes for windows (what a f**ked OS).
  4266. 2002-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4267. * configure.ac
  4268. Disable use of native lrint()/lrintf() on Mac OSX. These functions exist on
  4269. Mac OSX 10.2 but not on 10.1. Forcing the use of the versions in
  4270. src/float_cast.h means that a library compiled on 10.2 will still work on
  4271. 10.1.
  4272. 2002-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4273. * configure.in configure.ac
  4274. Renamed configure.in to configure.ac as expected by later versions of
  4275. autoconf.
  4276. Slight hacking of configure.ac to work with version 2.54 of autoconf.
  4277. Changed to using -dumpversion instead of --version for determining GCC
  4278. version numer as suggested by Anand Kumria.
  4279. * src/G72x/Makefile.am
  4280. Slight hacking required for operation with automake 1.6.3.
  4281. 2002-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4282. * src/common.c
  4283. In psf_binheader_readf() changed type parameter type "b" type from size_t
  4284. to int to prevent errors on IA64 CPU where sizeof (size_t) != sizeof (int).
  4285. Thanks to Enrique Robledo Arnuncio for debugging this.
  4286. 2002-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4287. * test/command_test.tpl
  4288. Changed test value so test would pass on Solaris.
  4289. * src/Version_script.in
  4290. Modified version numbering so that later versions of 1.0.X can replace
  4291. earlier versions without recompilation.
  4292. * src/vox_adpcm.c
  4293. Fixed bug causing short reads.
  4294. 2002-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4295. * test/floating_point_test.c
  4296. Code cleanup using functions from util.c.
  4297. Add test for IEEE replacement floats and doubles.
  4298. 2002-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4299. * src/wav.c
  4300. Fixed a possible divide by zero error when read the 'smpl' chunk. Thanks to
  4301. Serg Repalov for the example file.
  4302. * tests/pcm_test.tpl
  4303. Used sf_command (SFC_TEST_IEEE_FLOAT_REPLACE) to test IEEE replacement code.
  4304. Clean up pcm_double_test().
  4305. * src/float32.c src/double64.c
  4306. Force use of IEEE replacement code using psf->ieee_replace is TRUE,
  4307. Print message to log_buffer as well.
  4308. Rename all broken_read_* and broken_write* functions to replace_read_* and
  4309. replace_write_*.
  4310. * tests/util.tpl
  4311. Added string_in_log_buffer().
  4312. * tests/pcm_test.tpl
  4313. Use string_in_log_buffer() to ensure that IEEE replacement code has been
  4314. used.
  4315. * configure.in
  4316. Removed --enable-force-broken-float option. IEEE replacement code is now
  4317. always tested.
  4318. 2002-10-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4319. * src/double64.c
  4320. Implement code for read/writing IEEE doubles on platforms where the native
  4321. double format is not IEEE.
  4322. * src/float32.c src/common.h
  4323. Remove float32_read() and float32_write(). Replace with float32_le_read(),
  4324. float32_be_read(), float32_le_write() and float32_be_write() to match stuff
  4325. in src/double64.c.
  4326. * src/common.c
  4327. Fix all usage of float32_write().
  4328. * src/sndfile.h.in
  4329. Added SFC_TEST_IEEE_FLOAT_REPLACE command (testing only).
  4330. * src/common.h
  4331. Added SF_PRIVATE field ieee_replace.
  4332. * src/sndfile.c
  4333. In sf_command() set/reset psf->ieee_replace.
  4334. 2002-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4335. * tests/pcm_test.tpl
  4336. Fixed a problem when testing with --enable-force-broken-float. The test was
  4337. generating a value of negative zero and the broken float code is not able
  4338. to write negative zero. Removing the negative zero fixed the test.
  4339. 2002-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4340. * src/file_io.c
  4341. Added fix for Cygwin (suggested by Maros Michalik).
  4342. 2002-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4343. * src/file_io.c
  4344. Improved error detection and handling.
  4345. * src/file_io.c src/common.h
  4346. Removed functions psf_ferror() and psf_clearerr() which were redundant
  4347. after above improvements.
  4348. * src/aiff.c src/svx.c src/w64.c src/wav.c
  4349. Removed all use of psf_ferror() and psf_clearerr().
  4350. * src/sndfile.c
  4351. Removed #include of <stdio.h>, <unistd.h>, <fcntl.h> and <math.h> which
  4352. are no longer needed.
  4353. * tests/misc_test.c
  4354. Added test to make sure the correct error message is returned with an
  4355. existing read-only file is openned for write.
  4356. 2002-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4357. * doc/index.html doc/api.html
  4358. Updated for OKI Dialogic ADPCM files.
  4359. * src/command.c
  4360. Added VOX ADPCM to sub_fomats.
  4361. 2002-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4362. * src/vox_adpcm.c src/Makefile.am
  4363. New file for handling OKI Dialogic ADPCM files.
  4364. * src/sndfile.h
  4365. Add new subtype SF_FORMAT_VOX_ADPCM.
  4366. * src/sndfile.c
  4367. Renamed function is_au_snd_file () to format_from_extenstion () and expanded
  4368. its functionality to detect headerless VOX files.
  4369. * src/raw.c
  4370. Added hooks for SF_FORMAT_VOX_ADPCM.
  4371. * examples/sndfile-info.c
  4372. Print out file duration (suggested by Conrad Parker).
  4373. * libsndfile.spec.in
  4374. Force installation of sndfile.pc file (found by John Thompson).
  4375. * tests/Makefile.am tests/lossy_comp_test.c tests/floating_point_test.c
  4376. Add tests for SF_FORMAT_VOX_ADPCM.
  4377. 2002-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4378. * tests/misc_test.c
  4379. Add test which attempts to write to /dev/full (on Linux anyway) to check
  4380. for correct handling of writing to a full filesystem.
  4381. * src/sndfile.c
  4382. Return correct error message if the header cannot be written because the
  4383. filesystem is full.
  4384. * tests/util.tpl
  4385. Corrected printing of file mode in error reporting.
  4386. * src/mat5.c
  4387. Fixed a bug where a MAT5 file written by libsndfile could not be opened by
  4388. Octave 2.1.36.
  4389. 2002-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4390. * src/common.h src/file_io.c
  4391. All low level file I/O have been modified to be better able to report
  4392. system errors resulting from calling system level open/read/write etc.
  4393. * src/*.c
  4394. Updated for compatibility with above changes.
  4395. * examples/cooledit-fixer.c
  4396. New example program which fixes badly broken file created by Syntrillium's
  4397. Cooledit which are marked as containing PCM samples but actually contain
  4398. floating point data.
  4399. * examples/Makefile.am
  4400. Hooked cooledit-fixer into the build system.
  4401. 2002-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4402. * doc/command.html
  4403. Document SFC_GET_FORMAT_INFO.
  4404. 2002-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4405. * examples/wav32_aiff24.c examples/sndfile2oct.c examples/sfhexdump.c
  4406. examples/sfdump.c
  4407. Removed these files because they weren't interesting.
  4408. * examples/sfconvert.c examples/sndfile-convert.c
  4409. Renamed the first to the latter.
  4410. * examples/Makefile.am
  4411. Added sndfile-convert to the bin_PROGRAMS, so it is installed when the lib
  4412. is installed.
  4413. Removed old programs wav32_aiff24 and sndfile2oct.
  4414. * man/sndfile-convert.1
  4415. New man page.
  4416. * examples/sndfile-convert.c
  4417. Added some gloss now that sndfile-convert.c is an installed program.
  4418. * src/sndfile.h.in src/sndfile.c src/common.h src/command.h
  4419. Added command SFC_GET_FORMAT_INFO.
  4420. * tests/command_test.c
  4421. Added tests form SFC_GET_FORMAT_INFO.
  4422. 2002-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4423. * src/sndfile.c
  4424. In sf_format_check() return error if samplerate < 0.
  4425. 2002-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4426. * src/aiff.c
  4427. Fixed bug in handling of COMM chunks with a 4 byte encoding byte but no
  4428. encoding string.
  4429. 2002-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4430. * src/sndfile.c
  4431. Fixed repeated word in an error message.
  4432. 2002-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4433. * doc/index.html
  4434. Improved advertising in Features section.
  4435. 2002-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4436. * src/wav.c
  4437. Added decoding of 'labl' chunks within 'LIST' chunks.
  4438. * src/common.h
  4439. Added (experimental only) SF_FORMAT_OGG and SF_FORMAT_VORBIS and definition
  4440. of ogg_open(). This is nowhere near working yet.
  4441. * src/sndfile.c
  4442. Added detection of 'OggS' file marker and added call to ogg_open() to
  4443. switch statement.
  4444. * src/ogg.c
  4445. New file. Very early start of Ogg Vorbis support.
  4446. * src/wav.c
  4447. Added handling of brain-damaged and broken Cooledit "32 bit 24.0 float
  4448. type 1" files. These files are marked as being 24 bit WAVE_FORMAT_PCM with
  4449. a block alignment of 4 times the numbers of channels but are in fact 32 bit
  4450. floating point.
  4451. 2002-10-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4452. * configure.in
  4453. Modified option --enable-experimental to set ENABLE_EXPERIMENTAL_CODE in
  4454. config.h to either 0 or 1.
  4455. * src/sndfile.c
  4456. Modify sf_command (SFC_GET_LIB_VERSION) to append "-exp" to the version
  4457. string if experimental code has been enabled.
  4458. 2002-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4459. * src/Makefile.am
  4460. Added -lm to libsndfile_la_LIBADD. This means that -lm is not longer needed
  4461. in the link line when linking something to libsndfile.
  4462. * tests/Makefile.am examples/Makefile.am
  4463. Removed -lm from all link lines.
  4464. * sndfile.pc.in
  4465. Removed -lm from Libs line.
  4466. 2002-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4467. * src/file_io.c
  4468. Removed all perror() calls.
  4469. * src/nist.c
  4470. Removed calls to exit() function.
  4471. Added check to detect NIST files dammaged from Unix CR -> Win32 CRLF
  4472. conversion process.
  4473. 2002-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4474. * src/sndfile.h.in src/sndfile.c
  4475. New function sf_strerror() which will eventually replace functions
  4476. sf_perror() and sf_error_str().
  4477. Function sf_error_number() has also been changed, but this was documented
  4478. as being for testing only.
  4479. * doc/api.html
  4480. Documented above changes.
  4481. * tests/*.c examples/*.c
  4482. Changed to new error functions.
  4483. 2002-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4484. * configure.in
  4485. Detect GCC version, and print a warning message about writeable strings
  4486. it GCC major version number is less than 3.
  4487. 2002-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4488. * src/sndfile.h.in doc/api.html
  4489. Documentation fixes.
  4490. 2002-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4491. * src/Version_script.in src/Makefile.am configure.in
  4492. Use the version script to prevent the exporting of all non public symbols.
  4493. This currently only works with Linux. Will test on Solaris as well.
  4494. * src/float_cast.h
  4495. Added #ifndef to prevent the #warning directives killing the SGI MIPSpro
  4496. compiler.
  4497. * src/au_g72x.c src/double64.c src/float32.c src/gsm610.c src/ima_adpcm.c
  4498. src/ms_adpcm.c
  4499. Fix benign compiler warnings arising from previously added compiler
  4500. flags.
  4501. 2002-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4502. * src/sndfile.c
  4503. Fixed a bug in sf_error_str() where errnum was used as the index instead
  4504. of k. Found by Tim Hockin.
  4505. * examples/sndfile-play.c
  4506. Fixed a compiler warning resulting from a variable shadowing a previously
  4507. defined local.
  4508. 2002-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4509. * src/sndfile.h.in src/sndfile.c
  4510. Added command SFC_SET_RAW_START_OFFSET.
  4511. * doc/command.html
  4512. Document SFC_SET_RAW_START_OFFSET.
  4513. * tests/raw_test.c tests/Makefile.am
  4514. Add new file for for testing SF_FORMAT_RAW specific functionality.
  4515. * tests/dwvw_test.c
  4516. Updates.
  4517. 2002-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4518. * src/wav.c
  4519. Modified reading of 'smpl' chunk to take account of the sampler data field.
  4520. * tests/utils.tpl tests/utils.h
  4521. Added function print_test_name().
  4522. * tests/misc_test.c tests/write_read_test.tpl tests/lossy_comp_test.c
  4523. tests/pcm_test.tpl tests/command_test.tpl tests/floating_point_test.c
  4524. Convert to use function print_test_name().
  4525. 2002-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4526. * doc/octave.html
  4527. Added a link to some other Octave scripts for reading and writing sound
  4528. files.
  4529. * src/paf.c
  4530. Change type of dummy data field to int. This should fix a benign compiler
  4531. warning on some CPUs.
  4532. Removed superfluous casts resulting from the above change.
  4533. * src/rx2.c
  4534. More hacking.
  4535. 2002-09-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4536. * src/mat5.c src/common.c
  4537. Changed usage of snprintf() to LSF_SNPRINTF().
  4538. * Win32/Makefile.msvc
  4539. Updated to include new files and add new tests.
  4540. * Win32/config.h Win32/sndfile.h
  4541. Updated.
  4542. * doc/api.html
  4543. Added note about the possibility of "missing" features actually being
  4544. implemented as an sf_command().
  4545. 2002-09-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4546. * tests/misc_test.c
  4547. Added previously missing update_header_test and zero_data_tests for PAF,
  4548. MAT4 and MAT5 formats.
  4549. * src/paf.c src/mat4.c src/mat5.c
  4550. Fixed bugs uncovered by new tests above.
  4551. * src/mat5.c
  4552. Generalised parsing of name fields of MAT5 files.
  4553. * src/mat5.c src/sndfile.c
  4554. Added support for unsigned 8 bit PCM MAT5 files.
  4555. * tests/write_read_test.tpl
  4556. Added test for unsigned 8 bit PCM MAT5 files.
  4557. * doc/index.html
  4558. Added unsigned 8 bit PCM MAT5 to capabilities matrix.
  4559. 2002-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4560. * test/update_header_test.c tests/misc_test.c
  4561. Renamed update_header_test.c to misc_test.c.
  4562. Added zero_data_test() to check for case where file is opened for write and
  4563. closed immediately. The resulting file can be left in a state where
  4564. libsndfile cannot open it. Problem reported by Werner Schweer, the author
  4565. of Muse.
  4566. * src/aiff.c
  4567. Removed superfluous cast.
  4568. * src/wav.c src/svx.c
  4569. Fixed case of file generated with no data.
  4570. Removed superfluous cast.
  4571. * src/sndfile.c
  4572. Fixed error on IA64 platform caused by incorrect termination of
  4573. SndfileErrors struct array. This problem was found in the Debian buildd
  4574. logs (http://buildd.debian.org/).
  4575. * configure.in
  4576. Added Octave directory.
  4577. * Octave/Makefile.ma
  4578. New Makfile.am for Octave directory.
  4579. * Octave/sndfile_load.m Octave/sndfile_save.m Octave/sndfile_play.m
  4580. New files for working with Octave.
  4581. * doc/octave.html
  4582. Document explaining the use of the above three Octave scripts.
  4583. 2002-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4584. * src/sndfile.c
  4585. Fixed bug in RDWR mode.
  4586. 2002-09-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4587. * src/common.c
  4588. Fixed psf_get_date_str() for systems which don't have gmtime_r() or
  4589. gmtime().
  4590. * src/file_io.c
  4591. Added #include <io.h> for Win32. Reported by Koen Tanghe.
  4592. 2002-09-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4593. * src/common.c
  4594. Added 'S' format specifier for psf_binheader_writef() which writes a C
  4595. string, including single null terminator to the header.
  4596. Added 'j' format specifier to allow jumping forwards or backwards in the
  4597. header.
  4598. Added function psf_get_date_str().
  4599. * src/mat5.c
  4600. Complete read and write support.
  4601. * doc/index.html
  4602. Added entries for MAT4 and MAT5 in capabilities matrix.
  4603. 2002-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4604. * src/mat4.c
  4605. Completed read and write support.
  4606. * src/common.h src/sndfile.c
  4607. Added MAT4 and MAT5 specific error messages.
  4608. * tests/write_read_test.tpl tests/Makefile.am
  4609. Added tests for MAT4 and MAT5 files.
  4610. * tests/stdio_test.c tests/stdout_test.c tests/stdin_test.c
  4611. Added tests for MAT4 and MAT5 files.
  4612. 2002-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4613. * src/command.c
  4614. Added elements for SF_FORMAT_MAT4 and SF_FORMAT_MAT5 to major_formats
  4615. array.
  4616. * examples/sfconvert.c
  4617. Added mat4 and mat5 output targets.
  4618. 2002-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4619. * src/sndfile.c
  4620. Added check to prevent errors openning read only formats for read/write.
  4621. * src/interleave.c
  4622. New file for interleaving non-interleaved data. Non-interleaved data is
  4623. only supported on read.
  4624. * src/Makefile.am
  4625. Added src/interleave.c to build.
  4626. 2002-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4627. * src/double64.c src/common.h
  4628. Added double64_be_read(), double64_le_read(), double64_be_write() and
  4629. double64_le_write() which replace double64_read() and double64_write().
  4630. * src/common.c
  4631. Cleanup of psf_binheader_readf() and add ability to read big and little
  4632. endian doubles (required by mat4.c and mat5.c).
  4633. Add ability for psf_binheader_writef() to write doubles to sound file
  4634. headers.
  4635. 2002-09-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4636. * src/mat5.c
  4637. New file for reading Matlab (tm) version 5 data files. This is also the
  4638. native binary file format for version 2.1.X of GNU Octave which will be
  4639. used for testing.
  4640. Not complete yet.
  4641. * src/mat4.c
  4642. New file for reading Matlab (tm) version 4.2 data files. This is also the
  4643. native binary file format for version 2.0.X of GNU Octave which will be
  4644. used for testing.
  4645. Not complete yet.
  4646. * src/sndfile.h.in src/sndfile.c src/common.h src/command.c src/Makefile.am
  4647. Mods to add Matlab files.
  4648. * src/common.[ch]
  4649. Added readf_endian field to SF_PRIVATE struct allowing endianness to
  4650. remembered across calls to sf_binheader_readf().
  4651. Fixed bug in width_specifier behaviour for printing hex values.
  4652. 2002-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4653. * src/file_io.c
  4654. Check return value of close() call in psf_fclose().
  4655. 2002-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4656. * src/ms_adpcm.c
  4657. Commented out some code where 0x10000 was being subtracted from a short
  4658. and the result assigned to a short again. Andrew Zaja found this.
  4659. 2002-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4660. * doc/command.html
  4661. Fixed typo found by Tommi Ilmonen.
  4662. * src/ima_adpcm.c
  4663. Changed type of diff from short to int to prevent errors which can occur
  4664. during very rare circumstances. Thanks to FUWAFUWA.
  4665. 2002-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4666. * tests/floating_point_test.c
  4667. Disable testing on machines without lrintf().
  4668. * Win32/Makefile.msvc
  4669. Added dwd.c and wve.c to build.
  4670. * configure.in
  4671. Bumped version to 1.0.0.
  4672. 2002-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4673. * src/file_io.c
  4674. Add a #include for Mac OS 9. Thanks to Stephane Letz.
  4675. * src/wav.c
  4676. Changed an snprintf to LSF_SNPRINTF.
  4677. * doc/Makefile.am
  4678. Added version-1.html.
  4679. 2002-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4680. * configure.in
  4681. Bumped version to 1.0.rc6.
  4682. * src/*.c
  4683. Modified scaling of normalised floats and doubles to integers. Until now
  4684. this has been done by multiplying by 0x8000 for short output, 0x80000000
  4685. for 32 bit ints and so on. Unfortunately this can cause an overflow and
  4686. wrap around in the target value. All thes values have therefore been
  4687. reduced to 0x7FFF, 0x7FFFFFFF and so on. The conversion from ints to
  4688. normalised floats and doubles remains unchanged. This does mean that for
  4689. repeated conversions normalised float -> pcm16 -> normalised float would
  4690. result in a decrease in amplitude of 0x7FFF/0x8000 on every round trip.
  4691. This is undesirable but less undesireable than the wrap around I am trying
  4692. to avoid.
  4693. * tests/floating_point_test.c
  4694. Removed file hash checking because new float scaling procedure introduced
  4695. above prevented the ability to crate a has on both x86 and PowerPC systems.
  4696. 2002-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4697. * src/txw.c
  4698. Completed reading of TXW files. Seek doesn't work yet.
  4699. * src/file_io.c
  4700. Added a MacOS 9 replacement for ftruncate().
  4701. * MacOS/sndfile.h
  4702. Added MacOS 9 header file. This should be copied into src/ to compile
  4703. libsndfile for MacOS9.
  4704. 2002-08-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4705. * src/sndfile.c
  4706. Fixed commands SF_SET_NORM_DOUBLE and SFC_SET_NORM_FLOAT to return their
  4707. values after being set. Reported by Jussi Laako.
  4708. * configure.in
  4709. If autogen is not found, touch all .c and .h files in tests/.
  4710. * src/common.c
  4711. Added format width specifier to psf_log_printf() for %u, %d, %D and %X.
  4712. * src/dwd.c
  4713. Completed implementation of read only access to these files.
  4714. * src/common.h src/*.c src/pcm.c
  4715. Removed redundant field chars from SF_PRIVATE struct and modified
  4716. pcm_init() to do without it.
  4717. 2002-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4718. * src/wve.c
  4719. New file implementing read of Psion Alaw files. This will be a read only
  4720. format. Implementation complete.
  4721. * src/dwd/c
  4722. Started implementation of DiamondWare Digitized files. Also read only, not
  4723. complete.
  4724. * src/wav.c
  4725. Add parsing of 'smpl' chunk.
  4726. * src/paf.c
  4727. Fixed reading on un-normalized doubles and floats from 24 bit PAF files.
  4728. This brings it into line with the reading of 8 bit files into
  4729. un-normalized doubles which returns values in the range [-128, 127].
  4730. * src/common.c
  4731. Modified psf_log_printf() to accept the %% conversion specifier to allow
  4732. printing of a single '%'.
  4733. * src/sds.c
  4734. Read only of 16 bit samples is working. Need to build a test harness for
  4735. this and other read only formats.
  4736. 2002-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4737. * configure.in
  4738. Added --enable-experimental configure option.
  4739. Removed pkg-config message at the end of the configure process.
  4740. * src/sds.c src/txw.c src/rx2.c src/sd2.c
  4741. Moved all the code in these files inside #if ENABLE_EXPERIMENTAL_CODE
  4742. blocks and added new *_open() function for the case where experimental is
  4743. not enabled. These new functions just return SFE_UNIMPLMENTED.
  4744. * Win32/sndfile.h src/sndfile.h.in src/common.h
  4745. Removed un-necessary #pragma pack commands.
  4746. * src/file_io.c
  4747. Implemented psf_ftruncate() and much other hacking for Win32.
  4748. * Win32/Makefile.msvc
  4749. Updated.
  4750. * doc/win32.html
  4751. Updated to include the copying of the sndfile.h file from the Win32/
  4752. directory to the src/ directory.
  4753. * Make.bat
  4754. Batch file to make compiling on Wi32 a little easier. Implements "make" and
  4755. "make check".
  4756. 2002-08-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4757. * src/file_io.c
  4758. Add place holder for ftruncate() on Win32 which doesn't have ftruncate().
  4759. This will need to be fixed later.
  4760. * src/sndfile.h.in
  4761. New file (copy of sndfile.h) with sets up @TYPEOF_SF_COUNT_T@ which will be
  4762. replaced by the correct type during configure.
  4763. * configure.in
  4764. Modified to find a good type for TYPEOF_SF_COUNT_T.
  4765. * src/aiff.c
  4766. Fixed a bug when reading malformed headers.
  4767. * src/common.c
  4768. Set read values to zero before performing read.
  4769. 2002-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4770. * doc/command.html
  4771. Fixed some HTML tags which were not allowing jumps to links within the
  4772. page.
  4773. * src/sds.c
  4774. Massive hacking on this.
  4775. * src/wav.c
  4776. Added recognition of 'clm ' tag.
  4777. 2002-08-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4778. * doc/index.html
  4779. Added beginning of a capabilities list beyond simple file formats which
  4780. can be read/written.
  4781. * src/aiff.c
  4782. Added parsing of INST and MARK chunks of AIFF files. At the moment this
  4783. data is simply recorded in the log buffer. Later it will be possible to
  4784. read this data from an application using sf_command().
  4785. * src/wav.c
  4786. Added parsing of 'cue ' chunk which contains loop information in WAV files.
  4787. * exampes/sndfile-info.c
  4788. Changed reporting of Samples to Frames.
  4789. * src/wav.c src/w64.c src/aiff.c src/wav_w64.h
  4790. Moved from a samples to a frames nomenclature to avoid confusion.
  4791. * doc/FAQ.html
  4792. What's the best format for storing temporary files?
  4793. * src/sds.c
  4794. New file for reading/writing Midi Sample Dump Standard files.
  4795. * src/Makefile.am src/sndfile.c src/common.[ch]
  4796. Added hooks for sds.c.
  4797. * examples/sndfile-info.c
  4798. Changed from using sf_perror() to using sf_error_str().
  4799. 2002-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4800. * doc/api.html
  4801. Added explanation of mode parameter for sf_open().
  4802. Added explanation of usage of SFM_* values in sf_seek().
  4803. * src/sndfile.[ch] src/command.c src/file_io.c src/common.h
  4804. Implemented SFC_FILE_TRUNCATE to allow a file to be truncated. File
  4805. truncation was suggested by James McCartney.
  4806. * src/command.html
  4807. Documented SFC_FILE_TRUNCATE.
  4808. * tests/command_test.c
  4809. Add tests for SFC_FILE_TRUNCATE.
  4810. * src/sndfile.c
  4811. Added a thrid parameter to the VALIDATE_SNDFILE_AND_ASSIGN_PSF macro to
  4812. make resetting the error number optional. All uses of the macro other than
  4813. in error reporting functions were changed to reset the error number.
  4814. * src/pcm.c
  4815. Fixed a bug were sf_read_* was logging an SFE_SHORT_READ even when no error
  4816. occurred.
  4817. * tests/write_read_test.tpl
  4818. Added tests of internal error state.
  4819. 2002-08-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4820. * src/GSM610/private.h src/GSM610/*.c src/GSM610/Makefile.am
  4821. Renamed private.h to gsm610_priv.h to prevent clash with other headers
  4822. named private.h in other directories. (Probably only a problem on MacOS 9).
  4823. * src/G72x/private.h src/G72x/*.c src/G72x/Makefile.am
  4824. Renamed private.h to g72x_priv.h to prevent clash with other headers
  4825. named private.h in other directories. (Probably only a problem on MacOS 9).
  4826. * MacOS/config.h
  4827. Changed values of HAVE_LRINT and HAVE_LRINTF to force use of code in
  4828. float_cash.h.
  4829. * src/sndfile.h
  4830. Changes the name of samples field of the SF_INFO to frames. The old name
  4831. had caused too much confusion and it simply had to be changed. There will
  4832. be at least one more pre-release.
  4833. 2002-08-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4834. * doc/index.html
  4835. Updated formats matrix to include RAW (header-less) GSM 6.10.
  4836. Fix specificaltion of table and spelling mistakes.
  4837. * src/sndfile.c src/command.c
  4838. Fixed bug in SFC_CALC_MAX_SIGNAL family and psf_calc_signal_max ().
  4839. * tests/command.c
  4840. Removed cruft.
  4841. Added test for SFC_CALC_MAX_SIGNAL and SFC_CALC_NORM_MAX_SIGNAL.
  4842. * configure.in
  4843. Update version to 1.0.0rc5.
  4844. * sfendian.h
  4845. Removed inclusion of un-necessary header.
  4846. 2002-08-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4847. * src/aiff.c
  4848. Minor fixes of info written to log buffer.
  4849. * src/float_cast.h
  4850. Add definition of HAVE_LRINT_REPLACEMENT.
  4851. * tests/floating_point_test.c
  4852. Fix file hash check on systems without lrint/lrintf.
  4853. * tests/dft_cmp.c
  4854. Limit SNR to less than -500.0dB.
  4855. * examples/sndfile2oct.c
  4856. Fixed compiler warnings.
  4857. * doc/api.html
  4858. Fixed error where last parameter of sf_error_str() was sf_count_t instead
  4859. of size_t.
  4860. 2002-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4861. * doc/FAQ.html
  4862. Why doesn't libsndfile do interleaving/de-interleaving.
  4863. * tests/pcm_test.tpl
  4864. On Win32 do not perform hash check on files containing doubles.
  4865. 2002-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4866. * src/common.h
  4867. Defined SF_COUNT_MAX_POSITIVE() macro, a portable way of setting variables
  4868. of type sf_count_t to their maximum positive value.
  4869. * src/dwvw.c src/w64.c
  4870. Used SF_COUNT_MAX_POSITIVE().
  4871. 2002-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4872. * src/paf.c
  4873. Fixed bug in reading/writing of 24 bit PCM PAF files on big endian systems.
  4874. * tests/floating_point_tests.c
  4875. Fixed hash values for 24 bit PCM PAF files.
  4876. Disabled file has check if lrintf() function is not available and added
  4877. warning.
  4878. Decreased level of signal from a peak of 1.0 to a value of 0.95 to prevent
  4879. problems on platforms without lrintf() ie Solaris.
  4880. 2002-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4881. * src/wav.c
  4882. Fixed a problem with two different kinds of mal-formed WAV file header. The
  4883. first had the 'fact' chunk before the 'fmt ' chunk, the other had an
  4884. incomplete 'INFO' chunk at the end of the file.
  4885. * src/w64.c
  4886. Added fix to allow differentiation between W64 files and ACID files.
  4887. * src/au_g72x.c src/common.h src/sndfile.c
  4888. Added error for G72x encoded files with more than one channel.
  4889. * tests/pcm_test.tpl tests/utils.tpl
  4890. Moved function check_file_hash_or_die() to utils.tpl. Function was then
  4891. modified to calculate the has of the whole file.
  4892. * src/wav.c
  4893. Fixed problem writing the 'fact' chunk on big endian systems.
  4894. * tests/sfconvert.c
  4895. Fixed bug where .paf files were being written as Sphere NIST.
  4896. 2002-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4897. * src/voc.c
  4898. Fix for reading headers generated using SFC_UPDATE_HEADER_NOW.
  4899. * doc/command.html
  4900. Add docs for SFC_UPDATE_HEADER_NOW and SFC_SET_UPDATE_HEADER_AUTO.
  4901. 2002-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4902. * man/sndfile-info.1 man/sndfile-play.1
  4903. Added manpages supplied by Joshua Haberman the Debian maintainer for
  4904. libsndfile. Additional tweaks by me.
  4905. * configure.in man/Makefile.am
  4906. Hooked manpages into autoconf/automake system.
  4907. * src/sndfile.c
  4908. Added hooks for SFC_SET_UPDATE_HEADER_AUTO.
  4909. * tests/update_header_test.c
  4910. Improved rigor of testing.
  4911. * src/*.c
  4912. Fixed problem with *_write_header() functions.
  4913. 2002-07-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4914. * doc/*.html
  4915. Updates to documentation to fix problems found by wdg-html-validator.
  4916. * src/common.h src/command.c
  4917. Added normalize parameter to calls to psf_calc_signal_max() and
  4918. psf_calc_max_all_channels().
  4919. * src/sndfile.c
  4920. Added handling for commands SFC_CALC_NORM_SIGNAL_MAX and
  4921. SFC_CALC_NORM_MAX_ALL_CHANNELS.
  4922. * doc/command.html
  4923. Added entry for SFC_CALC_NORM_SIGNAL_MAX and SFC_CALC_NORM_MAX_ALL_CHANNELS.
  4924. 2002-07-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4925. * examples/sndfile-play.c Win32/Makefile.msvc
  4926. Get sndfile-play program working on Win32. The Win32 PCM sample I/O API
  4927. sucks. The sndfile-play program now works on Linux, MacOSX, Solaris and
  4928. Win32.
  4929. 2002-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4930. * doc/FAQ.html
  4931. New file for frequently asked questsions.
  4932. 2002-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4933. * doc/api.html
  4934. Documentation fixes.
  4935. * src/au.[ch] src/au_g72x.c src/G72x/g72x.h
  4936. Add support of 40kbps G723 ADPCM encoding.
  4937. * tests/lossy_comp_test.c tests/floating_point_test.c
  4938. Add tests for 40kbps G723 ADPCM encoding.
  4939. * doc/index.html
  4940. Update support matrix.
  4941. 2002-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4942. * doc/command.html
  4943. Documented SFC_GET_SIMPLE_FORMAT_COUNT, SFC_GET_SIMPLE_FORMAT,
  4944. SFC_GET_FORMAT_* and SFC_SET_ADD_PEAK_CHUNK.
  4945. * src/sndfile.c src/pcm.c
  4946. Add ability to turn on and off the addition of a PEAK chunk for floating
  4947. point WAV and AIFF files.
  4948. * src/sndfile.[ch] src/common.h src/command.c
  4949. Added sf_command SFC_CALC_MAX_ALL_CHANNELS. Implemented by Maurizio Umberto
  4950. Puxeddu.
  4951. * doc/command.html
  4952. Docs for SFC_CALC_MAX_ALL_CHANNELS (assisted by Maurizio Umberto Puxeddu).
  4953. 2002-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4954. * src/sndfile.c src/gsm610.c
  4955. Finalised support for GSM 6.10 AIFF files and added support for GSM 6.10
  4956. encoded RAW (header-less) files.
  4957. * src/wav.c
  4958. Add support for IBM_FORMAT_MULAW and IBM_FORMAT_ALAW encodings.
  4959. * src/api.html
  4960. Fixed more documentation bugs.
  4961. 2002-07-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4962. * src/sndfile.h src/common.h
  4963. Moved some yet-to-be-implelmented values for SF_FORMAT_* from the public
  4964. header file sndfile.h to the private header file common.h to avoid
  4965. confusion about the actual capabilities of libsndfile.
  4966. 2002-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4967. * src/aiff.c src/wav.c
  4968. Fixed file parsing for WAV and AIFF files containing non-audio data after
  4969. the data chunk.
  4970. * src/aiff.c src/sndfile.c
  4971. Add support for GSM 6.10 encoded AIFF files.
  4972. * tests/lossy_comp_test.c tests/Makefile.am
  4973. Add tests for GSM 6.10 encoded AIFF files.
  4974. * src/*.c
  4975. Fix compiler warnings.
  4976. 2002-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4977. * tests/command_test.c
  4978. For SFC_SET_NORM_* tests, change the file format from SF_FORMAT_WAV to
  4979. SF_FORMAT_RAW.
  4980. * src/sndfile.c
  4981. Added sf_command(SFC_TEST_ADD_TRAILING_DATA) to allow testing of reading
  4982. from AIFF and WAV files with non-audio data after the audio chunk.
  4983. * src/common.h
  4984. Add test commands SFC_TEST_WAV_ADD_INFO_CHUNK and
  4985. SFC_TEST_AIFF_ADD_INST_CHUNK. When these commands are working, they will be
  4986. moved to src/sndfile.h
  4987. * src/aiff.c src/wav.c
  4988. Begin implementation of XXXX_command() hook for sf_command().
  4989. * tests/write_read_test.tpl
  4990. Added sf_command (SFC_TEST_ADD_TRAILING_DATA) to ensure above new code was
  4991. working.
  4992. 2002-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4993. * tests/update_header_test.c
  4994. Allow read sample count == write sample count - 1 to fix problems with VOC
  4995. files.
  4996. * tests/write_read_test.tpl tests/pcm_test.tpl
  4997. Fixed some problems in the test suite discovered by using Valgrind.
  4998. 2002-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  4999. * tests/utils.[ch] tests/*.c
  5000. Renamed check_log_buffer() to check_log_buffer_or_die().
  5001. * src/sndfile.c
  5002. SFC_UPDATE_HEADER_NOW and SFC_SETUPDATE_HEADER_AUTO almost finished. Works
  5003. for all file formats other than VOC.
  5004. 2002-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5005. * src/sndfile.[ch] src/common.h
  5006. Started adding functionality to allow the file header to be updated before
  5007. the file is closed on files open for SFM_WRITE. This was requested by
  5008. Maurizio Umberto Puxeddu who is using libsndfile for file I/O in iCSound.
  5009. * tests/update_header_test.c
  5010. New test program to test that the above functionality is working correctly.
  5011. * tests/peak_chunk_test.c tests/floating_point_test.c
  5012. Cleanups.
  5013. 2002-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5014. * src/sfendian.[ch]
  5015. Changed length count parameters for all endswap_XXX() functions from
  5016. sf_count_t (which can be 64 bit even on 32 bit architectures) to int. These
  5017. functions are only called frin inside the library, are always called with
  5018. integer parameters and doing the actual calculation on 64 bit values is
  5019. slow in comparision to doing it on ints.
  5020. * examples/sndfile-play.c
  5021. More playback hacking for Win32.
  5022. 2002-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5023. * src/common.c
  5024. In psf_log_printf(), changed %D format conversion specifier to %M (marker) and
  5025. added %D specifier for printing the sf_count_t type.
  5026. * src/*.c
  5027. Changed all usage of psf_log_printf() with %D format conversion specifiers
  5028. to use %M conversion instead.
  5029. * tests/pcm_test.tpl tests/pcm_test.def
  5030. New files to autogen pcm_test.c.
  5031. * src/pcm.c
  5032. Fixed bug in scaling floats and doubles to 24 bit PCM and vice versa.
  5033. 2002-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5034. * configure.in
  5035. Fix setup of $ac_cv_sys_largefile_CFLAGS so that sndfile.pc gets valid
  5036. values for CFLAGS.
  5037. * examples/sndfile-play.c
  5038. Start adding playback support for Win32.
  5039. 2002-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5040. * src/*.c
  5041. Worked to removed compiler warnings.
  5042. Extensive refactoring.
  5043. * src/common.[ch]
  5044. Added function psf_memset() which works like the standard C function memset
  5045. but takes and sf_count_t as the length parameter.
  5046. * src/sndfile.c
  5047. Replaced calls to memset(0 with calls to psf_memset() as required.
  5048. 2002-07-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5049. * src/sndfile.c
  5050. Added "libsndfile : " to the start of all error messages. This was suggested
  5051. by Conrad Parker author of Sweep ( http://sweep.sourceforge.net/ ).
  5052. * src/sfendian.[ch]
  5053. Added endswap_XXXX_copy() functions.
  5054. * src/pcm.c src/float32.c src/double64.c
  5055. Use endswap_XXXX_copy() functions and removed dead code.
  5056. Cleanups and optimisations.
  5057. 2002-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5058. * src/sndfile.c src/sndfile.h
  5059. Gave values to all the SFC_* enum values to allow better control of the
  5060. interface as commands are added and removed.
  5061. Added new command SFC_SET_ADD_PEAK_CHUNK.
  5062. * src/wav.c src/aiff.c
  5063. Modified wav_write_header and aiff_write_header to make addition of a PEAK
  5064. chunk optional, even on floating point files.
  5065. * tests/benchmark.tpl
  5066. Added call to sf_command(SFC_SET_ADD_PEAK_CHUNK) to turn off addition of a
  5067. PEAK chunk for the benchmark where we are trying to miximize speed.
  5068. * src.pcm.c
  5069. Changed tribyte typedef to something more sensible.
  5070. Further conversion speed ups.
  5071. 2002-07-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5072. * src/command.c
  5073. In major_formats rename "Sphere NIST" to "NIST Sphere".
  5074. * src/common.c src/sfendian.c
  5075. Moved all endswap_XXX_array() functions to sfendian.c. These functions will
  5076. be tweaked to provide maximum performance. Since maximum performance on one
  5077. platform does not guarantee maximum performance on another, a small set of
  5078. functions will be written and the optimal one chosen at compile time.
  5079. * src/common.h src/sfendian.h
  5080. Declarations of all endswap_XXX_array() functions moved to sfendian.h.
  5081. * src/Makefile.am
  5082. Add sfendian.c to build targets.
  5083. 2002-07-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5084. * src/pcm.c src/sfendian.h
  5085. Re-coded PCM encoders and decoders to match or better the speed of
  5086. libsndfile version 0.0.28.
  5087. 2002-06-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5088. * src/wav.c
  5089. Add checking for WAVPACK data in standard PCM WAV file. Return error if
  5090. found. This WAVPACK is *WAY* broken. It uses the same PCM WAV file header
  5091. and then stores non-PCM data.
  5092. * tests/benchmark.tpl
  5093. Added more tests.
  5094. 2002-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5095. * tests/benchmark.tpl
  5096. Added conditional definition of M_PI.
  5097. For Win32, set WRITE_PERMS to 0777.
  5098. * Win32/Makefile.msvc
  5099. Added target to make generate program on Win32.
  5100. * src/samplitude.c
  5101. Removed handler for Samplitude RAP file format. This file type seems rarer
  5102. than hens teeth and is completely undocumented.
  5103. * src/common.h src/sndfile.c src/Makefile.am Win32/Makefile.msvc
  5104. Removed references to sampltiude RAP format.
  5105. * tests/benchmark.tpl
  5106. Benchmark program now prints the libsndfile version number when run. This
  5107. program was also backported to version 0 to compare results. Version
  5108. 1.0.0rc2 is faster than version 0.0.28 on most conversions but slower on
  5109. some. The slow ones need to be fixed before final release.
  5110. 2002-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5111. * tests/benchmark.def tests/benchmark.tpl
  5112. New files which generate tests/benchmark.c using Autogen. Added int ->
  5113. SF_FORMAT_PCM_24 test.
  5114. * tests/benchmark.c
  5115. Now and Autogen output file.
  5116. * tests/Makefile.am
  5117. Updated for above changes.
  5118. 2002-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5119. * tests/benchmark.c
  5120. Basic benchmark program complete. Need to convert it to Autogen.
  5121. * Win32/Makefile.msvc
  5122. Added benchmark.exe target.
  5123. 2002-06-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5124. * examples/generate.c
  5125. New program to generate a number of different output file formats from a
  5126. single input file. This allows testing of the created files.
  5127. * tests/benchmark.c
  5128. New test program to benchmark libsndfile. Nowhere near complete yet.
  5129. * examples/Makefile.am tests/Makefile.am
  5130. New make rules for the two new programs.
  5131. 2002-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5132. * Win32/libsndfile.def
  5133. Removed definition for sf_signal_max().
  5134. * src/sndfile.c
  5135. Removed cruft.
  5136. * doc/index.html
  5137. A number of documentation bugs were fixed. Thanks to Anand Kumria.
  5138. * doc/version-1.html
  5139. Minor doc updates.
  5140. * configure.in
  5141. Bumped version to 1.0.0rc2.
  5142. * src/sf_command.h src/Makefile.am
  5143. Removed the header file as it was no longer being used. Thanks to Anand
  5144. Kunria for spotting this.
  5145. * doc/index.html
  5146. A number of documentation bugs were fixed. Thanks to Anand Kumria.
  5147. 2002-06-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5148. * src/common.h
  5149. Test for Win32 before testing SIZEOF_OFF_T so that it works correctly
  5150. on Win32..
  5151. * src/file_io.c
  5152. Win32 fixes to ensure O_BINARY is used for file open.
  5153. * doc/win32.html
  5154. New file documenting the building libsndfile on Win32.
  5155. * doc/*.html
  5156. Updating of documentation.
  5157. 2002-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5158. * tests/pcm_test.c
  5159. Minor changes to allow easier determination of test file name.
  5160. * src/sndfile.[ch]
  5161. Removed function sf_signal_max().
  5162. * examples/sndfile-play.c
  5163. Changed call to sf_signal_max() to a call to sf_command().
  5164. 2002-06-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5165. * src/format.c src/command.c
  5166. Renamed format.c to command.c which will now include code for sf_command()
  5167. calls to perform operations other than format commands.
  5168. * src/sndfile.c src/sndfile.h
  5169. Removed function sf_get_signal_max() which is replaced by commands passed
  5170. to sf_command().
  5171. * src/command.c
  5172. Implement commands SFC_CALC_SIGNAL_MAX.
  5173. * doc/command.html
  5174. Documented SFC_CALC_SIGNAL_MAX.
  5175. 2002-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5176. * examples/sndfile-play.c
  5177. Mods to make sndfile-play work on Solaris. The program sndfile-play now
  5178. runs on Linux, MaxOSX and Solaris. Win32 to come.
  5179. * src/format.c
  5180. Added SF_FORMAT_DWVW_* to subtype_formats array.
  5181. * src/nist.c
  5182. Added support for 8 bit NIST Sphere files. Example file supplied by Anand
  5183. Kumria.
  5184. 2002-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5185. * examples/sndfile-info.c
  5186. Tidy up of output format.
  5187. * examnples/sndfile-play.c
  5188. Mods to make sndfile-play work on MacOSX using Apple's CoreAudio API.
  5189. * configure.in
  5190. Add new variables OS_SPECIFIC_INCLUDES and OS_SPECIFIC_LINKS which were
  5191. required to supply extra include paths and link parameters to get
  5192. sndfile-play working on MacOSX.
  5193. * examples/Makefile.am
  5194. Use OS_SPOECIFIC_INCLUDES and OS_SPECIFIC_LINKS to build commands for
  5195. sndfile-play.
  5196. 2002-06-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5197. * src/nist.c
  5198. Added ability to read/write new NIST Sphere file types (A-law, u-law).
  5199. Header parser was re-written from scratch. Example files supplied by Anand
  5200. Kumria.
  5201. * src/sndfile.c
  5202. Support for A-law and u-law NIST files.
  5203. * tests/Makefile.am tests/lossy_comp_test.c
  5204. Tests for A-law and u-law NIST files.
  5205. 2002-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5206. * tests/utils.c
  5207. Fixed an error in error string.
  5208. 2002-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5209. * acinclude.m4
  5210. Removed exit command to allow cross-compiling.
  5211. * Win32/unistd.h src/file_io.c
  5212. Moved contents of first file into the second file (enclosed in #ifdef).
  5213. Win32/unistd.h is now an empty file but still must be there for libsndfile
  5214. to compile on Win32.
  5215. * src/sd2.c, src/sndfile.c:
  5216. Fixes for Sound Designer II files on big endian systems.
  5217. 2002-06-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5218. * configure.in
  5219. Modified to work around problems with crappy MacOSX version of sed.
  5220. Added sanity check for proper values for CFLAGS.
  5221. 2002-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5222. * src/sndfile.c
  5223. Code clean up in sf_open ().
  5224. * Win32/Makefile.msvc
  5225. Michael Fink's contributed MSVC++ makefile was hacked to bits and put back
  5226. together in a new improved form.
  5227. * src/file_io.c
  5228. Fixes for Win32; _lseeki64() returns an invalid argument for calls like
  5229. _lseeki64(fd, 0, SEEK_CUR) so need to use _telli64 (fd) instead.
  5230. * src/common.h src/sndfile.c src/wav.c src/aiff.c
  5231. Added SFE_LOG_OVERRUN error.
  5232. Added termination for potential infinite loop when parsing file headers.
  5233. * src/wav.c src/w64.c
  5234. Fixed bug casuing incorrect header generation when opening file read/write.
  5235. 2002-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5236. * doc/api.html
  5237. Improved the documentation to make it clearer that the file read method
  5238. and the underlying file format are completely disconnected. Suggested
  5239. by Josh Green.
  5240. * doc/command.html
  5241. Started correcting docs to take into account changes made to the
  5242. operations of the sf_command () function. Not complete yet.
  5243. * src/sndfile.c
  5244. Reverted some changes which had broken the partially working SDII header
  5245. parsing. Now have access to an iBook with OS X so reading and writing SDII
  5246. files on all platforms should be a reality in the near future. On Mac this
  5247. will involve reading the resource fork via the standard MacOS API. To move
  5248. a file from Mac to another OS, the resource and data forks will need to be
  5249. combined before transfer. The combined file will be read on both Mac and
  5250. other OSes like any other file.
  5251. 2002-06-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5252. * ltmain.sh
  5253. Applied a patch from http://fink.sourceforge.net/doc/porting/libtool.php
  5254. which allows libsndfile to compile on MacOSX 10.1. This patch should not
  5255. interfere with compiling on other OSes.
  5256. * src/GSM610/private.h
  5257. Changes to fix compile problems on MacOSX (see src/GSM610/ChangeLog).
  5258. * src/float_cast.h
  5259. Added MacOSX replacements for lrint() and lrintf().
  5260. 2002-06-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5261. * src/sndfile.c
  5262. Replaced the code to print the filename to the log buffer when a file is
  5263. opened. This code seems to have been left out during the merge of
  5264. sf_open_read() and sf_open_write() to make a single functions sf_open().
  5265. 2002-06-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5266. * src/wav.c
  5267. Fixed a bug where the WAV header parser was going into an infinite loop
  5268. on a badly formed LIST chunk. File supplied by David Viens.
  5269. 2002-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5270. * configure.in
  5271. Added a message at the end of the configuration process to warn about the
  5272. need for the use of pkg-config when linking programs against version 1 of
  5273. libsndfile.
  5274. * doc/pkg-config.html
  5275. New documentation file containing details of how to use pkg-config to
  5276. retrieve settings for CFLAGS and library locations for linking files
  5277. against version 1 of libsndfile.
  5278. 2002-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5279. * src/wav.c
  5280. Fixed minor bug in handling of so-called ACIDized WAV files.
  5281. 2002-05-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5282. * Win32/libsndfile.def Win32/Makefile.msvc
  5283. Two new files contributed by Michael Fink (from the winLAME project)
  5284. which allows libsndfile to be built on windows in a MSDOS box by doing
  5285. "nmake -f Makefile.msvc". Way cool!
  5286. 2002-05-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5287. * configure.in
  5288. MacOSX is SSSOOOOOOO screwed up!!! I can't believe how hard it is to
  5289. generate a tarball which will configure and compile on that platform.
  5290. Joined the libtool mailing list to try and get some answers.
  5291. 2002-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5292. * configure.in
  5293. Changed to autoconf version 2.50. MacOSX uses autoconf version 2.53 which
  5294. is incompatible with with version 2.13 which had been using until now.
  5295. The AC_SYS_LARGE_FILE macro distributed withe autoconf 2.50 is missing a
  5296. few features so AC_SYS_EXTRA_LARGE file was defined to replace it.
  5297. * configure.in
  5298. Changed to automake version 1.5 to try and make a tarball which will
  5299. work on MacOSX.
  5300. 2002-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5301. * src/wav_gsm610.c
  5302. Changed name to gsm610.c. Added reading/writing of headerless files.
  5303. * src/sndfile.c src/raw.c
  5304. Added ability to read/write headerless (SF_FORMAT_RAW) GSM 6.10 files.
  5305. 2002-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5306. * tests/lossy_comp_test.c
  5307. Clean up in preparation for Autogen-ing this file.
  5308. * src/GSM610/*.[ch]
  5309. Code cleanup and prepartion forgetting file seek working. Details in
  5310. src/GSM610/ChangeLog.
  5311. * sndfile.pc.in
  5312. Testing complete. Is sndfile.m4 still needed?
  5313. 2002-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5314. * tests/write_read_test.tpl tests/rdwr_test.tpl
  5315. Merged tests from these two programs into write_read_test.tpl and deleted
  5316. rdwr_test.tpl.
  5317. 2002-05-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5318. * src/w64.c src/svx.c src/paf.c
  5319. Fixed bugs in read/write mode.
  5320. 2002-05-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5321. * examples/Makefile.am
  5322. Renamed sfplay.c to sndfile-play.c and sndfile_info.c to sndfile-info.c for
  5323. consistency when these programs become part of the Debian package
  5324. sndfile-programs.
  5325. * sndfile.pc.in
  5326. New file to replace sndfile-config.in. Libsndfile now uses the pkg-config
  5327. model for providing installation parameters to dependant programs.
  5328. * src/sndfile.c
  5329. Cleanup of code in sf_open().
  5330. 2002-05-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5331. * tests/utils.tpl tests/write_read_test.tpl
  5332. More conversion to Autogen fixes and enchancements.
  5333. * src/*.c
  5334. Read/write mode is now working for 16, 24 and 32 bit PCM as well as 32
  5335. bit float and 64 bit double data. More tests still required.
  5336. * src/Makefile.am
  5337. Added DISTCLEANFILES target to remove config.status and config.last.
  5338. * Win32/Makefile.am MacOS/Makefile.am
  5339. Added DISTCLEANFILES target to remove Makefile.
  5340. 2002-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5341. * src/*.[ch] tests/rdwr_test.c
  5342. More verifying workings of read/write mode. Fixing bugs found.
  5343. * tests/utils.[ch]
  5344. Made these files Autogen generated files.
  5345. * tests/util.tpl tests/util.def
  5346. New Autogen files to generate utils.[ch]. Moved some generic test functions
  5347. into this file. Autogen is such a great tool!
  5348. 2002-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5349. * src/pcm.c src/float_cast.h Win32/config.h
  5350. Fixed a couple of Win32 specific bugs pointed out by Michael Fink
  5351. (maintainer of WinLAME) and David Viens.
  5352. * tests/check_log_buffer.[ch] tests/utils.[ch]
  5353. Moved check_log_buffer() to utils.[ch] and deleted old file.
  5354. 2002-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5355. * src/common.[ch] src/sndfile.c
  5356. New function psf_default_seek() which will be the default seek function
  5357. for things like PCM and floating point data. This default is set for
  5358. both read and write in sf_open() but can be over-ridden by any codec
  5359. during it's initialisation.
  5360. 2002-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5361. * src/au.c
  5362. AU files use a data size value of -1 to mean unknown. Fixed au_open_read()
  5363. to allow opening files like this.
  5364. * tests/rdwr_test .c
  5365. Added more tests.
  5366. * src/sndfile.c
  5367. Fixed bugs in read/write mode found due to improvements in the test
  5368. program.
  5369. 2002-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5370. * tests/rdwr_test .c
  5371. New file for testing read/write mode.
  5372. 2002-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5373. * m4/*
  5374. Removed all m4 macros from this directory as they get concatenated to form
  5375. the file aclocal.m4 anyway.
  5376. * sndfile.m4
  5377. Moved this from the m4 directory to the root directory asn this is part of
  5378. the distribution and is installed during "make install".
  5379. 2002-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5380. * src/float32.c
  5381. Removed logging of peaks for all file formats other than AIFF and WAV.
  5382. * tests/write_read_test.tpl tests/write_read_test.def
  5383. New files which autogen uses to generate write_read_test.c. Doing it this
  5384. way makes write_read_test.c far easier to maintain. Other test programs
  5385. will be converted to autogen in the near future.
  5386. * src/*.c
  5387. Fixed a few bugs found when testing on Sparc (bug endian) Solaris.
  5388. 2002-04-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5389. * doc/*.html
  5390. Fixed documention versioning.
  5391. * configure.in
  5392. Fixed a bug in the routines which search for Large File Support on systems
  5393. which have large file support by defualt.
  5394. 2002-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5395. * src/*.[ch]
  5396. Found and fixed an issue which can cause a bug in other software (I was
  5397. porting Conrad Parker's Sweep program from version 0 of the library to
  5398. version 1). When opening a file for write, the libsndfile code would
  5399. set the sfinfo.samples field to a maximum value.
  5400. * tests/write_read_test.c
  5401. Added tests to detect the above problem.
  5402. 2002-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5403. * src/*.[ch]
  5404. Finished base implementation of read/write mode. Much more testing still
  5405. needed.
  5406. * m4/largefile.m4
  5407. Macro for detecting Large File Standard capabilities. This macro was ripped
  5408. out of the aclocal.m4 file of GNU tar-1.13.
  5409. * configure.in
  5410. Added detection of large file support. Files larger than 2 Gigabytes should
  5411. now be supported on 64 bit platforms and many 32 bit platforms including
  5412. Linux (2.4 kernel, glibc-2.2), *BSD, MacOS, Win32.
  5413. * libsndfile_convert_version.py
  5414. A Python script which attempts to autoconvert code written to use version 0
  5415. to version 1.
  5416. 2002-04-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5417. * src/*.[ch]
  5418. Finished base implementation of read/write mode. Much more testing still
  5419. needed.
  5420. * tests/write_read_test.c
  5421. Preliminary tests for read/write mode added. More needed.
  5422. 2002-04-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5423. * src/sndfile.[ch]
  5424. Removed sf_open_read() and sf_open_write() functions,replacting them with
  5425. sf_open() which takes an extra mode parameter (SF_OPEN_READ, SF_OPEN_WRITE,
  5426. or SF_OPEN_RDWR). This new function sf_open can now be modified to allow
  5427. opening a file formodification (RDWR).
  5428. 2002-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5429. * src/*.c
  5430. Completed merging of separate xxx_open_read() and xxx_open_write()
  5431. functions. All tests pass.
  5432. 2002-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5433. * src/au.c
  5434. Massive refactoring required to merge au_open_read() with au_open_write()
  5435. to create au_open().
  5436. 2002-04-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5437. * src/*.c
  5438. Started changes required to allow a sound file to be opened in read/write
  5439. mode, with separate file pointers for read and write. This involves merging
  5440. of encoder/decoder functions like pcm_read_init() and pcm_write_init()
  5441. int a new function pcm_init() as well as doing something similar for all
  5442. the file type specific functions ie aiff_open_read() and aiff_open_write()
  5443. were merged to make the function aiff_open().
  5444. 2002-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5445. * src/file_io.c
  5446. New file containing psf_fopen(), psf_fread(), psf_fwrite(), psf_fseek() and
  5447. psf_ftell() functions. These function will replace use of fopen/fread/fwrite
  5448. etc and allow access to files larger than 2 gigabytes on a number of 32 bit
  5449. OSes (Linux on x86, 32 bit Solaris user space apps, Win32 and MacOS).
  5450. * src/*.c
  5451. Replaced all instances of fopen with psf_open, fread with psd_read, fwrite
  5452. with psf_write and so on.
  5453. 2002-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5454. * src/dwvw.c
  5455. Finally fixed all known problems with 12, 16 and 24 bit DWVW encoding.
  5456. * tests/floating_point_test.c
  5457. Added tests for 12, 16 and 24 bit DWVW encoding.
  5458. 2002-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5459. * m4/endian.m4
  5460. Defines a new m4 macro AC_C_FIND_ENDIAN, for determining the endian-ness of
  5461. the target CPU. It first checks for the definition of BYTE_ORDER in
  5462. <endian.h>, then in <sys/types.h> and <sys/param.h>. If none of these work
  5463. and the C compiler is not a cross compiler it compiles and runs a program
  5464. to test for endian-ness. If the compiler is a cross compiler it makes a
  5465. guess based on $target_cpu.
  5466. * configure.in
  5467. Modified to use AC_C_FIND_ENDIAN.
  5468. * src/sfendian.h
  5469. Simplified.
  5470. 2002-02-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5471. * tests/floating_point_test.c
  5472. Tests completely rewritten using the dft_cmp function. Now able to
  5473. calculate a quick guesstimate of the Signal to Noise Ratio of the encoder.
  5474. 2002-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5475. * tests/dft_cmp.[ch]
  5476. New files containing functions for comparing pre and post lossily
  5477. compressed data using a quickly hacked DFT.
  5478. * tests/utils.[ch]
  5479. New files containing functions for saving pre and post encoded data in a
  5480. file readable by the GNU Octave package.
  5481. 2002-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5482. * m4/lrint.m4 m4/lrintf.m4
  5483. Fixed m4 macros to define HAVE_LRINT and HAVE_LRINTF even when the test
  5484. is cached.
  5485. 2002-02-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5486. * tests/floating_point_test.c
  5487. Fixed improper use of strncat ().
  5488. 2002-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5489. * tests/headerless_test.c
  5490. New test program to test the ability to open and read a known file type as a
  5491. RAW header-less file.
  5492. 2002-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5493. * tests/losy_comp_test.c
  5494. Added a test to ensure that the data read from a file is not all zeros.
  5495. * examples/sfconvert.c
  5496. Added "-gsm610" encoding types.
  5497. 2002-01-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5498. * examples/sfconvert.c
  5499. Added "-dwvw12", "-dwvw16" and "-dwvw24" encoding types.
  5500. * tests/dwvw_test.c
  5501. New file for testing DWVW encoder/decoder.
  5502. 2002-01-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5503. * src/dwvw.c
  5504. Implemented writing of DWVW. 12 bit seems to work, 16 and 24 bit still broken.
  5505. * src/aiff.c
  5506. Improved reporting of encoding types.
  5507. * src/voc.c
  5508. Clean up.
  5509. 2002-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5510. * src/dwvw.c
  5511. New file implementing lossless Delta Word Variable Width (DWVW) encoding.
  5512. Reading 12 bit DWVW is now working.
  5513. * src/aiff.c common.h sndfile.c
  5514. Added hooks for DWVW encoded AIFF and RAW files.
  5515. 2002-01-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5516. * src/w64.c
  5517. Robustify header parsing.
  5518. * src/wav_w64.h
  5519. Header file wav.h was renamed to wav_w64.h to signify sharing of
  5520. definitions across the two file types.
  5521. * src/wav.c src/w64.c src/wav_w64.c
  5522. Refactoring.
  5523. Modified and moved functions with a high degree of similarity between
  5524. wav.c and w64.c to wav_w64.c.
  5525. 2002-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5526. * src/w64.c
  5527. Completed work on getting read and write working.
  5528. * examples/sfplay.c
  5529. Added code to scale floating point data so it plays at a reasonable volume.
  5530. * tests/Makefile.am tests/write_read_test.c
  5531. Added tests for W64 files.
  5532. 2002-01-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5533. * src/*.c
  5534. Modded all code in file header writing routines to use
  5535. psf_new_binheader_writef().
  5536. Removed psf_binheader_writef() from src/common.c.
  5537. Globally replaced psf_new_binheader_writef with psf_binheader_writef.
  5538. 2002-01-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5539. * src/*.c
  5540. Modded all code in file parsing routines to use psf_new_binheader_readf().
  5541. Removed psf_binheader_readf() from src/common.c.
  5542. Globally replaced psf_new_binheader_readf with psf_binheader_readf.
  5543. * src/common.[ch]
  5544. Added new function psf_new_binheader_writef () which will soon replace
  5545. psf_binheader_writef (). The new function has basically the same function
  5546. as the original but has a more flexible and capable interface. It also
  5547. allows the writing of 64 bit integer values for files contains 64 bit file
  5548. offsets.
  5549. 2002-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5550. * src/formats.c src/sndfile.c src/sndfile.h
  5551. Added code allowing full enumeration of supported file formats via the
  5552. sf_command () interface.
  5553. This feature will allow applications to avoid needing recompilation when
  5554. support for new file formats are added to libsndfile.
  5555. * tests/command_test.c
  5556. Added test code for the above feature.
  5557. * examples/list_formats.c
  5558. New file. An example of the use of the supported file enumeration
  5559. interface. This program lists all the major formats and for each major
  5560. format the supported subformats.
  5561. 2002-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5562. * src/*.[ch] tests/*.c
  5563. Changed command parameter of sf_command () function from a test string to
  5564. an int. The valid values for the command parameter begin with SFC_ and are
  5565. listed in src/sndfile.h.
  5566. 2001-12-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5567. * src/formats.c src/sndfile.c
  5568. Added an way of enumerating a set of common file formats using the
  5569. sf_command () interface. This interface was suggested by Dominic Mazzoni,
  5570. one of the main authors of Audacity (http://audacity.sourceforge.net/).
  5571. 2001-12-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5572. * src/sndfile.c
  5573. Added checking of filename parameter in sf_open_read (). Previousy, if a
  5574. NULL pointer was passed the library would segfault.
  5575. 2001-12-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5576. * src/common.c src/common.h
  5577. Changed the len parameter of the endswap_*_array () functions from type
  5578. int to type long.
  5579. * src/pcm.c
  5580. Fixed a problem which
  5581. 2001-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5582. * src/sndfile.c
  5583. Added conditional #include <sys/types.h> for EMX/gcc on OS/2. Thanks to
  5584. Paul Hartman for pointing this out.
  5585. * tests/lossy_comp_test.c tests/floating_point_test.c
  5586. Added definitions for M_PI for when it isn't defined in <math.h>.
  5587. 2001-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5588. * src/ircam.c
  5589. Re-implemented the header reader. Old version was making incorrect
  5590. assumptions about the endian-ness of the file from the magic number at the
  5591. start of the file. The new code looks at the integer which holds the
  5592. number of channels and determines the endian-ness from that.
  5593. 2001-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5594. * src/aiff.c
  5595. Added support for other AIFC types ('raw ', 'in32', '23ni').
  5596. Further work on IMA ADPCM encoding.
  5597. 2001-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5598. * src/ima_adpcm.c
  5599. Renamed from wav_ima_adpcm.c. This file will soon handle IMA ADPCM
  5600. encodings for both WAV and AIFF files.
  5601. * src/aiff.c
  5602. Started adding IMA ADPCM support.
  5603. 2001-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5604. * src/double.c
  5605. New file for handling double precision floating point (SF_FORMAT_DOUBLE)
  5606. data.
  5607. * src/wav.c src/aiff.c src/au.c src/raw.c
  5608. Added support for SF_FORMAT_DOUBLE data.
  5609. * src/common.[ch]
  5610. Addition of endswap_long_array () for endian swapping 64 bit integers. This
  5611. function will work correctly on processors with 32 bit and 64 bit longs.
  5612. Optimised endswap_short_array () and endswap_int_array ().
  5613. * tests/pcm_test.c
  5614. Added and extra check. After the first file of each type is written to disk
  5615. a checksum is performed of the first 64 bytes and checked against a pre-
  5616. calculated value. This will work whatever the endian-ness of the host
  5617. machine.
  5618. 2001-11-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5619. * src/aiff.c
  5620. Added handling of u-law, A-law encoded AIFF files. Thanks to Tom Erbe for
  5621. supplying example files.
  5622. * tests/lossy_comp_test.c
  5623. Added tests for above.
  5624. * src/common.h src/*.c
  5625. Removed function typedefs from common.h and function pointer casting in all
  5626. the other files. This allows the compiler to perform proper type checking.
  5627. Hopefully this will prevernt problems like the sf_seek bug for OpenBSD,
  5628. BeOS etc.
  5629. * src/common.[ch]
  5630. Added new function psf_new_binheader_readf () which will eventually replace
  5631. psf_binheader_readf (). The new function has basically the same function as
  5632. the original but has a more flexible and capable interface. It also allows
  5633. the reading of 64 bit integer values for files contains 64 bit file
  5634. offsets.
  5635. 2001-11-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5636. * src/voc.c
  5637. Completed implementation of VOC file handling. Can now handle 8 and 16 bit
  5638. PCM, u-law and A-law files with one or two channels.
  5639. * src/write_read_test.c tests/lossy_comp_test.c
  5640. Added tests for VOC files.
  5641. 2001-11-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5642. * src/float_cast.h
  5643. Added inline asm version of lrint/lrintf for MacOS. Solution provided by
  5644. Stephane Letz.
  5645. * src/voc.c
  5646. More work on this braindamaged format. The VOC files produced by SoX also
  5647. have a number of inconsistencies.
  5648. 2001-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5649. * src/paf.c
  5650. Added support for 8 bit PCM PAF files.
  5651. * tests/write_read_test.c
  5652. Added tests for 8 bit PAF files.
  5653. 2001-11-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5654. * tests/pcm_test.c
  5655. New test program to test for correct scaling of integer values between
  5656. different sized integer containers (ie short -> int).
  5657. The new specs for libsndfile state that when the source and destination
  5658. containers are of a different size, the most significant bit of the source
  5659. value becomes the most significant bit of the destination container.
  5660. * src/pcm.c src/paf.c
  5661. Modified to pass the above test program.
  5662. * tests/write_read_test.c tests/lossy_comp_test.c
  5663. Modified to work with the new scaling rules.
  5664. 2001-11-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5665. * src/raw.c tests/write_read_test.c tests/write_read_test.c
  5666. Added ability to do raw reads/writes of float, u-law and A-law files.
  5667. * src/*.[ch] examples/*.[ch] tests/*.[ch]
  5668. Removed dependance on pcmbitwidth field of SF_INFO struct and moved to new
  5669. SF_FORMAT_* types and use of SF_ENDIAN_BIG/LITTLE/CPU.
  5670. 2001-11-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5671. * src/*.[ch]
  5672. Started implmentation of major changes documented in doc/version1.html.
  5673. Removed all usage of off_t which is not part of the ISO C standard. All
  5674. places which were using it are now using type long which is the type of
  5675. the offset parameter for the fseek function.
  5676. This should fix problems on BeOS, MacOS and *BSD like systems which were
  5677. failing "make check" because sizeof (long) != sizeof (off_t).
  5678. --------------------------------------------------------------------------------
  5679. This is the boundary between version 1 of the library above and version 0 below.
  5680. --------------------------------------------------------------------------------
  5681. 2001-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5682. * examples/sfplay_beos.cpp
  5683. Added BeOS version of sfplay.c. This needs to be compiled using a C++
  5684. compiler so is therefore not built by default. Thanks to Marcus Overhagen
  5685. for providing this.
  5686. 2001-11-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5687. * examples/sfplay.c
  5688. New example file showing how libsndfile can be used to read and play a
  5689. sound file.
  5690. At the moment on Linux is supported. Others will follow in the near future.
  5691. 2001-11-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5692. * src/pcm.c
  5693. Fixed problem with normalisation code where a value of 1.0 could map to
  5694. a value greater than MAX_SHORT or MAX_INT. Thanks to Roger Dannenberg for
  5695. pointing this out.
  5696. 2001-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5697. * src/pcm.c
  5698. Fixed scaling issue when reading/writing 8 bit files using
  5699. sf_read/sf_write_short ().
  5700. On read, values are scaled so that the most significant bit in the char
  5701. ends up in the most significant bit of the short. On write, values are
  5702. scaled so that most significant bit in the short ends up as the most
  5703. significant bit in the char.
  5704. 2001-11-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5705. * src/au.c src/sndfile.c
  5706. Added support for 32 bit float data in big and little endian AU files.
  5707. * tests/write_read_test.c
  5708. Added tests for 32 bit float data in AU files.
  5709. 2001-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5710. * tests/lossy_comp_test.c
  5711. Finalised testing of stereo files where possible.
  5712. 2001-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5713. * src/wav_ms_adpcm.c
  5714. Fixed bug in writing stereo MS ADPCM WAV files. Thanks to Xu Xin for
  5715. pointing out this problem.
  5716. 2001-10-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5717. * src/wav_ms_adpcm.c
  5718. Modified function srate2blocksize () to handle 44k1Hz stereo files.
  5719. 2001-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5720. * src/w64.c
  5721. Added support for Sonic Foundry 64 bit WAV format. As Linux (my main
  5722. development platform) does not yet support 64 bit file offsets by default,
  5723. current handling of this file format treats everything as 32 bit and fails
  5724. openning the file, if it finds anything that goes beyond 32 bit values.
  5725. * src/sndfile.[hc] src/common.h src/Makefile.am
  5726. Added hooks for W64 support.
  5727. 2001-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5728. * configure.in
  5729. Added more warnings options to CFLAGS when the gcc compiler is detected.
  5730. * src/*.[ch] tests/*.c examples/*.c
  5731. Started fixing the warning messages due to the new CFLASG.
  5732. * src/voc.c
  5733. More work on VOC file read/writing.
  5734. * src/paf.c
  5735. Found that PAF files were not checking the normalisation flag when reading
  5736. or writing floats and doubles. Fixed it.
  5737. * tests/floating_point_test.c
  5738. Added specific test for the above problem.
  5739. * src/float_cast.h src/pcm.c
  5740. Added a section for Win32 to define lrint () and lrintf () in the header
  5741. and implement it in the pcm.c
  5742. 2001-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5743. * sndfile-config.in m4/sndfile.m4
  5744. These files were donated by Conrad Parker who also provided instructions
  5745. on how to install them using autoconf/automake.
  5746. * src/float_cast.h
  5747. Fiddled around with this file some more. On Linux and other gcc supported
  5748. OSes use the C99 functions lrintf() and lrint() for casting from floating
  5749. point to int without incurring the huge perfromance penalty (particularly
  5750. on the i386 family) caused by the regular C cast from float to int.
  5751. These new C99 functions replace the FLOAT_TO_* and DOUBLE_TO_* macros which
  5752. I had been playing with.
  5753. * configure.in m4/lrint.m4 m4/lrintf.m4
  5754. Add detection of these functions.
  5755. 2001-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5756. * src/voc.c
  5757. Completed code for reading VOC files containing a single audio data
  5758. segment.
  5759. Started implementing code to handle files with multiple VOC_SOUND_DATA
  5760. segments but couldn't be bothered finishing it. Multiple segment files can
  5761. have different sample rates for different sections and other nasties like
  5762. silence and repeat segments.
  5763. 2001-10-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5764. * src/common.h src/*.c
  5765. Removed SF_PRIVATE struct field fdata and replaced it with extra_data.
  5766. * src/voc.c
  5767. Further development of the read part of this woefult file format.
  5768. 2001-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5769. * src/float_cast.h
  5770. Implemented gcc and i386 floating point to int cast macros. Standard cast
  5771. will be used when not on gcc for i385.
  5772. * src/pcm.c
  5773. Modified all uses of FLOAT/DOUBLE_TO_INT and FLOAT/DOUBLE_TO_SHORT casts to
  5774. comply with macros in float_cast.h.
  5775. 2001-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5776. * src/voc.c
  5777. Changed the TYPE_xxx enum names to VOC_TYPE_xxx to prevent name clashes
  5778. on MacOS with CodeWarrior 6.0.
  5779. * MacOS/MacOS-readme.txt
  5780. Updated the compile instructions. Probably still need work as I don't have
  5781. access to a Mac.
  5782. 2001-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5783. * src/wav.c src/aiff.c common.c
  5784. Changed all references to snprintf to LSF_SNPRINTF and all vsnprintf to
  5785. LSF_VSNPRINTF. LSF_VSNPRINTF and LSF_VSNPRINTF are defined in common.h.
  5786. * src/common.h
  5787. Added checking of HAVE_SNPRINTF and HAVE_VSNPRINTF and defining
  5788. LSF_VSNPRINTF and LSF_VSNPRINTF to appropriate values.
  5789. * src/missing.c
  5790. New file containing a minimal implementation of snprintf and vsnprintf
  5791. functions named missing_snprintf and missing_vsnprintf respectively. These
  5792. are only compliled into the binary if snprintf and/or vsnprintf are not
  5793. available.
  5794. 2001-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5795. * src/ircam.c
  5796. New file to handle Berkeley/IRCAM/CARL files.
  5797. * src/sndfile.c src/common.h
  5798. Modified for IRCAM handling.
  5799. * tests/*.c
  5800. Added tests for IRCAM files.
  5801. 2001-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5802. * src/wav.c
  5803. Apparently microsoft windows (tm) doesn't like ulaw and Alaw WAV files with
  5804. 20 byte format chunks (contrary to ms's own documentation). Fixed the WAV
  5805. header writing code to generate smaller ms compliant ulaw and Alaw WAV
  5806. files.
  5807. 2001-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5808. * tests/stdio_test.sh tests/stdio_test.c
  5809. Shell script was rewritten as a C program due to incompatibilities of the
  5810. sh shell on Linux and Solaris.
  5811. 2001-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5812. * tests/stdio_test.sh tests/stdout_test.c tests/stdin_test.c
  5813. New test programs to verify the correct operation of reading from stdin and
  5814. writing to stdout.
  5815. * src/sndfile.c wav.c au.c nist.c paf.c
  5816. Fixed a bugs uncovered by the new test programs above.
  5817. 2001-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5818. * src/sndfile.c wav.c
  5819. Fixed a bug preventing reading a file from stdin. Found by T. Narita.
  5820. 2001-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5821. * src/common.h
  5822. Fixed a problem on OpenBSD 2.9 which was causing sf_seek() to fail on IMA
  5823. WAV files. Root cause was the declaration of the func_seek typedef not
  5824. matching the functions it was actually being used to point to. In OpenBSD
  5825. sizeof (off_t) != sizeof (int). Thanks to Heikki Korpela for allowing me
  5826. to log into his OpenBSD machine to debug this problem.
  5827. 2001-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5828. * src/sndfile.c
  5829. Implemented sf_command ("norm float").
  5830. * src/*.c
  5831. Implemented handling of sf_command ("set-norm-float"). Float normalization
  5832. can now be turned on and off.
  5833. * tests/double_test.c
  5834. Renamed to floating_point_test.c. Modified to include tests for all scaled
  5835. reads and writes of floats and doubles.
  5836. * src/au_g72x.c
  5837. Fixed bug in normalization code found with improved floating_point_test
  5838. program.
  5839. * src/wav.c
  5840. Added code for parsing 'INFO' and 'LIST' chunks. Will be used for extract
  5841. text annotations from WAV files.
  5842. * src/aiff.c
  5843. Added code for parsing '(c) ' and 'ANNO' chunks. Will be used for extract
  5844. text annotations from WAV files.
  5845. 2001-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5846. * examples/sf_info.c example/Makefile.am
  5847. Renamed to sndfile_info.c. The program sndfile_info will now be installed
  5848. when the library is installed.
  5849. * src/float_cast.h
  5850. New file defining floating point to short and int casts. These casts will
  5851. eventually replace all flot and double casts to short and int. See comments
  5852. at the top of the file for the reasoning.
  5853. * src/*.c
  5854. Changed all default float and double casts to short or int with macros
  5855. defined in floatcast.h. At the moment these casts do nothing. They will be
  5856. replaced with faster float to int cast operations in the near future.
  5857. 2001-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5858. * tests/command_test.c
  5859. New file for testing sf_command () functionality.
  5860. * src/sndfile.c
  5861. Revisiting of error return values of some functions.
  5862. Started implementing sf_command () a new function will allow on-the-fly
  5863. modification of library behaviour, or instance, sample value scaling.
  5864. * src/common.h
  5865. Added hook for format specific sf_command () calls to SNDFILE struct.
  5866. * doc/api.html
  5867. Updated and errors corrected.
  5868. * doc/command.html
  5869. New documentation file explaining new sf_command () function.
  5870. 2001-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5871. * src/sndfile.c
  5872. Fixed error return values from sf_read*() and sf_write*(). There were
  5873. numerous instances of -1 being returned through size_t. These now all set
  5874. error int the SF_PRIVATE struct and return 0. Thanks to David Viens for
  5875. spotting this.
  5876. 2001-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5877. * src/common.c
  5878. Fixed use of va_arg() calls that were causing warning messages with the
  5879. latest version of gcc (thanks Maurizio Umberto Puxeddu).
  5880. 2001-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5881. * src/*.c src/sfendian.h
  5882. Moved definition of MAKE_MARKER macro to sfendian.h
  5883. 2001-07-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5884. * src/sndfile.c
  5885. Modified sf_get_lib_version () so that version string will be visible using
  5886. the Unix strings command.
  5887. * examples/Makefile.am examples/sfinfo.c
  5888. Renamed sfinfo program and source code to sf_info. This prevents a name
  5889. clash with the program included with libaudiofile.
  5890. 2001-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5891. * tests/read_seek_test.c tests/lossy_comp_test.c
  5892. Added tests for sf_read_float () and sf_readf_float ().
  5893. * src/voc.c
  5894. New files for handling Creative Voice files (not complete).
  5895. * src/samplitude.c
  5896. New files for handling Samplitude files (not complete).
  5897. 2001-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5898. * src/aiff.c src/au.c src/paf.c src/svx.c src/wav.c
  5899. Converted these files to using psf_binheader_readf() function. Will soon be
  5900. ready to attempt to make reading writing from pipes work reliably.
  5901. * src/*.[ch]
  5902. Added code for sf_read_float () and sf_readf_float () methods of accessing
  5903. file data.
  5904. 2001-07-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5905. * src/paf.c src/wav_gsm610.c
  5906. Removed two printf()s which had escaped notice for some time (thanks
  5907. Sigbjørn Skjæret).
  5908. 2001-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5909. * src/wav_gsm610.c
  5910. Fixed a bug which prevented GSM 6.10 encoded WAV files generated by
  5911. libsndfile from being played in Windoze (thanks klay).
  5912. 2001-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5913. * src/common.[ch]
  5914. Implemented psf_binheader_readf() which will do for file header reading what
  5915. psf_binheader_writef() did for writing headers. Will eventually allow
  5916. libsndfile to read and write from pipes, including named pipes.
  5917. 2001-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5918. * MacOS/config.h Win32/config.h
  5919. Attempted to bring these two files uptodate with src/config.h. As I don't
  5920. have access to either of these systems support for them may be completely
  5921. broken.
  5922. 2001-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5923. * src/float32.c
  5924. Fixed bug for big endian processors that can't read 32 bit IEEE floats. Now
  5925. tested on Intel x86 and UltraSparc processors.
  5926. 2001-06-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5927. * src/aiff.c
  5928. Modified to allow REX files (from Propellorhead's Recycle and Reason
  5929. programs) to be read.
  5930. REX files are basically an AIFF file with slightly unusual sequence of
  5931. chunks (AIFF files are supposed to allow any sequence) and some extra
  5932. application specific information.
  5933. Not yet able to write a REX file as the details of the application specific
  5934. data is unknown.
  5935. 2001-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5936. * src/wav.c
  5937. Fixed endian bug when reading PEAK chunk on big endian machines.
  5938. * src/common.c
  5939. Fixed endian bug when reading PEAK chunk on big endian machines with
  5940. --enable-force-broken-float configure option.
  5941. Fix psf_binheader_writef for (FORCE_BROKEN_FLOAT ||______)
  5942. 2001-06-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5943. * configure.in src/config.h.in
  5944. Removed old CAN_READ_WRITE_x86_IEEE configure variable now that float
  5945. capabilities are detected at run time.
  5946. Added FORCE_BROKEN_FLOAT to allow testing of broken float code on machines
  5947. where the processor can in fact handle floats correctly.
  5948. * src/float32.c
  5949. Rejigged code reading and writing of floats on broken processors.
  5950. * m4/
  5951. Removed this directory and all its files as they are no longer needed.
  5952. 2001-06-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5953. * tests/peak_chunk_test.c
  5954. New test to validate reading and writing of peak chunk.
  5955. * examples/sfconvert
  5956. Added -float32 option.
  5957. * src/*.c
  5958. Changed all error return values to negative values (ie the negative of what
  5959. they were).
  5960. * src/sndfile.c tests/error_test.c
  5961. Modified to take account of the previous change.
  5962. 2001-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5963. * src/float32.c
  5964. File renamed from wav_float.c and renamed function to something more
  5965. general.
  5966. Added runtime detection of floating point capabilities.
  5967. Added recording of peaks during write for generation of PEAK chunk.
  5968. * src/wav.c src/aiff.c
  5969. Added handing for PEAK chunk for floating point files. PEAK is read when the
  5970. file headers are read and generated when the file is closed. Logic is in
  5971. place for adding PEAK chunk to end of file when writing to a pipe (reading
  5972. and writing from/to pipe to be implemented soon).
  5973. * src/sndfile.c
  5974. Modified sf_signal_max () to use PEAK values if present.
  5975. 2001-06-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5976. * src/*.c
  5977. Added pcm_read_init () and pcm_write_init () to src/pcm.c and removed all
  5978. other calls to functions in this file from the filetype specific files.
  5979. * src/*.c
  5980. Added alaw_read_init (), alaw_write_int (), ulaw_read_init () and
  5981. ulaw_write_init () and removed all other calls to functions in alaw.c and
  5982. ulaw.c from the filetype specific files.
  5983. * tests/write_read_test.c
  5984. Added tests to validate sf_seek () on all file types.
  5985. * src/raw.c
  5986. Implemented raw_seek () function to fix a bug where
  5987. sf_seek (file, 0, SEEK_SET) on a RAW file failed.
  5988. * src/paf.c
  5989. Fixed a bug in paf24_seek () found due to added seeks tests in
  5990. tests/write_read_test.c
  5991. 2001-06-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5992. * tests/read_seek_test.c
  5993. Fixed a couple of broken binary files.
  5994. * src/aiff.c src/wav.c
  5995. Added handling of PEAK chunks on file read.
  5996. 2001-05-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  5997. * check_libsndfile.py
  5998. New file for the regression testing of libsndfile.
  5999. check_libsndfile.py is a Python script which reads in a file containing
  6000. filenames of audio files. Each file is checked by running the examples/sfinfo
  6001. program on them and checking for error or warning messages in the libsndfile
  6002. log buffer.
  6003. * check_libsndfile.list
  6004. This is an example list of audio files for use with check_libsndfile.py
  6005. * tests/lossy_comp_test.c
  6006. Changed the defined value of M_PI for math header files which don't have it.
  6007. This fixed validation test failures on MetroWerks compilers. Thanks to Lord
  6008. Praetor Satanus of Acheron for bringing this to my attention.
  6009. 2001-05-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6010. * src/common.[ch]
  6011. Removed psf_header_setf () which was no longer required after refactoring
  6012. and simplification of header writing.
  6013. Added 'z' format specifier to psf_binheader_writef () for zero filling header
  6014. with N bytes. Used by paf.c and nist.c
  6015. * tests/check_log_buffer.c
  6016. New file implementing check_log_buffer () which reads the log buffer of a
  6017. SNDFILE* object and searches for error and warning messages. Calls exit ()
  6018. if any are found.
  6019. * tests/*.c
  6020. Added calls to check_log_buffer () after each call to sf_open_XXX ().
  6021. 2001-05-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6022. * src/wav.c src/wav_ms_adpcm.c src/wav_gsm610.c
  6023. Major rehack of header writing using psf_binheader_writef ().
  6024. 2001-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6025. * src/wav.c src/wav_ima_adpcm.c
  6026. Major rehack of header writing using psf_binheader_writef ().
  6027. 2001-05-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6028. * src/wav.c
  6029. Changed return type of get_encoding_str () to prevent compiler warnings on
  6030. Mac OSX.
  6031. * src/aiff.c src/au.c
  6032. Major rehack of header writing using psf_binheader_writef ().
  6033. 2001-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6034. * src/common.h src/common.c
  6035. Added comments.
  6036. Name of log buffer changed from strbuffer to logbuffer.
  6037. Name of log buffer index variable changed from strindex to logindex.
  6038. * src/*.[ch]
  6039. Changed name of internal logging function from psf_sprintf () to
  6040. psf_log_printf ().
  6041. Changed name of internal header generation functions from
  6042. psf_[ab]h_printf () to psf_asciiheader_printf () and
  6043. psf_binheader_writef ().
  6044. Changed name of internal header manipulation function psf_hsetf () to
  6045. psf_header_setf ().
  6046. 2001-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6047. * src/nist.c
  6048. Fixed reading and writing of sample_byte_format header. "01" means little
  6049. endian and "10" means big endian regardless of bit width.
  6050. * configure.in
  6051. Detect Mac OSX and disable -Wall and -pedantic gcc options. Mac OSX is
  6052. way screwed up and spews out buckets of warning messages from the system
  6053. headers.
  6054. Added --disable-gcc-opt configure option (sets gcc optimisation to -O0 ) for
  6055. easier debugging.
  6056. Made decision to harmonise source code version number and .so library
  6057. version number. Future releases will stick to this rule.
  6058. * doc/new_file_type.HOWTO
  6059. New file to document the addition of new file types to libsndfile.
  6060. 2001-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6061. * src/nist.c
  6062. New file for reading/writing Sphere NIST audio file format.
  6063. Originally requested by Elis Pomales in 1999.
  6064. Retrieved from unstable (and untouched for 18 months) branch of libsndfile.
  6065. Some vital information gleaned from the source code to Bill Schottstaedt's
  6066. sndlib library : ftp://ccrma-ftp.stanford.edu/pub/Lisp/sndlib.tar.gz
  6067. Currently reading and writing 16, 24 and 32 bit, big-endian and little
  6068. endian, stereo and mono files.
  6069. * src/common.h src/common.c
  6070. Added psf_ah_printf () function to help construction of ASCII headers (ie NIST).
  6071. * configure.in
  6072. Added test for vsnprintf () required by psf_ah_printf ().
  6073. * tests/write_read_test.c
  6074. Added tests for supported NIST files.
  6075. 2001-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6076. * tests/write_read_test.c
  6077. Added tests for little endian AIFC files.
  6078. * src/aiff.c
  6079. Minor re-working of aiff_open_write ().
  6080. Added write support for little endian PCM encoded AIFC files.
  6081. 2001-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6082. * src/aiff.c
  6083. Minor re-working of aiff_open_read ().
  6084. Added read support for little endian PCM encoded AIFC files from the Mac
  6085. OSX CD ripper program. Guillaume Lessard provided a couple of sample files
  6086. and a working patch.
  6087. The patch was not used as is but gave a good guide as to what to do.
  6088. 2001-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6089. * src/sndfile.h
  6090. Fixed comments about endian-ness of WAV and AIFF files. Guillaume Lessard
  6091. pointed out the error.
  6092. 2001-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6093. * examples/make_sine.c
  6094. Re-write of this example using sample rate and required frequency in Hz.
  6095. 2001-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6096. * src/sndfile.c
  6097. Fixed bug that prevented known file types from being read as RAW PCM data.
  6098. 2000-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6099. * src/aiff.c
  6100. Added handing of COMT chunk.
  6101. 2000-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6102. * examples/sfconvert.c
  6103. Fixed bug in normalisatio code. Pointed out by Johnny Wu.
  6104. 2000-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6105. * Win32/config.h
  6106. Fixed the incorrect setting of HAVE_ENDIAN_H parameter. Win32 only issue.
  6107. 2000-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6108. * tests/Makefile.am
  6109. Added -lm for write_read_test_LDADD.
  6110. 2000-10-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6111. * src/sndfile.c src/au.c
  6112. Fixed bug which prevented writing of G723 24kbps AU files.
  6113. * tests/lossy_comp_test.c
  6114. Corrrection to options for G723 tests.
  6115. * configure.in
  6116. Added --disable-gcc-pipe option for DJGPP compiler (gcc on MS-DOS) which
  6117. doesn't allow gcc -pipe option.
  6118. 2000-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6119. * src/ulaw.c src/alaw.c src/wav_imaadpcm.c src/msadpcm.c src/wav_gsm610.c
  6120. Fixed normailsation bugs shown up by new double_test program.
  6121. 2000-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6122. * src/pcm.c
  6123. Fixed bug in normalisation code (spotted by Steve Lhomme).
  6124. * tests/double_test.c
  6125. New file to test scaled and unscaled sf_read_double() and sf_write_double()
  6126. functions.
  6127. 2000-08-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6128. * COPYING
  6129. Changed to the LGPL COPYING file (spotted by H. S. Teoh).
  6130. 2000-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6131. * src/sndfile.h
  6132. Removed prototype of unimplemented function sf_get_info(). Added prototype
  6133. for sf_error_number() Thanks to Sigbjørn Skjæret for spotting these.
  6134. 2000-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6135. * src/newpcm.h
  6136. New file to contain a complete rewrite of the PCM data handling.
  6137. 2000-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6138. * src/sndfile.c
  6139. Fixed a leak of FILE* pointers in sf_open_write(). Thanks to Sigbjørn
  6140. Skjæret for spotting this one.
  6141. 2000-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6142. * src/au_g72x.c src/G72x/g72x.c
  6143. Added G723 encoded AU file support.
  6144. * tests/lossy_comp_test.c
  6145. Added tests for G721 and G723 encoded AU files.
  6146. 2000-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6147. * all files
  6148. Changed the license to LGPL. Albert Faber who had copyright on
  6149. Win32/unistd.h gave his permission to change the license on that file. All
  6150. other files were either copyright erikd AT mega-nerd DOT com or copyright
  6151. under a GPL/LGPL compatible license.
  6152. 2000-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6153. * tests/lossy_comp_test.c
  6154. Fixed incorrect error message.
  6155. * src/au_g72x.c src/G72x/*
  6156. G721 encoded AU files now working.
  6157. * Win32/README-Win32.txt
  6158. Replaced this file with a new one which gives a full explanation
  6159. of how to build libsndfile under Win32. Thanks to Mike Ricos.
  6160. 2000-08-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6161. * src/*.[ch]
  6162. Removed double leading underscores from the start of all variable and
  6163. function names. Identifiers with a leading underscores are reserved
  6164. for use by the compiler.
  6165. * src/au_g72x.c src/G72x/*
  6166. Continued work on G721 encoded AU files.
  6167. 2000-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6168. * src/G72x/*
  6169. New files for reading/writing G721 and G723 ADPCM audio. These files
  6170. are from a Sun Microsystems reference implementation released under a
  6171. free software licence.
  6172. Extensive changes to this code to make it fit in with libsndfile.
  6173. See the ChangeLog in this directory for details.
  6174. * src/au_g72x.c
  6175. New file for G721 encoded AU files.
  6176. 2000-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6177. * libsndfile.spec.in
  6178. Added a spec file for making RPMs. Thanks to Josh Green for supplying this.
  6179. 2000-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6180. * src/sndfile.c src/sndfile.h
  6181. Add checking for and handling of header-less u-law encoded AU/SND files.
  6182. Any file with a ".au" or ".snd" file extension and without the normal
  6183. AU file header is treated as an 8kHz, u-law encoded file.
  6184. * src/au.h
  6185. New function for opening a headerless u-law encoded file for read.
  6186. 2000-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6187. * src/paf.c
  6188. Add checking for files shorter than minimal PAF file header length.
  6189. 2000-06-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6190. * tests/write_read_test.c
  6191. Added extra sf_perror() calls when sf_write_XXXX fails.
  6192. 2000-05-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6193. * src/common.c
  6194. Modified usage of va_arg() macro to work correctly on PowerPC
  6195. Linux. Thanks to Kyle Wheeler for giving me ssh access to his
  6196. machine while I was trying to track this down.
  6197. * configure.in src/*.[ch]
  6198. Sorted out some endian-ness issues brought up by PowerPC Linux.
  6199. * tests/read_seek_test.c
  6200. Added extra debugging for when tests fail.
  6201. 2000-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6202. * src/wav.c
  6203. Fixed bug in GSM 6.10 handling for big-endian machines. Thanks
  6204. to Sigbjørn Skjæret for reporting this.
  6205. 2000-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6206. * src/sndfile.c src/wav.c src/wav_gsm610.c
  6207. Finallised writing of GSM 6.10 WAV files.
  6208. * tests/lossy_comp_test.c
  6209. Wrote new test code for GSM 6.10 files.
  6210. * examples/sfinfo.c
  6211. Fixed incorrect format in printf() statement.
  6212. 2000-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6213. * src/sndfile.h.in
  6214. Fixed comments about sf_perror () and sf_error_str ().
  6215. 2000-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6216. * configure.in
  6217. Fixed --enable-justsrc option.
  6218. 2000-03-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6219. * wav.c
  6220. Fixed checking of bytespersec field of header. Still some weirdness
  6221. with some files.
  6222. 2000-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6223. * tests/lossy_comp_test.c
  6224. Added option to test PCM WAV files (sanity check).
  6225. Fixed bug in sf_seek() tests.
  6226. 2000-02-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6227. * src/sndfile.c src/wav.c
  6228. Minor changes to allow writing of GSM 6.10 WAV files.
  6229. 2000-02-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6230. * configure.in Makefile.am src/Makefile.am
  6231. Finally got around to figuring out how to build a single library from
  6232. multiple source directories.
  6233. Reading GSM 6.10 files now seems to work.
  6234. 2000-01-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6235. * src/wav.c
  6236. Added more error reporting in read_fmt_chunk().
  6237. 1999-12-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6238. * examples/sfinfo.c
  6239. Modified program to accept multiple filenames from the command line.
  6240. 1999-11-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6241. * src/wav_ima_adpcm.c
  6242. Moved code around in preparation to adding ability to read/write IMA ADPCM
  6243. encoded AIFF files.
  6244. 1999-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6245. * src/common.c
  6246. Fixed put_int() and put_short() macros used by _psf_hprintf() which were
  6247. causing seg. faults on Sparc Solaris.
  6248. 1999-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6249. * src/common.c
  6250. Added string.h to includes. Thanks to Sigbjxrn Skjfret.
  6251. * src/svx.c
  6252. Fixed __svx_close() function to ensure FORM and BODY chunks are correctly
  6253. set.
  6254. 1999-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6255. * src/au.c
  6256. Fixed handling of incorrect size field in AU header on read. Thanks to
  6257. Christoph Lauer for finding this problem.
  6258. 1999-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6259. * src/aiff.c
  6260. Fixed a bug with incorrect SSND chunk length being written. This also lead
  6261. to finding an minor error in AIFF header parsing. Thanks to Dan Timis for
  6262. pointing this out.
  6263. 1999-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6264. * src/paf.c
  6265. Fixed a bug with reading and writing 24 bit stereo PAF files. This problem
  6266. came to light when implementing tests for the new functions which operate
  6267. in terms of frames rather than items.
  6268. 1999-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6269. * src/sndfile.c
  6270. Modified file type detection to use first 12 bytes of file rather than
  6271. file name extension. Required this because NIST files use the same
  6272. filename extension as Microsoft WAV files.
  6273. * src/sndfile.c src/sndfile.h
  6274. Added short, int and double read/write functions which work in frames
  6275. rather than items. This was originally suggested by Maurizio Umberto
  6276. Puxeddu.
  6277. 1999-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6278. * src/svx.c
  6279. Finished off implementation of write using __psf_hprintf().
  6280. 1999-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6281. * src/common.h
  6282. Added a buffer to SF_PRIVATE for writing the header. This is required
  6283. to make generating headers for IFF/SVX files easier as well as making
  6284. it easier to do re-write the headers which will be required when
  6285. sf_rewrite_header() is implemented.
  6286. * src/common.c
  6287. Implemented __psf_hprintf() function. This is an internal function
  6288. which is documented briefly just above the code.
  6289. 1999-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6290. * src/sndfile.c
  6291. Fixed a bug in sf_write_raw() where it was returning incorrect values
  6292. (thanks to Richard Dobson for finding this one). Must put in a test
  6293. routine for sf_read_raw and sf_write_raw.
  6294. * src/aiff.c
  6295. Fixed default FORMsize in __aiff_open_write ().
  6296. * src/sndfile.c
  6297. Added copy of filename to internal data structure. IFF/SVX files
  6298. contain a NAME header chunk. Both sf_open_read() and sf_open_write()
  6299. copy the file name (less the leading path information) to the
  6300. filename field.
  6301. * src/svx.c
  6302. Started implementing writing of files.
  6303. 1999-08-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6304. * src/svx.c
  6305. New file for reading/writing 8SVX and 16SVX files.
  6306. * src/sndfile.[ch] src/common.h
  6307. Changes for SVX files.
  6308. * src/aiff.c
  6309. Fixed header parsing when unknown chunk is found.
  6310. 1999-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6311. * src/paf.c
  6312. New file for reading/writing Ensoniq PARIS audio file format.
  6313. * src/sndfile.[ch] src/common.h
  6314. Changes for PAF files.
  6315. * src/sndfile.[ch]
  6316. Added stuff for sf_get_lib_version() function.
  6317. 1999-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6318. * src/sndfile.h MacOS/config.h
  6319. Fixed minor MacOS configuration issues.
  6320. 1999-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6321. * MacOS/
  6322. Added a new directory for the MacOS config.h file and the
  6323. readme file.
  6324. * src/aiff.c
  6325. Fixed calculation of datalength when reading SSND chunk. Thanks to
  6326. Sigbjørn Skjæret for pointing out this error.
  6327. 1999-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6328. * src/sndfile.c src/sndfile.h src/raw.c
  6329. Further fixing of #includes for MacOS.
  6330. 1999-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6331. * src/wav.c src/aiff.c
  6332. Added call to ferror () in main header parsing loop of __XXX_open_read
  6333. functions. This should fix problems on platforms (MacOS, AmigaOS) where
  6334. fseek()ing or fread()ing beyond the end of the file puts the FILE*
  6335. stream in an error state until clearerr() is called.
  6336. * tests/write_read_test.c
  6337. Added tests for RAW header-less PCM files.
  6338. * src/common.h
  6339. Moved definition of struct tribyte to pcm.c which is the only place
  6340. which needs it.
  6341. * src/pcm.c
  6342. Modified all code which assumed sizeof (struct tribyte) == 3. This code
  6343. did not work on MacOS. Thanks to Ben "Jacobs" for pointing this out.
  6344. * src/au.c
  6345. Removed <sys/stat.h> from list of #includes (not being used).
  6346. * src/sndfile.c
  6347. Added MacOS specific #ifdef to replace <sys/stat.h>.
  6348. * src/sndfile.h
  6349. Added MacOS specific #ifdef to replace <sys/stat.h>.
  6350. * src/sndfile.h
  6351. Added MacOS specific typedef for off_t.
  6352. * MacOS-readme.txt
  6353. New file with instructions for building libsndfile under MacOS. Thanks
  6354. to Ben "Jacobs" for supplying these instructions.
  6355. 1999-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6356. * configure.in
  6357. Removed sndfile.h from generated file list as there were no longer
  6358. any autoconf substitutions being made.
  6359. * src/raw.c
  6360. New file for handling raw header-less PCM files. In order to open these
  6361. for read, the user must specify format, pcmbitwidth and channels in the
  6362. SF_INFO struct when calling sf_open_read ().
  6363. * src/sndfile.c
  6364. Added support for raw header-less PCM files.
  6365. 1999-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6366. * examples/sfinfo.c
  6367. Removed options so the sfinfo program always prints out all the information.
  6368. 1999-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6369. * src/alaw.c
  6370. New file for A-law encoding (similar to u-law).
  6371. * tests/alaw_test.c
  6372. New test program to test the A-law encode/decode lookup tables.
  6373. * tests/lossy_comp_test.c
  6374. Added tests for a-law encoded WAV, AU and AULE files.
  6375. 1999-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6376. * src/sndfile.c src/au.c
  6377. Removed second "#include <unistd.h>". Thanks to Ben "Jacobs" for pointing
  6378. this out.
  6379. 1999-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6380. * tests/ulaw_test.c
  6381. New test program to test the u-law encode/decode lookup tables.
  6382. 1999-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6383. * src/sndfile.h
  6384. Made corrections to comments on the return values from sf_seek ().
  6385. * src/sndfile.c
  6386. Fixed boundary condition checking bug and accounting bug in sf_read_raw ().
  6387. 1999-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6388. * src/au.c src/ulaw.c
  6389. Finished implementation of u-law encoded AU files.
  6390. * src/wav.c
  6391. Implemented reading and writing of u-law encoded WAV files.
  6392. * tests/
  6393. Changed name of adpcm_test.c to lossy_comp_test.c. This test program
  6394. will now be used to test Ulaw and Alaw encoding as well as APDCM.
  6395. Added tests for Ulaw encoded WAV files.
  6396. 1999-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6397. * tests/adpcm_test.c
  6398. Initialised amp variable in gen_signal() to remove compiler warning.
  6399. 1999-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6400. * src/aiff.c
  6401. In __aiff_open_read () prevented fseek()ing beyond end of file which
  6402. was causing trouble on MacOS with the MetroWerks compiler. Thanks to
  6403. Ben "Jacobs" for pointing this out.
  6404. *src/wav.c
  6405. Fixed as above in __wav_open_read ().
  6406. 1999-07-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6407. * src/wav_ms_adpcm.c
  6408. Implemented MS ADPCM encoding. Code cleanup of decoder.
  6409. * tests/adpcm_test.c
  6410. Added tests for MS ADPCM WAV files.
  6411. * src/wav_ima_adpcm.c
  6412. Fixed incorrect parameter in call to srate2blocksize () from
  6413. __ima_writer_init ().
  6414. 1999-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6415. * tests/read_seek_test.c
  6416. Added test for 8 bit AIFF files.
  6417. 1999-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6418. * tests/write_read_test.c
  6419. Removed test for IMA ADPCM WAV files which is now done in adpcm_test.c
  6420. * configure.in
  6421. Added -Wconversion to CFLAGS.
  6422. * src/*.c tests/*.c examples/*.c
  6423. Fixed all warnings resulting from use of -Wconversion.
  6424. 1999-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6425. * src/wav.c
  6426. Added fact chunk handling on read and write for all non WAVE_FORMAT_PCM
  6427. WAV files.
  6428. * src/wav_ima.c
  6429. Changed block alignment to be dependant on sample rate. This should make
  6430. WAV files created with libsndfile compatible with the MS Windows media
  6431. players.
  6432. * tests/adpcm_test.c
  6433. Reimplemented adpcm_test_short and implemented adpcm_test_int and
  6434. adpcm_test_double.
  6435. Now have full testing of IMA ADPCM WAV file read, write and seek.
  6436. 1999-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6437. * src/wav_float.c
  6438. Fixed function prototype for x86f2d_array () which was causing ocassional
  6439. seg. faults on Sparc Solaris machines.
  6440. 1999-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6441. * src/aiff.c
  6442. Fixed bug in __aiff_close where the length fields in the header were
  6443. not being correctly calculated before writing.
  6444. * tests/write_read_test.c
  6445. Modified to detect the above bug in WAV, AIFF and AU files.
  6446. 1999-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6447. * Win32/*
  6448. Added a contribution from Albert Faber to allow libsndfile to compile
  6449. under Win32 systems. libsndfile will now be used as part of LAME the
  6450. the MPEG 1 Layer 3 encoder (http://internet.roadrunner.com/~mt/mp3/).
  6451. 1999-06-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6452. * configure.in
  6453. Changed to reflect previous changes.
  6454. * src/wav_ima_adpcm.c
  6455. Fixed incorrect calculation of bytespersec header field (IMA ADPCM only).
  6456. Fixed bug when writing from int or double data to IMA ADPCM file. Will need
  6457. to write test code for this.
  6458. Fixed bug in __ima_write () whereby the length of the current block was
  6459. calculated incorrectly. Thanks to Jongcheon Park for pointing this out.
  6460. 1999-03-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6461. * src/*.c
  6462. Changed all read/write/lseek function calls to fread/fwrite/
  6463. fseek/ftell and added error checking of return values from
  6464. fread and fwrite in critical areas of the code.
  6465. * src/au.c
  6466. Fixed incorrect datasize element in AU header on write.
  6467. * tests/error_test.c
  6468. Add new test to check all error values have an associated error
  6469. string. This will avoid embarrassing real world core dumps.
  6470. 1999-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6471. * src/wav.c src/aiff.c
  6472. Added handling for unknown chunk markers in the file.
  6473. 1999-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6474. * src/sndfile.c
  6475. Filled in missing error strings in SndfileErrors array. Missing entries
  6476. can cause core dumps when calling sf_error-str (). Thanks to Sam
  6477. <mrsam at-sign geocities.com> for finding this problem.
  6478. 1999-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6479. * src/wav_ima_adpcm.c
  6480. Work on wav_ms_adpcm.c uncovered a bug in __ima_read () when reading
  6481. stereo files. Caused by not adjusting offset into buffer of decoded
  6482. samples for 2 channels. A similar bug existed in __ima_write ().
  6483. Need a test for stereo ADPCM files.
  6484. * src/wav_ms_adpcm.c
  6485. Decoder working correctly.
  6486. 1999-03-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6487. * configure.in Makefile.am
  6488. Added --enable-justsrc configuration variable sent by Sam
  6489. <mrsam at-sign geocities.com>.
  6490. * src/wav_ima_adpcm.c
  6491. Fixed bug when reading beyond end of data section due to not
  6492. checking pima->blockcount.
  6493. This uncovered __ima_seek () bug due to pima->blockcount being set
  6494. before calling __ima_init_block ().
  6495. 1999-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6496. * src/wav.c
  6497. Started implementing MS ADPCM decoder.
  6498. If file is WAVE_FORMAT_ADPCM and length of data chunk is odd, this
  6499. encoder seems to add an extra byte. Why not just give an even data
  6500. length?
  6501. 1999-03-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6502. * src/wav.c
  6503. Split code out of wav.c to create wav_float.c and wav_ima_adpcm.c.
  6504. This will make it easier to add and debug other kinds of WAV files
  6505. in future.
  6506. 1999-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6507. * tests/
  6508. Added adpcm_test.c which implements test functions for
  6509. IMA ADPCM reading/writing/seeking etc.
  6510. * src/wav.c
  6511. Fixed many bugs in IMA ADPCM encoder and decoder.
  6512. 1999-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6513. * src/wav.c
  6514. Finished implementing IMA ADPCM encoder and decoder (what a bitch!).
  6515. 1999-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6516. * src/wav.c
  6517. Started implementing IMA ADPCM decoder.
  6518. 1999-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6519. * src/sndfile.c
  6520. Fixed bug where the sf_read_XXX functions were returning a
  6521. incorrect read count when reading past end of file.
  6522. Fixed bug in sf_seek () when seeking backwards from end of file.
  6523. * tests/read_seek_test.c
  6524. Added multiple read test to short_test(), int_test () and
  6525. double_test ().
  6526. Added extra chunk to all test WAV files to test that reading
  6527. stops at end of 'data' chunk.
  6528. 1999-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6529. * tests/write_read_test.c
  6530. Added tests for little DEC endian AU files.
  6531. * src/au.c
  6532. Add handling for DEC format little endian AU files.
  6533. 1999-02-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6534. * src/aiff.c src/au.c src/wav.c
  6535. Add __psf_sprintf calls during header parsing.
  6536. * src/sndfile.c src/common.c
  6537. Implement sf_header_info (sndfile.c) function and __psf_sprintf (common.c).
  6538. * tests/write_read_test.c
  6539. Added tests for 8 bit PCM files (WAV, AIFF and AU).
  6540. * src/au.c src/aiff.c
  6541. Add handling of 8 bit PCM data format.
  6542. * src/aiff.c
  6543. On write, set blocksize in SSND chunk to zero like everybody else.
  6544. 1999-02-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6545. * src/pcm.c:
  6546. Fixed bug in let2s_array (cptr was not being initialised).
  6547. * src/sndfile.c:
  6548. Fixed bug in sf_read_raw and sf_write_raw. sf_seek should
  6549. now work when using these functions.
  6550. 1999-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6551. * tests/write_read_test.c:
  6552. Force test_buffer array to be double aligned. Sparc Solaris
  6553. requires this.
  6554. 1999-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6555. * src/pcm.c:
  6556. Fixed a bug which was causing errors in the reading
  6557. and writing of 24 bit PCM files.
  6558. * doc/api.html
  6559. Finished of preliminary documentaion.
  6560. 1999-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  6561. * src/aiff.c:
  6562. Changed reading of 'COMM' chunk to avoid reading an int
  6563. which overlaps an int (4 byte) boundary.