Skip to content

pulseaudio: Correct output writing place where it's copied#1005

Merged
RossBencina merged 2 commits into
PortAudio:masterfrom
illuusio:pulseaudio-fix-output-writing-place
Jun 12, 2025
Merged

pulseaudio: Correct output writing place where it's copied#1005
RossBencina merged 2 commits into
PortAudio:masterfrom
illuusio:pulseaudio-fix-output-writing-place

Conversation

@illuusio
Copy link
Copy Markdown
Collaborator

Output copying what in incorrect place now that should be corrected. This is related: #965

@RossBencina RossBencina added the src-pulseaudio PulseAudio Host API in src/hostapi/pulseaudio label Feb 27, 2025
@illuusio
Copy link
Copy Markdown
Collaborator Author

Should this been reviewed. It's mainly just moving code. @kleinerm do you have time to test this?

Comment thread src/hostapi/pulseaudio/pa_linux_pulseaudio_cb.c
Comment thread src/hostapi/pulseaudio/pa_linux_pulseaudio_cb.c
@RossBencina
Copy link
Copy Markdown
Collaborator

Looks ok modulo my comments. Let's wait another week for @kleinerm to show up (or not).

Comment thread src/hostapi/pulseaudio/pa_linux_pulseaudio_cb.c
Comment thread src/hostapi/pulseaudio/pa_linux_pulseaudio_cb.c Outdated
Comment thread src/hostapi/pulseaudio/pa_linux_pulseaudio_cb.c
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-fix-output-writing-place branch from 88257aa to 70f7042 Compare April 27, 2025 15:56
Output copying what in incorrect place now that should be corrected
@illuusio illuusio force-pushed the pulseaudio-fix-output-writing-place branch from 70f7042 to 2e3b67b Compare April 30, 2025 08:44
@illuusio
Copy link
Copy Markdown
Collaborator Author

Is this ok to merge?

@illuusio
Copy link
Copy Markdown
Collaborator Author

illuusio commented Jun 9, 2025

Could this be updated @RossBencina or @philburk so I can start working on other pr?

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.

Fix indent. I will merge

Comment thread src/hostapi/pulseaudio/pa_linux_pulseaudio_cb.c Outdated
Comment thread src/hostapi/pulseaudio/pa_linux_pulseaudio_cb.c Outdated
hostFramesPerBuffer );
}

/* Is output is enable and buffer data is not NULL
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This code does not check that "buffer data is not null".

}

/* Is output is enable and buffer data is not NULL
* then crap pointer to output ringbuffer
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What is a "crap pointer"?

@RossBencina
Copy link
Copy Markdown
Collaborator

Your code comments are difficult to understand for native English speakers. Maybe try using an AI to help with grammar. We're not really happy with the comments but will merge anyway so that you can move forward.

@RossBencina RossBencina merged commit a60c3ba into PortAudio:master Jun 12, 2025
11 checks passed
@illuusio
Copy link
Copy Markdown
Collaborator Author

Your code comments are difficult to understand for native English speakers. Maybe try using an AI to help with grammar. We're not really happy with the comments but will merge anyway so that you can move forward.

Sorry about that. I'll use AI in future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

src-pulseaudio PulseAudio Host API in src/hostapi/pulseaudio

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants