### Author Topic: BASS_AAC beta is released  (Read 117157 times)

#### John

• Guest
##### Re:BASS_AAC beta is released
« Reply #25 on: 24 Oct '04 - 16:39 »

it's this one that creates the error
SS_XXX_StreamCreateFile(PChar('C:file'), 0);

#### John

• Guest
##### Re:BASS_AAC beta is released
« Reply #26 on: 24 Oct '04 - 16:41 »
Delphi 7 Enterprise

• Posts: 372
##### Re:BASS_AAC beta is released
« Reply #27 on: 24 Oct '04 - 16:55 »
I can send you my modified version of BassTest. Just give me your e-mail address.

#### Irrational86

• Posts: 960
##### Re:BASS_AAC beta released
« Reply #28 on: 24 Oct '04 - 18:18 »
John, try this,

procedure TForm1.Button1Click(Sender: TObject);
song: string;
begin
song := 'c:\song.m4a';
Channel := BASS_MP4_StreamCreateFile(PChar(song + #0), 0);
BASS_StreamPlay(Channel, False, 0);
end;

(Add the "+ #0" part inside the PChar parenthesis)

#### John

• Guest
##### Re:BASS_AAC beta is released
« Reply #29 on: 24 Oct '04 - 19:09 »
I would be cool if you could send me a mail at w00t@ofir.dk

@ XMinioNX
Same error

I will get an error like below if I add this code to my project BASS_XXX_StreamCreateFile(PChar('C:file'), 0); //XXX = ape, mpc aac
the program compiles without problems, but when the program is compiled i get the error

basswma and bassflac work without problems.

Picture of the error
http://s7.yousendit.com/d.aspx?id=12080848B34091821E317E40954EE32F

• Posts: 372
##### Re:BASS_AAC beta is released
« Reply #30 on: 24 Oct '04 - 19:22 »
OK, I have e-mailed you the modified BassTest, John. Check your inbox as soon as possible.

#### John

• Guest
##### Re:BASS_AAC beta is released
« Reply #31 on: 24 Oct '04 - 19:31 »
I can see that you got it too work
but I get the same error then trying to compile it

So I guess the problem is at my computer.
the weired thing is that bassflac and basswma work fine.

• Posts: 372
##### Re:BASS_AAC beta is released
« Reply #32 on: 24 Oct '04 - 19:35 »
I can see that you got it too work
but I get the same error then trying to compile it

So I guess the problem is at my computer.
the weired thing is that bassflac and basswma work fine.

What exactly is the error saying?

#### John

• Guest
##### Re:BASS_AAC beta is released
« Reply #33 on: 24 Oct '04 - 19:37 »
I took a screen-shot
http://s7.yousendit.com/d.aspx?id=12080848B34091821E317E40954EE32F

• Posts: 372
##### Re:BASS_AAC beta is released
« Reply #34 on: 24 Oct '04 - 19:42 »
No, I meant the compiler error...

#### John

• Guest
##### Re:BASS_AAC beta is released
« Reply #35 on: 24 Oct '04 - 19:47 »
that's the thing, the program compiles without any problems.

but after the program have compiled the program normally starts up so you can see your program. but mine make that error on the picture instead.

if you understand what I mean?

so there is no compile error only the thing on the picture.

#### Sebastian_Mares

• Guest
##### Re:BASS_AAC beta is released
« Reply #36 on: 24 Oct '04 - 19:50 »
Do you have any information regarding the call stack?

#### John

• Guest
##### Re:BASS_AAC beta is released
« Reply #37 on: 24 Oct '04 - 19:52 »
Do you have any information regarding the call stack?

I don't know what a call stack is

• Posts: 372
##### Re:BASS_AAC beta is released
« Reply #38 on: 24 Oct '04 - 19:54 »
Oh, yes. I got it now.

I have sent you a debug version to find out what's going on at your side.

#### john

• Guest
##### Re:BASS_AAC beta is released
« Reply #39 on: 25 Oct '04 - 17:05 »
sorry for the late reply, I got both your mails. I have been at work and haven't had a chance to test it before now.

It does NOT crash with the debug version of bass_aac.dll?? it works perfectly
it will crash again if I replace it with the original and try to compile it

what's so special about the one i got from you, the only thing I can see is that the file size is 250k bigger

• Posts: 372
##### Re:BASS_AAC beta is released
« Reply #40 on: 25 Oct '04 - 17:10 »
sorry for the late reply, I got both your mails. I have been at work and haven't had a chance to test it before now.

It does NOT crash with the debug version of bass_aac.dll?? it works perfectly
it will crash again if I replace it with the original and try to compile it

what's so special about the one i got from you, the only thing I can see is that the file size is 250k bigger

That is very weird. Could you give me a description of your computer? I am mainly interested in the hardware you got plugged in and the OS.

#### john

• Guest
##### Re:BASS_AAC beta is released
« Reply #41 on: 25 Oct '04 - 17:19 »
sure, I'm using a old PC at the moment.

amd 500MHz
128mb ram (sd ram)
winXP (without SP1 or SP2)

but here's the thing:
I can't compile my app with the original dll.

but I can use the original dll IF i compile my application with the debug version of bass_aac.dll and after it's compiled I can replace the debug version with the original dll and it works.

both the original and the debug version work as long as I compile my application with the debug dll.

can you send me a debug version of all your add-ons ?

is that weired or what

• Posts: 372
##### Re:BASS_AAC beta is released
« Reply #42 on: 25 Oct '04 - 18:23 »
I have sent you a letter, John.

#### John

• Guest
##### Re:BASS_AAC beta is released
« Reply #43 on: 26 Oct '04 - 08:00 »
didn't receive anything my inbox was full..
can you sent it again

• Posts: 372
##### Re:BASS_AAC beta is released
« Reply #44 on: 26 Oct '04 - 10:27 »
didn't receive anything my inbox was full..
can you sent it again

OK

• Posts: 372
##### Re:BASS_AAC beta is released
« Reply #45 on: 26 Oct '04 - 10:39 »
An update has been made to BASS_AAC.

1.0 (beta) - 25/10/2004
-----------------------
* Removed some unnecessary code

#### John

• Guest
##### Re:BASS_AAC beta is released
« Reply #46 on: 26 Oct '04 - 17:20 »

• Posts: 372
##### Re:BASS_AAC beta is released
« Reply #47 on: 26 Oct '04 - 17:26 »

#### Phil

• Guest
##### Re:BASS_AAC beta is released
« Reply #48 on: 27 Oct '04 - 19:54 »
Is this a bug??

channel := BASS_aac_StreamCreateFile(PChar('c:\SomeTextFileThatShouldMakeChannel0.txt'), 0);

it returns 2952790281 or something like that.. shouldn't it return 0 since *.txt files isn't supported?? does the same with .jpg, exe etc.
only m4v files return 0?

• Posts: 372
##### Re:BASS_AAC beta is released
« Reply #49 on: 28 Oct '04 - 10:32 »
Is this a bug??

channel := BASS_aac_StreamCreateFile(PChar('c:\SomeTextFileThatShouldMakeChannel0.txt'), 0);

it returns 2952790281 or something like that.. shouldn't it return 0 since *.txt files isn't supported?? does the same with .jpg, exe etc.
only m4v files return 0?

No, not really. I have updated BASS_AAC to do some extension checking before it creates the stream. As I said before, for MP4, M4A and M4V files, you should use BASS_MP4_StreamCreateFile to create the stream.