19 May '13 - 23:00 *
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 6 ... 14
  Reply  |  Print  
Author Topic: BASS for WinCE  (Read 94609 times)
auroralview
Guest
« Reply #60 on: 25 Apr '09 - 18:21 »
Reply with quoteQuote

hello,
please try using  BASSFlag.BASS_UNICODE flag with  calling BASS_StreamCreateURL method.
it should work with this flag, if you have the correct bass ce dll.

Using bass ce dll is a little bit different from the bass.net dll.
As the WinCE APIs exclusively use Unicode strings, all the streams in Bass CE are unicode and as far as i know bass ce doest not support floating point streams due to lacking of poor floating performance of winCE devices..

good luck
« Last Edit: 25 Apr '09 - 18:40 by auroralview » Logged
houndeyex
Posts: 5


« Reply #61 on: 25 Apr '09 - 22:01 »
Reply with quoteQuote

hello,
please try using  BASSFlag.BASS_UNICODE flag with  calling BASS_StreamCreateURL method.
it should work with this flag, if you have the correct bass ce dll.

Using bass ce dll is a little bit different from the bass.net dll.
As the WinCE APIs exclusively use Unicode strings, all the streams in Bass CE are unicode and as far as i know bass ce doest not support floating point streams due to lacking of poor floating performance of winCE devices..

good luck

I tried this on my device with no luck. However, after much struggle to get an internet connection on the Windows Mobile 6 Standard emulator I ran the program on it. It works fine on there, regardless of the UNICODE flag. Netradio works great on the emulator as well.

Any other ideas? I'm lost on this, and I'm hoping it's not my phone. Could something be blocking network access by the program on the phone? I've never had other troubles with network applications I've written.

One more thing... should I be calling the method with both DEFAULT and UNICODE flags, like this?

mStream = Bass.BASS_StreamCreateURL(mURL, 0, BASSFlag.BASS_DEFAULT | BASSFlag.BASS_UNICODE, null, IntPtr.Zero);
« Last Edit: 25 Apr '09 - 22:04 by houndeyex » Logged
auroralview
Guest
« Reply #62 on: 26 Apr '09 - 18:30 »
Reply with quoteQuote

Yes you should call the BASS_StreamCreateURL like what you have written. it has to be included BASS_Unicode flag.

With this flag if you have not manged to run the program, you must have a proxy configuration on your windows mobile device.
you have to configure it correctly or disable it. I have faced with the same problem and after just configuring my proxy settings correctly, it has worked fine on both my WM6 devices and emulator.

One another option is disabling the internet security and anti-virus programs temporarily.

But under normal conditions, with including BASS_UNICODE flag in your StreamCreateURL method and well configured proxy, the bassCE works fine.

« Last Edit: 26 Apr '09 - 20:02 by auroralview » Logged
houndeyex
Posts: 5


« Reply #63 on: 27 Apr '09 - 07:33 »
Reply with quoteQuote

Yes you should call the BASS_StreamCreateURL like what you have written. it has to be included BASS_Unicode flag.

With this flag if you have not manged to run the program, you must have a proxy configuration on your windows mobile device.
you have to configure it correctly or disable it. I have faced with the same problem and after just configuring my proxy settings correctly, it has worked fine on both my WM6 devices and emulator.

One another option is disabling the internet security and anti-virus programs temporarily.

But under normal conditions, with including BASS_UNICODE flag in your StreamCreateURL method and well configured proxy, the bassCE works fine.

I checked my device for any proxy settings and found none. Every Windows Mobile 6 device I've tried (besides the emulators) has had the same problem. On GPRS connections, netradio will actually sometimes say "HTTP/1.1 200 OK" and then throw the timeout error after that. Is there any way I can dig deeper into what is going on and find at what exact point it times out?

Any other suggestions for the traffic getting blocked? Any other settings I should look at?
Logged
houndeyex
Posts: 5


« Reply #64 on: 27 Apr '09 - 08:54 »
Reply with quoteQuote

Yes you should call the BASS_StreamCreateURL like what you have written. it has to be included BASS_Unicode flag.

With this flag if you have not manged to run the program, you must have a proxy configuration on your windows mobile device.
you have to configure it correctly or disable it. I have faced with the same problem and after just configuring my proxy settings correctly, it has worked fine on both my WM6 devices and emulator.

One another option is disabling the internet security and anti-virus programs temporarily.

But under normal conditions, with including BASS_UNICODE flag in your StreamCreateURL method and well configured proxy, the bassCE works fine.

I checked my device for any proxy settings and found none. Every Windows Mobile 6 device I've tried (besides the emulators) has had the same problem. On GPRS connections, netradio will actually sometimes say "HTTP/1.1 200 OK" and then throw the timeout error after that. Is there any way I can dig deeper into what is going on and find at what exact point it times out?

Any other suggestions for the traffic getting blocked? Any other settings I should look at?

Okay, I actually just figured out the issue. Apparently AT&T puts a hidden proxy on their phones, which has to be disabled through some hacks. It affects WiFi connections and everything. There's some CAB files that will disable/restore this setting for you. What a pain. Thanks for pointing me in the right direction auroral.

http://forum.xda-developers.com/showpost.php?p=2441221&postcount=24
Logged
radio42
Posts: 4012


« Reply #65 on: 27 Apr '09 - 09:16 »
Reply with quoteQuote

