Skip to content

[DEV BUG] Some members of the PCM class are exported in the shared library #937

@kblaschke

Description

@kblaschke

Affected Project

libprojectM (including the playlist library)

Affected Version

4.1.x

Describe the Issue

When building libprojectM as a shared library, some members of the PCM class are still exported even if the C++ interface is turned off:

  • PCM::Add(float const*, unsigned int, unsigned long)
  • PCM::Add(short const*, unsigned int, unsigned long)
  • PCM::Add(unsigned char const*, unsigned int, unsigned long)
  • PCM::GetFrameAudioData() const
  • PCM::UpdateFrameAudioData(double, unsigned int)

These members should not be exposed without the rest of the C++ interface as they are class members and thus cannot be called individually without causing a crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThe issue is (potentially) a bug.

    Type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions