Solved: MemoryBlock getBitRange stopped working

Home Forums General Programming Solved: MemoryBlock getBitRange stopped working

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #37968
    GunniKonn
    Participant
      • Topics: 5
      • Replies: 27
      • Total: 32

      Hi, I am experiencing new errors when using MemoryBlock and getBitRange:

      At line [-1]: [C]
      What: C
      Namewhat: method
      Name: getBitRange
      Error message: No matching overload found, candidates:
      int getBitRange(MemoryBlock const&,custom [unsigned __int64],custom [unsigned __int64])

      Is this because it has maybe changed in JUCE to use size_t for it’s variables like removeSection has?

      • This topic was modified 9 years, 1 month ago by GunniKonn.
      #38059
      atom
      Keymaster
        • Topics: 159
        • Replies: 2945
        • Total: 3104
        • ★★★★★

        Looks like it. I fixed it, but this looks like a bug in the JUCE implementation anyway. Anyway i’ll patch it up.

        #38119
        GunniKonn
        Participant
          • Topics: 5
          • Replies: 27
          • Total: 32

          Thank you Atom, I will wait for that patch, rather than making a workaround in the code, I believe using getBitRange and MemoryBlock is the cleanest way to get data from a .syx file.

          #38214
          GunniKonn
          Participant
            • Topics: 5
            • Replies: 27
            • Total: 32

            getBitRange is working again, Ctrlr -5.3.86, thanks for fast fix!

          Viewing 4 posts - 1 through 4 (of 4 total)
          • The forum ‘Programming’ is closed to new topics and replies.
          There is currently 0 users and 51 guests online
          No users are currently active
          Forum Statistics
          Threads: 2,495, Posts: 17,374, Members: 77,605
          Most users ever online was 12 on January 22, 2019 3:47 pm
          Ctrlr