There is NO need for the UNICODE flag with BASS.NET - as BASS.NET adds that automatically anyhow internally ;-)
Beside that Win CE is internally ALWAYS unicode - as BASS.NET is.
Logged
auroralview
Guest
« Reply #66 on: 27 Apr '09 - 14:07 »
Reply with quoteQuote

houndeyex, you are well come. as i said before, i have faced that problem many many times Smiley)) If you can not connect the url, there may be a proxy server problem Smiley))

Dear radio42,

When i first receive the bass CE dll file from Ian, He has warned me about this BASS_UNICODE flag issue, so then i always include this flag whenever i call StreamCreateURL method in BASS CE.

but for the BASS.NET, i agree with you. there is no need to use this flag. it works ok without this flag:))
thanks...
« Last Edit: 27 Apr '09 - 14:22 by auroralview » Logged
auroralview
Guest
« Reply #67 on: 27 Apr '09 - 14:09 »
Reply with quoteQuote

By the way,

we are looking forward to seeing further improved and enhanced version of the lovely BASS_CE Wink

Thanks for everything.. Smiley)
Logged
charmander
Posts: 3


« Reply #68 on: 29 Apr '09 - 02:51 »
Reply with quoteQuote

Hi, i want bass.dll for trying to.

carreragt@windowslive.com

Thanks
Logged
fogologo
Posts: 2


« Reply #69 on: 4 May '09 - 17:53 »
Reply with quoteQuote

hi
i would like to try the bass.dll for WinCe.
Logged
fogologo
Posts: 2


« Reply #70 on: 4 May '09 - 17:54 »
Reply with quoteQuote

sorry forgot to write my email.... Undecided
fogoland@inter.net.il
Logged
cloudraven
Guest
« Reply #71 on: 5 May '09 - 03:36 »
Reply with quoteQuote

This looks pretty cool. I want to try it too!
eacuervo AT gmail

Thanks!
Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #72 on: 5 May '09 - 17:16 »
Reply with quoteQuote

The WinCE stuff is now available in the first post.
Logged
radio42
Posts: 4012


« Reply #73 on: 6 May '09 - 12:39 »
Reply with quoteQuote

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

It now also supports the BASSWV add-on as well as the WaveForm class.
However, WaveForm rendering seems to be quite slow  - at least on my Device Emulator it took over 1 minute to render a 5 minute MP3.
Let me know what you find...
Logged
charmander
Posts: 3


« Reply #74 on: 20 May '09 - 04:46 »
Reply with quoteQuote

Hi,

I have a problem about Bass.BASS_ChannelSetPosition,

when i set the little time, like 95.242 second, it is working perfectly, but, when i change the position the larger value, like 5470,174 (second, not milisecond), it wont be start the correct place. after that, Bass.BASS_ChannelGetPosition is getting correct time, but, sound is not on the correct place. 

Thank you.
Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #75 on: 20 May '09 - 15:07 »
Reply with quoteQuote

Does the problem only affect the WinCE version, or does it happen with the Win32 version too? Is the position a long way off, and does it only affect a particular file/format? In any case, please upload a troublesome file to reproduce the problem with...

   ftp.un4seen.com/incoming/
Logged
charmander
Posts: 3


« Reply #76 on: 21 May '09 - 00:16 »
Reply with quoteQuote

Does the problem only affect the WinCE version, or does it happen with the Win32 version too? Is the position a long way off, and does it only affect a particular file/format? In any case, please upload a troublesome file to reproduce the problem with...

   ftp.un4seen.com/incoming/

Hi again,

file format is mp3, and it happens win32 too (i tried)? and it is not happening one file, it happening all of big files. (mp3 lengths are about 2 hour).

when we look the problem deeper....,

when we set the time to 5300, it is sets to around 5100-5200 second, but channel_getposition is continue to get true position.
Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #77 on: 21 May '09 - 15:00 »
Reply with quoteQuote

That sounds like the MP3 files could be VBR; please look for "Xing" near the start to confirm. That would explain the seeking inaccuracy. The "Xing" VBR header includes a seek-table, but it only has 100 entries (0-99%), which are 8-bit so also only accurate to within 1/256th of the file size. Therefore, the larger the file, the less accurate seeking will generally be. The BASS_STREAM_PRESCAN flag can be used to have BASS pre-scan the file for exact seek points, but that could be quite slow on a large file.

If the files are not VBR, please upload one of them to have a look at.
« Last Edit: 22 May '09 - 16:16 by Ian @ un4seen » Logged
stone977a
Posts: 1


« Reply #78 on: 2 Jun '09 - 08:26 »
Reply with quoteQuote

Hi,

I'm testing bass dll on Win CE 5.0 platform and I saw that current bass.dll is built for ARM processors.
Is it possible to get bass.dll for MIPSII?

Thanks,

Tone
Logged
phete
Posts: 3


« Reply #79 on: 1 Jul '09 - 09:47 »
Reply with quoteQuote

Any plans on implementing the BASS_StreamCreateFileUser? Smiley throwing NotSupportedEx

Though, I don't even know if thats the correct method I should use.
I'm receiving a stream (read: byte[], in chunks) from a streaming service in .ogg vorbis q5-format and I need to get it played back on my device.

Possible? Smiley
« Last Edit: 1 Jul '09 - 20:14 by phete » Logged
Pages: 1 2 3 [4] 5 6 ... 14
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines