Skip to content

Commit 5b6bb75

Browse files
authored
Merge branch 'LMMS:master' into clap-host-dev
2 parents feee422 + 3e19d13 commit 5b6bb75

File tree

133 files changed

+894
-1132
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+894
-1132
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# yamllint disable-file rule:line-length
2+
name: Bug Report
3+
description: File a bug report to help us improve
4+
labels:
5+
- bug
6+
body:
7+
- type: input
8+
id: system-information
9+
attributes:
10+
label: System Information
11+
description: |
12+
- The operating system you use to run LMMS.
13+
- When relevant, also include your hardware information.
14+
placeholder: ex. Fedora Linux 39, KDE Plasma 5.27.10 - 13th Gen Intel® Core™ i9-13950HX, 32GB RAM
15+
validations:
16+
required: true
17+
- type: input
18+
id: affected-version
19+
attributes:
20+
label: LMMS Version(s)
21+
description: |
22+
- The version of LMMS affected by the bug.
23+
- Can be an official version number, nightly release identifier, or commit hash.
24+
- The version number can be found under the Help > About menu.
25+
placeholder: ex. 1.2.2, 1.3.0-alpha.1.518+gdd53bec31, 2d185df
26+
validations:
27+
required: true
28+
- type: input
29+
id: working-version
30+
attributes:
31+
label: Most Recent Working Version
32+
description: |
33+
- If there is a previous version of LMMS that did not exhibit the bug, include it here.
34+
placeholder: ex. 1.2.2, 1.3.0-alpha.1.518+gdd53bec31, 2d185df
35+
validations:
36+
required: false
37+
- type: textarea
38+
id: bug-summary
39+
attributes:
40+
label: Bug Summary
41+
description: Briefly describe the bug.
42+
validations:
43+
required: true
44+
- type: textarea
45+
id: expected-behaviour
46+
attributes:
47+
label: Expected Behaviour
48+
description: Describe what should have happened.
49+
validations:
50+
required: true
51+
- type: textarea
52+
id: steps-to-reproduce
53+
attributes:
54+
label: Steps To Reproduce
55+
description: |
56+
- Describe the minimum set of steps required to reproduce this bug.
57+
- If you included a minimum reproducible project below, you can describe here how it should be used.
58+
validations:
59+
required: true
60+
- type: textarea
61+
id: logs
62+
attributes:
63+
label: Logs
64+
description: |
65+
- Copy and paste any relevant log output here.
66+
value: |
67+
<details>
68+
<summary>Click to expand</summary>
69+
<pre>
70+
<!-- paste logs here -->
71+
</pre>
72+
</details>
73+
validations:
74+
required: false
75+
- type: textarea
76+
id: supporting-files
77+
attributes:
78+
label: Screenshots / Minimum Reproducible Project
79+
description: |
80+
- Upload any screenshots showing the bug in action.
81+
- If possible, also include a .mmp/.mmpz project containing the simplest possible setup needed to reproduce the bug.
82+
83+
***Note:** To upload a project file to GitHub, it will need to be placed in a .zip archive.*
84+
- type: checkboxes
85+
id: search-for-existing
86+
attributes:
87+
label: Please search the issue tracker for existing bug reports before submitting your own.
88+
options:
89+
- label: I have searched all existing issues and confirmed that this is not a duplicate.
90+
required: true

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# yamllint disable-file rule:line-length
2+
name: Feature Request
3+
description: Suggest an idea for the project
4+
labels:
5+
- "enhancement"
6+
body:
7+
- type: textarea
8+
id: enhancement-summary
9+
attributes:
10+
label: Enhancement Summary
11+
description: |
12+
- Briefly describe the enhancement.
13+
- Explain why you believe the proposed enhancement to be a good idea, and (if applicable) how it helps overcome a limitation of LMMS you are currently facing.
14+
validations:
15+
required: true
16+
- type: textarea
17+
id: mockup
18+
attributes:
19+
label: Implementation Details / Mockup
20+
description: |
21+
- Explain how you believe this enhancement should be implemented.
22+
- If your proposal encompasses changes to the user interface, include diagrams displaying your intent.
23+
validations:
24+
required: true
25+
- type: checkboxes
26+
id: search-for-existing
27+
attributes:
28+
label: Please search the issue tracker for existing feature requests before submitting your own.
29+
options:
30+
- label: I have searched all existing issues and confirmed that this is not a duplicate.
31+
required: true

.gitmodules

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
[submodule "src/3rdparty/qt5-x11embed"]
22
path = src/3rdparty/qt5-x11embed
33
url = https://github.com/Lukas-W/qt5-x11embed.git
4-
[submodule "src/3rdparty/rpmalloc/rpmalloc"]
5-
path = src/3rdparty/rpmalloc/rpmalloc
6-
url = https://github.com/mjansson/rpmalloc.git
74
[submodule "plugins/ZynAddSubFx/zynaddsubfx"]
85
path = plugins/ZynAddSubFx/zynaddsubfx
96
url = https://github.com/lmms/zynaddsubfx.git
107
[submodule "plugins/FreeBoy/game-music-emu"]
118
path = plugins/FreeBoy/game-music-emu
12-
url = https://bitbucket.org/mpyne/game-music-emu.git
9+
url = https://github.com/libgme/game-music-emu.git
1310
[submodule "plugins/OpulenZ/adplug"]
1411
path = plugins/OpulenZ/adplug
1512
url = https://github.com/adplug/adplug.git
@@ -24,7 +21,7 @@
2421
url = https://github.com/swh/ladspa
2522
[submodule "plugins/LadspaEffect/tap/tap-plugins"]
2623
path = plugins/LadspaEffect/tap/tap-plugins
27-
url = https://github.com/tomszilagyi/tap-plugins
24+
url = https://github.com/lmms/tap-plugins
2825
[submodule "src/3rdparty/weakjack/weakjack"]
2926
path = src/3rdparty/weakjack/weakjack
3027
url = https://github.com/x42/weakjack.git

CMakeLists.txt

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ INCLUDE(VersionInfo)
7171
INCLUDE(DetectMachine)
7272

7373
OPTION(WANT_ALSA "Include ALSA (Advanced Linux Sound Architecture) support" ON)
74+
OPTION(WANT_OSS "Include Open Sound System support" ON)
7475
OPTION(WANT_CALF "Include CALF LADSPA plugins" ON)
7576
OPTION(WANT_CAPS "Include C* Audio Plugin Suite (LADSPA plugins)" ON)
7677
OPTION(WANT_CARLA "Include Carla plugin" ON)
@@ -110,9 +111,11 @@ IF(LMMS_BUILD_APPLE)
110111
LINK_DIRECTORIES("${APPLE_PREFIX}/lib")
111112
SET(WANT_SOUNDIO OFF)
112113
SET(WANT_ALSA OFF)
114+
SET(WANT_OSS OFF)
113115
SET(WANT_PULSEAUDIO OFF)
114116
SET(WANT_VST OFF)
115117
SET(STATUS_ALSA "<not supported on this platform>")
118+
SET(STATUS_OSS "<not supported on this platform>")
116119
SET(STATUS_PULSEAUDIO "<not supported on this platform>")
117120
SET(STATUS_APPLEMIDI "OK")
118121
ELSE(LMMS_BUILD_APPLE)
@@ -122,13 +125,15 @@ ENDIF(LMMS_BUILD_APPLE)
122125

