Skip to content

pulseaudio: Rework enough bytes written bytes or not enough bytes to read#1120

Merged
RossBencina merged 1 commit intoPortAudio:masterfrom
illuusio:pulseaudio-issue-1119
Feb 5, 2026
Merged

pulseaudio: Rework enough bytes written bytes or not enough bytes to read#1120
RossBencina merged 1 commit intoPortAudio:masterfrom
illuusio:pulseaudio-issue-1119

Conversation

@illuusio
Copy link
Copy Markdown
Collaborator

@illuusio illuusio commented Jan 7, 2026

Rework we have written enough bytes to output or we don't have enough bytes to read in pulseaudio. This should fix issue #1119

@bdrung
Copy link
Copy Markdown

bdrung commented Jan 7, 2026

Tested and that fixes the issue #1119 for me.

Comment thread src/hostapi/pulseaudio/pa_linux_pulseaudio_cb.c Outdated
Comment thread src/hostapi/pulseaudio/pa_linux_pulseaudio_cb.c Outdated
@illuusio illuusio force-pushed the pulseaudio-issue-1119 branch from ae614b4 to c5a1e2e Compare January 9, 2026 13:12
@illuusio
Copy link
Copy Markdown
Collaborator Author

illuusio commented Jan 9, 2026

Thank you for looking into this. I've rebased your changes to one commit.

@bdrung
Copy link
Copy Markdown

bdrung commented Jan 10, 2026

You can squash the typo fixup commit into your initial commit and there is no need for mentioning me as co-author for such trivial change.

…read

Rework we have written enough bytes to output or we don't have
enough bytes to read in pulseaudio
@illuusio illuusio force-pushed the pulseaudio-issue-1119 branch from c5a1e2e to 6b682c6 Compare January 10, 2026 09:27
@illuusio
Copy link
Copy Markdown
Collaborator Author

If it's ok to you I've just updated PR

@RossBencina
Copy link
Copy Markdown
Collaborator

@illuusio wrote:

If it's ok to you I've just updated PR

Adding to a PR is fine but please do not force-push to non-draft PRs.

Copy link
Copy Markdown
Collaborator

@philburk philburk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment needs improvements and the code needs review.
But this seems to restore the functionality accidentally lost in PR #1104.
So we should merge this as an emergency fix.

Copy link
Copy Markdown
Collaborator

@RossBencina RossBencina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are going to merge this as an emergency fix that reverts to previous known-better behavior of 7966aac. However, under normal circumstances:

  • The comment is unacceptably bad. It is unclear whether it adds anything. We seriously considered deleting it but for the sake of keeping history we have retained it.

  • The logic does not look correct. We have opened issue #1128 in which we will shortly add more detail.

@RossBencina RossBencina merged commit e1b70d3 into PortAudio:master Feb 5, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants