Skip to content

Commit 0527efe

Browse files
committed
Updted header
1 parent dd1e511 commit 0527efe

File tree

1 file changed

+11
-3
lines changed
  • include/lsp-plug.in/dsp/common

1 file changed

+11
-3
lines changed

include/lsp-plug.in/dsp/common/pan.h

+11-3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,12 @@
2424

2525
#include <lsp-plug.in/dsp/common/types.h>
2626

27+
LSP_DSP_LIB_BEGIN_NAMESPACE
28+
29+
#pragma pack(push, 1)
30+
2731
/**
28-
* Definition for the panorama calulation function
32+
* Definition for the panorama calulation function (parallel form)
2933
*
3034
* @param dst destination buffer to store value
3135
* @param l left channel data
@@ -35,8 +39,12 @@
3539
*/
3640
typedef void (* LSP_DSP_LIB_TYPE(depan_t))(float *dst, const float *l, const float *r, float dfl, size_t count);
3741

42+
#pragma pack(pop)
43+
44+
LSP_DSP_LIB_END_NAMESPACE
45+
3846
/**
39-
* Calculate the linear pan law panorama position between left and right channels:
47+
* Calculate the linear pan law panorama position between left and right channels (parallel form):
4048
* pan = abs(R) / (abs(L) + abs(R))
4149
*
4250
* @param dst destination buffer to store value
@@ -48,7 +56,7 @@ typedef void (* LSP_DSP_LIB_TYPE(depan_t))(float *dst, const float *l, const flo
4856
LSP_DSP_LIB_SYMBOL(void, depan_lin, float *dst, const float *l, const float *r, float dfl, size_t count);
4957

5058
/**
51-
* Calculate the equal power pan law (quadratic) panorama position between left and right channels:
59+
* Calculate the equal power pan law (quadratic) panorama position between left and right channels (parallel form):
5260
* pan = R^2 / (L^2 + R^2)
5361
*
5462
* @param dst destination buffer to store value

0 commit comments

Comments
 (0)