123126
IF(LMMS_BUILD_WIN32)
124127
SET(WANT_ALSA OFF)
128+
SET(WANT_OSS OFF)
125129
SET(WANT_PULSEAUDIO OFF)
126130
SET(WANT_SNDIO OFF)
127131
SET(WANT_SOUNDIO OFF)
128132
SET(WANT_WINMM ON)
129133
SET(BUNDLE_QT_TRANSLATIONS ON)
130134
SET(LMMS_HAVE_WINMM TRUE)
131135
SET(STATUS_ALSA "<not supported on this platform>")
136+
SET(STATUS_OSS "<not supported on this platform>")
132137
SET(STATUS_PULSEAUDIO "<not supported on this platform>")
133138
SET(STATUS_SOUNDIO "<disabled in this release>")
134139
SET(STATUS_SNDIO "<not supported on this platform>")
@@ -472,13 +477,13 @@ IF(WANT_OGGVORBIS)
472477
ENDIF(WANT_OGGVORBIS)
473478

474479

475-
# check whether to enable OSS-support
476-
IF(LMMS_HAVE_SOUNDCARD_H OR LMMS_HAVE_SYS_SOUNDCARD_H)
480+
# check for OSS
481+
IF(WANT_OSS AND (LMMS_HAVE_SOUNDCARD_H OR LMMS_HAVE_SYS_SOUNDCARD_H))
477482
SET(LMMS_HAVE_OSS TRUE)
478483
SET(STATUS_OSS "OK")
479-
ELSE(LMMS_HAVE_SOUNDCARD_H OR LMMS_HAVE_SYS_SOUNDCARD_H)
484+
ELSEIF(WANT_OSS)
480485
SET(STATUS_OSS "<not found or not supported on this platform>")
481-
ENDIF(LMMS_HAVE_SOUNDCARD_H OR LMMS_HAVE_SYS_SOUNDCARD_H)
486+
ENDIF()
482487

483488

484489
# check for ALSA

include/AudioDevice.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,7 @@ class AudioDevice
9696
protected:
9797
// subclasses can re-implement this for being used in conjunction with
9898
// processNextBuffer()
99-
virtual void writeBuffer( const surroundSampleFrame * /* _buf*/,
100-
const fpp_t /*_frames*/,
101-
const float /*_master_gain*/ )
102-
{
103-
}
99+
virtual void writeBuffer(const surroundSampleFrame* /* _buf*/, const fpp_t /*_frames*/) {}
104100

105101
// called by according driver for fetching new sound-data
106102
fpp_t getNextBuffer( surroundSampleFrame * _ab );
@@ -109,7 +105,6 @@ class AudioDevice
109105
// returns num of bytes in outbuf
110106
int convertToS16( const surroundSampleFrame * _ab,
111107
const fpp_t _frames,
112-
const float _master_gain,
113108
int_sample_t * _output_buffer,
114109
const bool _convert_endian = false );
115110

include/AudioFileFlac.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ class AudioFileFlac : public AudioFileDevice
6565
SF_INFO m_sfinfo;
6666
SNDFILE* m_sf;
6767

68-
void writeBuffer(surroundSampleFrame const* _ab,
69-
fpp_t const frames,
70-
float master_gain) override;
68+
void writeBuffer(surroundSampleFrame const* _ab, fpp_t const frames) override;
7169

7270
bool startEncoding();
7371
void finishEncoding();

include/AudioFileMP3.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ class AudioFileMP3 : public AudioFileDevice
5858
}
5959

6060
protected:
61-
void writeBuffer( const surroundSampleFrame * /* _buf*/,
62-
const fpp_t /*_frames*/,
63-
const float /*_master_gain*/ ) override;
61+
void writeBuffer(const surroundSampleFrame* /* _buf*/, const fpp_t /*_frames*/) override;
6462

6563
private:
6664
void flushRemainingBuffers();

include/AudioFileOgg.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ class AudioFileOgg : public AudioFileDevice
5858

5959

6060
private:
61-
void writeBuffer( const surroundSampleFrame * _ab,
62-
const fpp_t _frames,
63-
const float _master_gain ) override;
61+
void writeBuffer(const surroundSampleFrame* _ab, const fpp_t _frames) override;
6462

6563
bool startEncoding();
6664
void finishEncoding();

0 commit comments

Comments
 (0)