Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the FIFO thread #7568

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
140f99c
Remove FIFO thread
sakertooth Dec 17, 2024
a85b145
Add AudioEngine::renderNextBufferChunked and use it in SDL audio device
sakertooth Dec 17, 2024
4a3ca48
Use new chunking function in JACK audio device
sakertooth Dec 17, 2024
e193860
Use new chunking function in OSS audio device
sakertooth Dec 17, 2024
608a7d1
Use new chunking function in PortAudio device
sakertooth Dec 17, 2024
0a956c6
Use new chunking function in PulseAudio device
sakertooth Dec 17, 2024
850a842
Use new chunking function in ALSA device
sakertooth Dec 17, 2024
25802da
Use new chunking function in sndio device
sakertooth Dec 17, 2024
663ca7e
Use new chunking function in soundio device
sakertooth Dec 17, 2024
17a1d34
Remove unused getNextBuffer function
sakertooth Dec 17, 2024
24a2a28
Minor changes
sakertooth Dec 17, 2024
2dbe458
Make renderNextBufferChunked persist buffers across calls to avoid dr…
sakertooth Dec 18, 2024
30db2ef
Make some style changes in AudioSoundIo
sakertooth Dec 18, 2024
0a0122e
Remove redundancy in AudioOss
sakertooth Dec 18, 2024
b2f3579
Check for result from write call again
sakertooth Dec 18, 2024
bf89032
Consider if the audio device has stopped for JACK devices
sakertooth Dec 18, 2024
e4fc133
Consider if the audio device has stopped
sakertooth Dec 18, 2024
ecf9523
Cast bytes to std::size_t
sakertooth Dec 19, 2024
e433ffd
Merge remote-tracking branch 'upstream/master' into revamp-buffers
sakertooth Dec 21, 2024
a03bd17
Avoid copying of rendered buffer in renderNextBufferChunked
sakertooth Dec 24, 2024
885cb32
Remove processNextBuffer function and call writeBuffer directly
sakertooth Dec 25, 2024
3a72faa
Restore functionality to render audio within AudioDummy
sakertooth Dec 27, 2024
c5a16a7
Add stopped variable in AudioDummy
sakertooth Dec 28, 2024
75dab12
Use outputBufferRead instead of copying to a separate static buffer
sakertooth Jan 16, 2025
0615733
Inline startProcessing and stopProcessing
sakertooth Jan 16, 2025
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
Restore functionality to render audio within AudioDummy
sakertooth committed Dec 27, 2024
commit 3a72faab0684023d0446a8b791a3648c3829d5b7
1 change: 1 addition & 0 deletions include/AudioDummy.h
Original file line number Diff line number Diff line change
@@ -93,6 +93,7 @@ class AudioDummy : public QThread, public AudioDevice
MicroTimer timer;
while( true )
{
audioEngine()->renderNextBuffer();
timer.reset();
const int microseconds = static_cast<int>( audioEngine()->framesPerPeriod() * 1000000.0f / audioEngine()->outputSampleRate() - timer.elapsed() );
if( microseconds > 0 )