Ooops
February 19, 2020, 02:09:06 AM

Author Topic: (resolved) Sound problem (Win 10)  (Read 876 times)

Offline bplus

  • Jr. Member
  • **
  • Posts: 73
  • Beauty is a light in the heart.
(resolved) Sound problem (Win 10)
« on: November 04, 2019, 07:48:54 PM »
Hi Chris,

I am checking through old code and notice none of the sound works, neither SOUND nor PLAY, neither version 12.3 nor 12.4

Did Windows 10 update it out of existence?
Code: [Select]
REM SmallBASIC
REM created: 04/11/2019, Sound Check

sound 500, 10000 '10 secs?
? "Done"
Execution jumps straight to printing done and Run is done.

Offline bplus

  • Jr. Member
  • **
  • Posts: 73
  • Beauty is a light in the heart.
(resolved) Re: Sound problem (Win 10)
« Reply #1 on: November 05, 2019, 12:11:52 AM »
Ohhhhh! man when was the Audio On /Off switch installed? :-[

or how did it get switched off?

So the problem was the user!  :))

Offline chrisws

  • Jr. Member
  • **
  • Posts: 22
Re: (resolved) Re: Sound problem (Win 10)
« Reply #2 on: November 05, 2019, 09:28:12 PM »
Ohhhhh! man when was the Audio On /Off switch installed? :-[

or how did it get switched off?

So the problem was the user!  :))

That reminds me, I never got to the bottom of why the sound didn't play in newer versions of SDL in windows.


Offline bplus

  • Jr. Member
  • **
  • Posts: 73
  • Beauty is a light in the heart.
Re: (resolved) Sound problem (Win 10)
« Reply #3 on: November 05, 2019, 09:57:45 PM »
Quote
That reminds me, I never got to the bottom of why the sound didn't play in newer versions of SDL in windows.
Is that the reason for the switch back to FLTK?

(I was hoping you might return back to that editor too.) ;-)) (but I am guessing you want current editor for Android, besides plenty of nice editors out there...)

BTW, how is that (the switch back) coming?



Offline chrisws

  • Jr. Member
  • **
  • Posts: 22
Re: (resolved) Sound problem (Win 10)
« Reply #4 on: November 06, 2019, 08:37:44 PM »
Quote
That reminds me, I never got to the bottom of why the sound didn't play in newer versions of SDL in windows.
Is that the reason for the switch back to FLTK?

(I was hoping you might return back to that editor too.) ;-)) (but I am guessing you want current editor for Android, besides plenty of nice editors out there...)

BTW, how is that (the switch back) coming?

I was working on the FLTK remake like a crazy person, then decided to take a break. I guess I should just release something then you can tell me where the remaining bugs are :)



Offline bplus

  • Jr. Member
  • **
  • Posts: 73
  • Beauty is a light in the heart.
Re: (resolved) Sound problem (Win 10)
« Reply #5 on: November 06, 2019, 08:51:12 PM »
Quote
That reminds me, I never got to the bottom of why the sound didn't play in newer versions of SDL in windows.
Is that the reason for the switch back to FLTK?

(I was hoping you might return back to that editor too.) ;-)) (but I am guessing you want current editor for Android, besides plenty of nice editors out there...)

BTW, how is that (the switch back) coming?

I was working on the FLTK remake like a crazy person, then decided to take a break. I guess I should just release something then you can tell me where the remaining bugs are :)




Sure I can check old code in Windows, maybe Johnno for Linux?

And some brave soul might have Android, I wonder how a newbie to SB would handle that?

Is there anything new or just check old functioning? Hey, might HTML be back?

Offline Aurel

  • Jr. Member
  • **
  • Posts: 63
Re: (resolved) Sound problem (Win 10)
« Reply #6 on: November 13, 2019, 10:01:56 PM »
chris
i know and understand ..you wish to create multiplform basic lang
but what about using native GDI graphics on windows version?

Offline chrisws

  • Jr. Member
  • **
  • Posts: 22
Re: (resolved) Sound problem (Win 10)
« Reply #7 on: November 15, 2019, 10:01:08 PM »
chris
i know and understand ..you wish to create multiplform basic lang
but what about using native GDI graphics on windows version?

That would actually be possible without too much effort. The internal drawing code is based around "Dependency Inversion", where the drawing API used is just an simple interface. The interface is currently implemented with SDL for the desktop and Android NDK Api's for Android (the remake of the FLTK version also does the same thing). The only thing is, it would end up looking just the same, but the performance could potentially be improved.

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal