Skip to content

Commit

Permalink
Release 1.0.28
Browse files Browse the repository at this point in the history
* Added '\''listen'\'' playback mode for the sampler in dspu::Sampler.
* Added support of build for MacOS.
* Updated module versions in dependencies.
  • Loading branch information
sadko4u committed Feb 28, 2025
2 parents 2759194 + b5782b6 commit fe4ff0a
Show file tree
Hide file tree
Showing 101 changed files with 831 additions and 693 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
* RECENT CHANGES
*******************************************************************************

=== 1.0.28 ===
* Added 'listen' playback mode for the sampler in dspu::Sampler.
* Added support of build for MacOS.
* Updated module versions in dependencies.

=== 1.0.27 ===
* Implemented TruePeak meter.
* Implemented Panorama meter (Panometer).
Expand Down
22 changes: 19 additions & 3 deletions dependencies.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
# (C) 2020 Vladimir Sadovnikov <sadko4u@gmail.com>
# Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
# (C) 2025 Vladimir Sadovnikov <sadko4u@gmail.com>
#
# This file is part of lsp-dsp-units
#
Expand Down Expand Up @@ -74,17 +74,33 @@ ifeq ($(PLATFORM),Windows)
TEST_DEPENDENCIES += $(WINDOWS_TEST_DEPENDENCIES)
endif

#------------------------------------------------------------------------------
# MacOS dependencies
MACOS_DEPENDENCIES = \
LIBAUDIOTOOLBOX \
LIBCOREFOUNDATION \
LIBICONV

MACOS_TEST_DEPENDENCIES =

ifeq ($(PLATFORM),MacOS)
DEPENDENCIES += $(MACOS_DEPENDENCIES)
TEST_DEPENDENCIES += $(MACOS_TEST_DEPENDENCIES)
endif

#------------------------------------------------------------------------------
# Overall system dependencies
ALL_DEPENDENCIES = \
$(DEPENDENCIES) \
$(LINUX_DEPENDENCIES) \
$(BSD_DEPENDENCIES) \
$(WINDOWS_DEPENDENCIES) \
$(MACOS_DEPENDENCIES) \
$(TEST_DEPENDENCIES) \
$(LINUX_TEST_DEPENDENCIES) \
$(BSD_TEST_DEPENDENCIES) \
$(WINDOWS_TEST_DEPENDENCIES)
$(WINDOWS_TEST_DEPENDENCIES) \
$(MACOS_TEST_DEPENDENCIES)



Expand Down
2 changes: 1 addition & 1 deletion include/lsp-plug.in/dsp-units/3d/RayTrace3D.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ namespace lsp

/**
* Get the material for the corresponding object
* @param material
* @param material pointer to store materisl
* @param idx the index of the corresponding object
* @return pointer to material or NULL
*/
Expand Down
24 changes: 12 additions & 12 deletions include/lsp-plug.in/dsp-units/3d/Scene3D.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2021 Linux Studio Plugins Project <https://lsp-plug.in/>
* (C) 2021 Vladimir Sadovnikov <sadko4u@gmail.com>
* Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
* (C) 2025 Vladimir Sadovnikov <sadko4u@gmail.com>
*
* This file is part of lsp-dsp-units
* Created on: 9 авг. 2021 г.
Expand Down Expand Up @@ -44,10 +44,6 @@ namespace lsp
*/
class LSP_DSP_UNITS_PUBLIC Scene3D
{
private:
Scene3D & operator = (const Scene3D &);
Scene3D(const Scene3D &);

protected:
lltl::parray<Object3D> vObjects;
Allocator3D<obj_vertex_t> vVertexes; // Vertex allocator
Expand All @@ -69,16 +65,20 @@ namespace lsp
*
*/
explicit Scene3D(size_t blk_size = 1024);
Scene3D(const Scene3D &) = delete;
Scene3D(Scene3D &&) = delete;

/** Destructor
*
*/
~Scene3D();

Scene3D & operator = (const Scene3D &) = delete;
Scene3D & operator = (Scene3D &&) = delete;

public:
/** Destroy scene
*
* @param recursive destroy attached objects
*/
void destroy();

Expand All @@ -89,7 +89,7 @@ namespace lsp

/**
* Clone contents from another scene
* @param src
* @param src source scene to clone contents
*/
status_t clone_from(const Scene3D *src);

Expand Down Expand Up @@ -126,7 +126,7 @@ namespace lsp

/**
* Load scene from input stream
* @param input stream
* @param is input stream
* @param charset character set of file contents
* @param flags wrapping flags
* @return status of operation
Expand All @@ -135,7 +135,7 @@ namespace lsp

/**
* Load scene from input sequence
* @param input sequence
* @param is input sequence
* @param flags wrapping flags
* @return status of operation
*/
Expand Down Expand Up @@ -279,7 +279,7 @@ namespace lsp
*/
bool validate();
};
}
}
} /* namespace dspu */
} /* namespace lsp */

#endif /* LSP_PLUG_IN_DSP_UNITS_3D_SCENE3D_H_ */
21 changes: 10 additions & 11 deletions include/lsp-plug.in/dsp-units/3d/bsp/context.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2021 Linux Studio Plugins Project <https://lsp-plug.in/>
* (C) 2021 Vladimir Sadovnikov <sadko4u@gmail.com>
* Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
* (C) 2025 Vladimir Sadovnikov <sadko4u@gmail.com>
*
* This file is part of lsp-dsp-units
* Created on: 9 авг. 2021 г.
Expand Down Expand Up @@ -40,18 +40,19 @@ namespace lsp
{
typedef struct LSP_DSP_UNITS_PUBLIC context_t
{
private:
context_t (const context_t &);
context_t & operator = (const context_t &);

public:
Allocator3D<bsp::node_t> node;
Allocator3D<bsp::triangle_t> triangle;
bsp::node_t *root;

public:
explicit context_t();
context_t (const context_t &) = delete;
context_t (context_t &&) = delete;
~context_t();

context_t & operator = (const context_t &) = delete;
context_t & operator = (context_t &&) = delete;

protected:
status_t split(lltl::parray<bsp::node_t> &queue, bsp::node_t *task);
Expand All @@ -70,7 +71,6 @@ namespace lsp
/**
* Add object to context
* @param obj object to add
* @param oid unique id to identify the object
* @param col object color
* @return status of operation
*/
Expand All @@ -82,7 +82,6 @@ namespace lsp
/**
* Add object to context
* @param obj object to add
* @param oid unique id to identify the object
* @param transform transformation matrix to apply to object
* @param col object color
* @return status of operation
Expand Down Expand Up @@ -120,8 +119,8 @@ namespace lsp
status_t build_mesh(lltl::darray<view::vertex3d_t> *dst, const dsp::point3d_t *pov);

} context_t;
} // namespace bsp
} // namespace dspu
} // namespace lsp
} /* namespace bsp */
} /* namespace dspu */
} /* namespace lsp */

#endif /* LSP_PLUG_IN_DSP_UNITS_3D_BSP_CONTEXT_H_ */
26 changes: 12 additions & 14 deletions include/lsp-plug.in/dsp-units/3d/rt/plan.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2021 Linux Studio Plugins Project <https://lsp-plug.in/>
* (C) 2021 Vladimir Sadovnikov <sadko4u@gmail.com>
* Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
* (C) 2025 Vladimir Sadovnikov <sadko4u@gmail.com>
*
* This file is part of lsp-dsp-units
* Created on: 9 авг. 2021 г.
Expand Down Expand Up @@ -38,16 +38,17 @@ namespace lsp
*/
typedef struct LSP_DSP_UNITS_PUBLIC plan_t
{
private:
plan_t(const plan_t &);
plan_t & operator = (const plan_t &);

public:
Allocator3D<rt::split_t> items;

public:
explicit plan_t();
plan_t(const plan_t &) = delete;
plan_t(plan_t &&) = delete;
~plan_t();

plan_t & operator = (const plan_t &) = delete;
plan_t & operator = (plan_t &&) = delete;

public:
/**
Expand Down Expand Up @@ -98,39 +99,36 @@ namespace lsp
/**
* Add triangle to the plan
* @param pv three triangle points
* @param sp the equation of split plane provided by triangle
* @return status of operation
*/
status_t add_triangle(const dsp::point3d_t *pv);

/**
* Add triangle to the plan
* @param t triangle to add
* @param sp the equation of split plane provided by triangle
* @return status of operation
*/
status_t add_triangle(const rtm::triangle_t *t);

/**
* Add triangle to the plan
* @param pv three triangle points
* @param sp the equation of split plane provided by triangle
* @return status of operation
*/
rt::split_t *add_edge(const dsp::point3d_t *pv);

/**
* Add triangle to the plan
* @param pv three triangle points
* @param sp the equation of split plane provided by triangle
* @param p1 the first point of edge
* @param p2 the second point of edge
* @return status of operation
*/
rt::split_t *add_edge(const dsp::point3d_t *p1, const dsp::point3d_t *p2);

} plan_t;
} // namespace rt
} // namespace dspu
} // namespace lsp
} /* namespace rt */
} /* namespace dspu */
} /* namespace lsp */



