23 Aug '14 - 18:19 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: 1 2 [3] 4 5 ... 14
  Reply  |  Print  
Author Topic: BASS for WinCE  (Read 142120 times)
radio42
Posts: 4192


« Reply #40 on: 6 Apr '09 - 09:35 »
Reply with quoteQuote

The "System.NotSupportedException" will typically appear, if you are trying to call a method which is not fully CE compliant - as there are a couple of more restrictions under CE/CF 2.0.

I'll try your code later today, to see, if this is a BASS.NET CE issue or something else.
However, which function call exactly raises the exception?
Is it the BASS_StreamCreateURL call, BASS_ChannelPlay...?
Logged
auroralview
Guest
« Reply #41 on: 6 Apr '09 - 10:06 »
Reply with quoteQuote

it is Exatly the BASS_StreamCreateURL call. I am looking forward to seeing the result of the your trial.
Thanks
Logged
radio42
Posts: 4192


« Reply #42 on: 6 Apr '09 - 18:04 »
Reply with quoteQuote

Here comes the new BASS.NET CE version (for the .Net CompactFramework 2.0):
v2.4.0.4:
www.un4seen.com/filez/4/Bass24.Net_compact.zip

It should now fix the BASS_StreamCreateURL issue.
Let me know what you find...
Logged
auroralview
Guest
« Reply #43 on: 6 Apr '09 - 18:26 »
Reply with quoteQuote

Thanks I am going to try and let you know
Logged
auroralview
Guest
« Reply #44 on: 6 Apr '09 - 18:41 »
Reply with quoteQuote

By the way,

Do you develop Bass.Misc.Waveform class support for the BASS for CE in near future?

I have checked the example applications in the package sent me by the ian, but it is written in C++. I have been using C#.NET for the development and in the examples, drawing a waveform is very very hard to implement and i can not find the necessary methods for Compact Framework (C#)...

Do you have a plan to release this class to public usage? if yes, when?
« Last Edit: 17 Apr '09 - 19:47 by auroralview » Logged
radio42
Posts: 4192


« Reply #45 on: 6 Apr '09 - 19:57 »
Reply with quoteQuote

Yes, I had the same problem, that I can't use the WaveForm class right away as too many methods I am using are missing in the Compact Framework resp. are restricted by CE.
So I'll see what I can do - but can not promise anything.
Logged
smeesseman
Posts: 6


« Reply #46 on: 7 Apr '09 - 05:09 »
Reply with quoteQuote

Nice work on this!!
Logged
auroralview
Guest
« Reply #47 on: 7 Apr '09 - 07:36 »
Reply with quoteQuote

StreamCreateURL is now working percect. Thanks Smiley))
Logged
Andre
Guest
« Reply #48 on: 8 Apr '09 - 06:09 »
Reply with quoteQuote

Hi,

can anyone send me the bass.dll for WinCE devices, please?
I use the Bass.dll for Win32 and think it is a good library for playing music :-)

Thanks
Logged
Andre
Guest
« Reply #49 on: 8 Apr '09 - 11:07 »
Reply with quoteQuote

i forgot my email-Address  Undecided
Please anyone send me the Bass.dll for WinCE :-)
andrepietsch@gmx.de
Logged
SuperNoobwithNoobonTop
Guest
« Reply #50 on: 13 Apr '09 - 21:58 »
Reply with quoteQuote

My I receive this bass.dll file as well.

Thanks

Logged
Fazlo
Guest
« Reply #51 on: 14 Apr '09 - 11:35 »
Reply with quoteQuote

Hi,

Could I have the bass.dll for winCE file too...

fadl@eim.ae

Thanks...
Logged
SuperNoobwithNoobonTop
Guest
« Reply #52 on: 14 Apr '09 - 15:42 »
Reply with quoteQuote

And I forgot my email address with my last request:
DocofEvil@gmail.com
Logged
auroralview
Guest
« Reply #53 on: 17 Apr '09 - 19:52 »
Reply with quoteQuote

Can we use the "Bass.Misc.Waveform" class the BASS for Win-CE.
it is a good visualization ability but it is still not supported for BASS-CE. is it possible to adapt this class from BASS to BASS-CE?
i have checked the example program supplied by the Bass-CE package but it is written in C++.

Do you have a plan to release the new version of BASS-CE in these days ?
i am looking forward to checking it Smiley))
THanks...
Logged
radio42
Posts: 4192


