Author Topic: Record in AAC with .NET  (Read 125 times)

Dev01

  • Posts: 41
Record in AAC with .NET
« on: 18 Oct '21 - 13:35 »
Good morning to all.
I'm stuck in record in .AAC with .NET

I've managed to perform it in VB6 but in .NET with radio42 it seems that there's no such function.
There are some BASS_AAC_StreamCreateFile*
              but no BASS_Encode_AAC_StartFile

Is there something m I missing?
Thank you in advance.

Chris

  • Posts: 1989
Re: Record in AAC with .NET
« Reply #1 on: 18 Oct '21 - 14:14 »
http://www.un4seen.com/forum/?topic=18609.msg130454#msg130454
but I`m not shure if that still exists in the Bass.Net stuff.

Dev01

  • Posts: 41
Re: Record in AAC with .NET
« Reply #2 on: 18 Oct '21 - 15:05 »
I ended up porting VB6 methods in .NET
I'm still not sure if it's a good deal but it works.

[DllImport("bassenc_aac.dll")]
static extern int BASS_Encode_AAC_StartFile(int handle, string cmdline, BASSEncode flags, string fileName);

mEncoderHandle = BASS_Encode_AAC_StartFile(handle, cmdline, flags, destFile);

Thanks. 

radio42

  • Posts: 4728
Re: Record in AAC with .NET
« Reply #3 on: 18 Oct '21 - 19:20 »
Yes, the bassenc_aac stuff is currently missing in Bass.Net - this needs to be added!