https://linen.dev logo
Join Discord
Powered by
# lime
  • a

    able-action-74275

    05/10/2023, 8:22 PM
    web target has even less cool features 🥲
  • r

    rich-horse-51130

    05/10/2023, 8:23 PM
    im on cpp target, which i think is about the same as native
  • r

    rich-horse-51130

    05/10/2023, 8:24 PM
    ok so good news i found out where __source is being set

    https://cdn.discordapp.com/attachments/769686258049351722/1105953423574171728/764779120ff25b2f5f1999fbe2778042.pngâ–¾

  • r

    rich-horse-51130

    05/10/2023, 8:24 PM
    bad news is now it makes even less sense for it to be null
  • a

    able-action-74275

    05/10/2023, 8:24 PM
    yeah that will be on OpenAL (or mojo al but lets not go there)
  • r

    rich-horse-51130

    05/10/2023, 8:24 PM
    because that would mean the source input is null
  • a

    able-action-74275

    05/10/2023, 8:24 PM
    flixel maybe doing something funny
  • r

    rich-horse-51130

    05/10/2023, 8:24 PM
    which would mean the BUFFER is null
  • r

    rich-horse-51130

    05/10/2023, 8:25 PM
    hold on let me try to simulate the crash again on hxcpp
  • r

    rich-horse-51130

    05/10/2023, 8:25 PM
    since i use the hxcpp debugger which shows me which variables are actually null
  • a

    able-action-74275

    05/10/2023, 8:25 PM
    or is that flixel?
  • r

    rich-horse-51130

    05/10/2023, 8:25 PM
    the flxsound surely isnt
  • r

    rich-horse-51130

    05/10/2023, 8:25 PM
    flixel backend, aka openfl
  • r

    rich-horse-51130

    05/10/2023, 8:26 PM
    flixel is based on openfl lime opengl and all that shizzle
  • r

    rich-horse-51130

    05/10/2023, 8:26 PM
    its more just a wrapper for all the fancy stuff you can do with those to be fair
  • a

    able-action-74275

    05/10/2023, 8:26 PM
    yeah I just meant is that code from flixel source or lime?
  • r

    rich-horse-51130

    05/10/2023, 8:26 PM
    lime/openfl
  • r

    rich-horse-51130

    05/10/2023, 8:26 PM
    flxsound only utilizes all the lime sound stuff
  • a

    able-action-74275

    05/10/2023, 8:27 PM
    sure
  • a

    able-action-74275

    05/10/2023, 8:27 PM
    but maybe flxsound is nulling the AudioSource or something daft (which in turn is making the source null)
  • r

    rich-horse-51130

    05/10/2023, 8:27 PM
    as i said ill check this rn
  • a

    able-action-74275

    05/10/2023, 8:28 PM
    seems unlikely but who knows
  • r

    rich-horse-51130

    05/10/2023, 8:28 PM
    yeah, all i really wanna figure out is WHEN and WHY so id ont need to perform useless checks every single time (not cool for the performance)
  • a

    able-action-74275

    05/10/2023, 8:29 PM
    seems like a bug that needs fixing
  • r

    rich-horse-51130

    05/10/2023, 8:29 PM
    most definetly, however this is only due to my tampering with the backend, base flixel doesnt have this happen to it
  • r

    rich-horse-51130

    05/10/2023, 8:29 PM
    (probably because of a dozen null checks aswell, yikes)
  • r

    rich-horse-51130

    05/10/2023, 8:30 PM
    alright

    https://cdn.discordapp.com/attachments/769686258049351722/1105955060220956692/cd22ed0cd17d6b986986f23e3a6a4634.pngâ–¾

  • r

    rich-horse-51130

    05/10/2023, 8:30 PM
    buffer is all fine and good
  • r

    rich-horse-51130

    05/10/2023, 8:31 PM
    nevermind buffer is not fine and good at ALL

    https://cdn.discordapp.com/attachments/769686258049351722/1105955174830317749/b3129a32c21babd212c948d26f0d941d.pngâ–¾

  • r

    rich-horse-51130

    05/10/2023, 8:32 PM
    well since buffer isnt null init should be called yes yes

    https://cdn.discordapp.com/attachments/769686258049351722/1105955456402329770/16a3771711963c20b465c20f72fde862.pngâ–¾

1...117118119...138Latest