Hi,
I'm Ossama Khayat, an Arab .Net Framework developer.
I'm interested in building an API or COM component, of the speex codec,
that is suitable for use in a Windows Forms application.
This will be used in an Open Source project that will hopefully be
hosted in Source Forge one done.
I tried downloading the source code and compiling it but really couldn't
do much with it, especially that I'm not a C or C++ developer.
The way we do using .Net is as follows:
- If I have a COM component:
- First register is with: regsvr32 speex.dll
- Then add a reference to it in the application and use it.
- If I have the API (again as .dll):
- I use the System.Runtime.Interop services namespace
- Add a reference to it using this code:
--- Begin Code Snip ---
Public Class SpeexDecoder
Public Declare Funtion (FunctionName) Lib "speex.dll" Alias
"DecodeFile" (ByVal strFileName as String) as (return type)
End Class
--- End Code Snip ---
... so this is used to add a reference to the function in the
API that would allow me to decode (as I don't need to encode files) and
play audio files.
Any help would be much appreciated.
Regards,
Ossama Khayat
New Horizons Pro
Kuwait
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to
'speex-dev-request@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.
Christian Buchner
2004-Aug-06 15:01 UTC
[speex-dev] Speex API for use with .Net applications
> I'm Ossama Khayat, an Arab .Net Framework developer. > I'm interested in building an API or COM component, of the speex codec, > that is suitable for use in a Windows Forms application. > This will be used in an Open Source project that will hopefully be > hosted in Source Forge one done.A .NET API might be a useful thing. The way I see it, the only way to do it would be using Managed C++ because you will have to encapsulate a non .NET component into managed code. This can get quite messy. ;) Christian <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Alex Komissarov
2004-Aug-06 15:01 UTC
[speex-dev] Re: Speex API for use with .Net applications
Indeed :) - some preliminary sources at www.alexkomissarov.com/speexnet.zip Shows how to use lib file from managed c++, and vb.net code to call managed c++. Not sure it will work - look at it as a starting point... Best regards, AlexK "Christian Buchner" <Christian.Buchner1@epost.de> wrote in message news:005f01c39d5b$ab2f1480$0200a8c0@AUGUST...> > > I'm Ossama Khayat, an Arab .Net Framework developer. > > I'm interested in building an API or COM component, of the speex codec, > > that is suitable for use in a Windows Forms application. > > This will be used in an Open Source project that will hopefully be > > hosted in Source Forge one done. > > A .NET API might be a useful thing. > > The way I see it, the only way to do it would be using Managed C++ > because you will have to encapsulate a non .NET component into > managed code. This can get quite messy. ;) > > Christian > > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > Ogg project homepage: http://www.xiph.org/ogg/ > To unsubscribe from this list, send a message to'speex-dev-request@xiph.org'> containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered. ><p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.