Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
a9b04a4
Remove FIFO thread
sakertooth Mar 18, 2025
378d6b4
Fix selection of frames per period
sakertooth Mar 18, 2025
c02c27f
Add "is running" flag for audio devices
sakertooth Mar 18, 2025
1311ce6
Remove extra start/stop flags in audio devices
sakertooth Mar 18, 2025
9d9ca6f
Revert "Remove extra start/stop flags in audio devices"
sakertooth Mar 18, 2025
27272f7
Store separate frames per period size in audio device
sakertooth Mar 18, 2025
5eaff81
Add chunking
sakertooth Mar 19, 2025
07737ce
Fix dummy sound output
sakertooth Mar 19, 2025
72d2882
Specify nullptr explicitly
sakertooth Mar 19, 2025
bd52612
Attempt to fix MINGW and MSVC builds
sakertooth Mar 19, 2025
0a130b4
Attempt to fix MINGW and MSVC builds
sakertooth Mar 19, 2025
7fb14b7
Pass in size parameter to getNextBuffer, return bool instead
sakertooth Mar 19, 2025
b84bec1
Remove processNextBuffer and move writeBuffer into AudioDevice
sakertooth Mar 23, 2025
aeb5fdf
Create AudioDevice::nextBuffer function to simplify translation of re…
sakertooth Mar 23, 2025
c8ef1a6
Fix nextBuffer function
sakertooth Mar 23, 2025
3dd62ee
Calculate the number of frames based on the length parameter in sdlAu…
sakertooth Mar 23, 2025
7ebb85a
Use SND_PCM_FORMAT_FLOAT in ALSA
sakertooth Mar 23, 2025
6597ce3
Remove assert
sakertooth Mar 23, 2025
cfd51c1
Fix comparison warnings
sakertooth Mar 23, 2025
f414cf5
Pass in correct frame count when fetching buffers in PortAudio callback
sakertooth Mar 23, 2025
8e5cede
Use PA_SAMPLE_FLOAT32 in PulseAudio
sakertooth Mar 23, 2025
a7d5e4b
Use pa_stream_begin_write to avoid extra copies
sakertooth Mar 23, 2025
f5dc315
Fix soundio callback
sakertooth Mar 23, 2025
f5d0e4c
Do not ignore return type on write call in OSS
sakertooth Mar 23, 2025
d562fe9
Ensure to silence buffer if nextBuffer returns false for callback-bas…
sakertooth Mar 23, 2025
10c55da
Use same signedness
sakertooth Mar 23, 2025
b5bfa07
Fix more signedness issues
sakertooth Mar 23, 2025
bc0abb7
Fix a few issues
sakertooth Mar 25, 2025
f23122b
Split nextBuffer declaration into two (one for interleaved, one for p…
sakertooth Jun 1, 2025
4d1e182
Update src/core/audio/AudioAlsa.cpp
sakertooth Jun 18, 2025
821189e
Use static_cast instead of reinterpret_cast
sakertooth Jun 28, 2025
ce20d72
Use new audio buffer view classes
sakertooth Jun 28, 2025
abd51d6
Render next buffer after resetting timer
sakertooth Jun 28, 2025
ee70d3f
Remove endian handling within audio devices
sakertooth Jun 28, 2025
243f299
Make start and stop functions non-virtual, add pure virtual impl func…
sakertooth Jun 28, 2025
8ffa18a
Make startProcessing and stopProcessing non virtual
sakertooth Jun 29, 2025
0dd7795
Remove unused function that was added in here
sakertooth Jun 29, 2025
717e49f
Remove temp
sakertooth Jul 3, 2025
9a7fc69
Add isRunning function
sakertooth Jul 5, 2025
5bdff28
Merge remote-tracking branch 'upstream' into fix-resampling
sakertooth Jul 31, 2025
a7df657
Fix build
sakertooth Jul 31, 2025
1eb4ef4
Merge remote-tracking branch 'upstream' into revamp-buffers
sakertooth Aug 15, 2025
195b823
Simplify nextBuffer function with new AudioBufferView concept
sakertooth Aug 16, 2025
f8995b7
Simplify loop even further
sakertooth Aug 16, 2025
4d0d8fe
Check if device running in while loop
sakertooth Aug 16, 2025
05f41b2
Remove m_quit variable
sakertooth Aug 16, 2025
cd63c6a
Add sample function in buffer view classes
sakertooth Sep 8, 2025
5f71b0b
Remove framesPerPeriod from AudioDevice
sakertooth Sep 11, 2025
af53322
Set the buffer size for the JACK backend
sakertooth Sep 11, 2025
872baef
Use framesPerAudioBuffer where appropriate
sakertooth Sep 11, 2025
26ba7ad
Move template instantiations down the file
sakertooth Sep 13, 2025
c1857a2
Do not call stopProcessing in destructor, assert that device is stopp…
sakertooth Sep 13, 2025
6c97be8
Merge remote-tracking branch 'upstream' into revamp-buffers
sakertooth Nov 16, 2025
e00f57f
Set frames per audio buffer within engine
sakertooth Nov 21, 2025
4a17480
Add new renderNextPeriod function, move use of nextBuffer to renderNe…
sakertooth Nov 22, 2025
bea72f8
Change assert
sakertooth Mar 8, 2026
6bf8707
Merge remote-tracking branch 'upstream' into revamp-buffers
sakertooth Mar 15, 2026
d460b5f
Fix build
sakertooth Mar 15, 2026
927141b
Force period size to DEFAULT_BUFFER_SIZE
sakertooth Mar 15, 2026
a04d74d
Use AudioBufferView again
sakertooth Mar 15, 2026
6c469fc
Update documentation
sakertooth Mar 16, 2026
1149cd0
Remove unused variables in SDL device
sakertooth Mar 16, 2026
3bb7b29
Split renderNextBuffer into two overloads
sakertooth Mar 17, 2026
561d0de
Revert "Force period size to DEFAULT_BUFFER_SIZE"
sakertooth Mar 17, 2026
ffea3d9
Update documenation
sakertooth Mar 17, 2026
e01046f
Switch fpp_t and f_cnt_t to std::uint64_t
sakertooth Mar 17, 2026
2bfa6c6
Move frameCount calculation down
sakertooth Mar 18, 2026
c1ddc3e
Cast frames per audio buffer to fpp_t
sakertooth Mar 18, 2026
f2e3b30
Revert "Switch fpp_t and f_cnt_t to std::uint64_t"
sakertooth Mar 18, 2026
de354de
Merge remote-tracking branch 'upstream' into revamp-buffers
sakertooth Mar 18, 2026
7da9cfc
Merge remote-tracking branch 'upstream' into revamp-buffers
sakertooth Mar 18, 2026
2a266ff
Change type of frame count in AudioFileDevice::writeBuffer
sakertooth Mar 18, 2026
febfbe6
Inline bufferView
sakertooth Mar 18, 2026
8569d4a
Revert changes to AudioFileMP3.h
sakertooth Mar 19, 2026
8e181f8
Remove extra whitespace
sakertooth Mar 19, 2026
7f5b543
Remove m_devMutex and move header include of AudioBufferView.h
sakertooth Mar 19, 2026
bbee641
Remove DEFAULT_SAMPLE_RATE
sakertooth Mar 21, 2026
b09cc43
Use AudioBufferView again, use one implementation and make it private
sakertooth Mar 21, 2026
c70d4e9
Fix misspelling in documentation
sakertooth Mar 25, 2026
e77c2c5
Remove redundant std::array::fill call
sakertooth Mar 25, 2026
49f8d1c
Use static_cast instead of reinterpret_cast
sakertooth Mar 25, 2026
26c9e94
Return early if pa_stream_begin_write returns a nonzero value
sakertooth Mar 25, 2026
a38ad83
Remove iostream include
sakertooth Mar 25, 2026
8cf7c4e
Update documentation
sakertooth Mar 27, 2026
3b10d33
Do not set JACK buffer size
sakertooth Mar 27, 2026
78ee349
Fix some bugs with AudioJack, add input processing back in
sakertooth Mar 27, 2026
2af783e
Mention possibility of removing framesPerAudioBuffer in a later refactor
sakertooth Mar 27, 2026
c2ccbfd
Fix spelling in docs
sakertooth Apr 1, 2026
3da74c0
Simplify wording in docs
sakertooth Apr 1, 2026
57b8bed
Remove outBuf from AudioPortAudio
sakertooth Apr 4, 2026
2bd6411
Fix unused lambda capture warning
sakertooth Apr 4, 2026
e339682
Comma ftw
sakertooth Apr 4, 2026
7c7e37f
Change renderNextPeriod to return a span
sakertooth Apr 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Attempt to fix MINGW and MSVC builds
  • Loading branch information
sakertooth committed Jun 29, 2025
commit bd526124981a8b0ccc20571367def50a9252ceeb
2 changes: 1 addition & 1 deletion src/core/AudioEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static thread_local bool s_renderingThread = false;
AudioEngine::AudioEngine(bool renderOnly)
Comment thread
sakertooth marked this conversation as resolved.
: m_renderOnly(renderOnly)
, m_framesPerPeriod(
std::min(ConfigManager::inst()
std::min<fpp_t>(ConfigManager::inst()
->value("audioengine", "framesperaudiobuffer", QString::number(DEFAULT_BUFFER_SIZE))
.toULong(),
DEFAULT_BUFFER_SIZE))
Expand Down