darko8 / newac Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/newac
License: Other
Automatically exported from code.google.com/p/newac
License: Other
What steps will reproduce the problem?
1. Try to install the package in Delphi 7
What is the expected output? What do you see instead?
The package gets installed. An sintax error on mr_cddc.pas, line 623, in a "for
in" code.
What version of the product are you using? On what operating system?
r1263. Windows XP.
Please provide any additional information below.
This single line prevents the install of the package on Delphi 7. Changing this
to the good-old "for to" makes it compile and install again.
Here's a patch.
-------------------------------------
Index: mr_cddb.pas
===================================================================
--- mr_cddb.pas (revision 1263)
+++ mr_cddb.pas (working copy)
@@ -600,6 +600,7 @@
CutBuffer: TStringList;
posDelim: Integer;
strEnum: string;
+ f:integer;
begin
result := 'windows-1252';
CutBuffer := TStringList.create;
@@ -620,13 +621,17 @@
end;
end;
// look for a line with charset
- for strEnum in CutBuffer do
+ for f := 0 to CutBuffer.Count - 1 do
+ begin
+ StrEnum := CutBuffer[F];
+
if (Pos(c_charset, strEnum) > 0) then
begin
Result := Copy(strEnum,
Pos('=', strEnum) + 1,
Length(strEnum));
end;
+ end;
finally
FreeAndNil(CutBuffer);
end;
Original issue reported on code.google.com by [email protected]
on 14 Mar 2014 at 10:19
Hi,
First of all thank you for great components. I'm trying to play 32bit wave file
using your component. It fails with following exception
"First chance exception at $7C812FD3. Exception class EAuException with message
'Failed to create DirectSound buffer88780032'. Process Project2.exe (3516)"
How could it be overcome? Thanks in advance.
Original issue reported on code.google.com by max.nedelchev
on 21 Nov 2014 at 2:18
Attachments:
if you open a file several times, without destroying the component, for example
here:
var
MP3In: TMP3In;
TotalSamples1, TotalSamples2: Cardinal;
begin
MP3In := TMP3In.Create(nil);
MP3In.FileName := FileName1;
TotalSamples1 := MP3In.TotalSamples;
MP3In.FileName := FileName2;
TotalSamples2 := MP3In.TotalSamples;
MP3In.Free;
end;
---------------------------
Unexpected Memory Leak
---------------------------
An unexpected memory leak has occurred. The unexpected small block leaks are:
21 - 28 bytes: TAudioStream x 1
---------------------------
ОК
---------------------------
problem in unit libwma1.pas
procedure lwma_reader_free(var sync_reader : wma_sync_reader);
begin
sync_reader.reader.Close;
if sync_reader.buffer <> nil then
sync_reader.buffer := nil;
sync_reader.reader := nil;
sync_reader.HeaderInfo := nil;
sync_reader.AudioStream := nil; <=======
sync_reader.AudioStream.Free; <=======
sync_reader.AudioStream := nil; <=======
end;
Original issue reported on code.google.com by [email protected]
on 16 Dec 2014 at 9:37
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.