Expand Down
2 changes: 1 addition & 1 deletion include/lsp-plug.in/dsp-units/ctl/Blink.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ namespace lsp

/**
* Dump the state
* @param dumper dumper
* @param v state dumper
*/
void dump(IStateDumper *v) const;
};
Expand Down
2 changes: 1 addition & 1 deletion include/lsp-plug.in/dsp-units/ctl/Bypass.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ namespace lsp

/**
* Dump the state
* @param dumper dumper
* @param v state dumper
*/
void dump(IStateDumper *v) const;
};
Expand Down
15 changes: 8 additions & 7 deletions include/lsp-plug.in/dsp-units/ctl/Counter.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
* (C) 2020 Vladimir Sadovnikov <sadko4u@gmail.com>
* Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
* (C) 2025 Vladimir Sadovnikov <sadko4u@gmail.com>
*
* This file is part of lsp-dsp-units
* Created on: 27 нояб. 2018 г.
Expand Down Expand Up @@ -31,10 +31,6 @@ namespace lsp
{
class LSP_DSP_UNITS_PUBLIC Counter
{
private:
Counter & operator = (const Counter &);
Counter(const Counter &);

protected:
enum flags_t
{
Expand All @@ -51,7 +47,12 @@ namespace lsp

public:
explicit Counter();
Counter(const Counter &) = delete;
Counter(Counter &&) = delete;
~Counter();

Counter & operator = (const Counter &) = delete;
Counter & operator = (Counter &&) = delete;

/**
* Construct object
Expand Down Expand Up @@ -153,7 +154,7 @@ namespace lsp

/**
* Dump the state
* @param dumper dumper
* @param v state dumper
*/
void dump(IStateDumper *v) const;
};
Expand Down
16 changes: 9 additions & 7 deletions include/lsp-plug.in/dsp-units/ctl/Crossfade.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
* (C) 2020 Vladimir Sadovnikov <sadko4u@gmail.com>
* Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
* (C) 2025 Vladimir Sadovnikov <sadko4u@gmail.com>
*
* This file is part of lsp-dsp-units
* Created on: 22 янв. 2020 г.
Expand Down Expand Up @@ -31,10 +31,6 @@ namespace lsp
{
class LSP_DSP_UNITS_PUBLIC Crossfade
{
private:
Crossfade & operator = (const Crossfade &);
Crossfade(const Crossfade &);

protected:
size_t nSamples;
size_t nCounter;
Expand All @@ -43,7 +39,13 @@ namespace lsp

public:
explicit Crossfade();

Crossfade(const Crossfade &) = delete;
Crossfade(Crossfade &&) = delete;
~Crossfade();

Crossfade & operator = (const Crossfade &) = delete;
Crossfade & operator = (Crossfade &&) = delete;

/**
* Construct object
Expand Down Expand Up @@ -98,7 +100,7 @@ namespace lsp

/**
* Dump the state
* @param dumper dumper
* @param v state dumper
*/
void dump(IStateDumper *v) const;
};
Expand Down
Loading

0 comments on commit fe4ff0a

Please sign in to comment.