« Reply #54 on: 17 Apr '09 - 22:01 »
Reply with quoteQuote

As already written - it is a bit tricky to convert the WaveForm to CE, as it today uses various .Net methods which are simply not supported by the .Net CF v2.0.
So for today this would mean a total redesign - and I don't know if this is possible.
But as already said - I'll look into it...but this might take some time...not days...more weeks ;-)
Logged
SuperNoob
Guest
« Reply #55 on: 20 Apr '09 - 13:35 »
Reply with quoteQuote

Getting the "System.NotSupportedException" when trying to record with this code:

       
public void Record()
        {
            myRecordProc = new RECORDPROC(MyRecording);
            stream = Bass.BASS_RecordStart(44100, 1,   // This call throws the error
                BASSFlag.BASS_RECORD_PAUSE, myRecordProc, IntPtr.Zero );

I am using the bass.dll sent to me as well as the 2.4.0.4 Bass.Net.compact.dll posted a week ago
Basically, I am trying to get this code http://nyxtom.vox.com/library/post/voice-chat-in-c.html working on windows mobile 6

Thanks,
Mike
Logged
radio42
Posts: 4192


« Reply #56 on: 20 Apr '09 - 16:18 »
Reply with quoteQuote

Here comes the new BASS.NET CE version (for the .Net CompactFramework 2.0):
v2.4.0.5:
www.un4seen.com/filez/4/Bass24.Net_compact.zip

It should now fix the BASS_RecordStart issue.
Please note, that I needed to change the RECORDPROC signature for CE in order to work properly!
It is now defined as:
public delegate int RECORDPROC(int handle, IntPtr buffer, int length, IntPtr user)
So you need to return either Bass.TRUE or Bass.FALSE instead of a bool value!

Let me know what you find...
Logged
rage2001
Posts: 1


« Reply #57 on: 20 Apr '09 - 23:25 »
Reply with quoteQuote

Hia

I will use the bass.dll for WinCE with Freepascal for WinCE, can you send me the DLL?.
Thanks and sorry for my bad english.

cu rage

rage@geitei.de
Logged
houndeyex
Posts: 5


« Reply #58 on: 24 Apr '09 - 06:15 »
Reply with quoteQuote

Hello,

I'd like to use the WinCE DLL with .NET on an HTC Fuze for MP3 streaming if I could get a copy of it please. I've registered for the BASS.NET beta and have my key ready.

I may be mistaken in thinking that you have to use the WinCE DLL and the .NET DLL in combination. Sorry if that's wrong, it's a little unclear from some of the other posts. All I need is functionality in .NET for Windows Mobile 5/6.

Thanks!
-James
houndeyex@gmail.com
« Last Edit: 24 Apr '09 - 06:19 by houndeyex » Logged
houndeyex
Posts: 5


« Reply #59 on: 25 Apr '09 - 17:46 »
Reply with quoteQuote

I'm having issues with BASS_StreamCreateURL. Mostly, I'm getting an error code 40 (Timeout Error). This happens both in my own applications and in netradio. I'm using C# and BASS.NET Compact with the WinCE BASS.dll.

    int mStream;
    string mURL = "[a valid, working url]";

    public frmMain()
    {
        InitializeComponent();
        BassNet.Registration("valid email", "my reg code");

        // init BASS using the default output device
        if (Bass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_DEFAULT, IntPtr.Zero))
        {
            // create a stream channel from a file
            mStream = Bass.BASS_StreamCreateURL(mURL, 0, BASSFlag.BASS_DEFAULT, null, IntPtr.Zero);
            BASS_TAG_ID3 tag = new BASS_TAG_ID3();

            if (mStream != 0)
            {
                // play the stream channel
                Bass.BASS_ChannelPlay(mStream, false);
            }
            else
            {
                // error creating the stream
                BASSError error = Bass.BASS_ErrorGetCode();
                Console.WriteLine("Stream error: {0}", Bass.BASS_ErrorGetCode());
                MessageBox.Show("ERROR!\n" + error.ToString());
            }
        }
        else
        {
            MessageBox.Show("NO INIT");
        }
    }

Files off the local device are working great, but I have no luck with web streams. I've tried connections via ActiveSync, Wi-Fi, 3G... none of which are working on two different phones. Both phones are Windows Mobile 6 Professional on the AT&T network. Does anyone have any ideas about what is going on?
Logged
Pages: 1 2 [3] 4 5 ... 14
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.19 | SMF © 2013, Simple Machines