ports/audio/portaudio/files/patch-src_common_pa__stream.c
Tobias Kortkamp 1f33b362e2 audio/portaudio: Add three new functions* required by Audacity
* Pa_GetStreamHostApiType, PaOSS_GetStream{In,Out}putDevice

This will allow us to change audio/audacity to use audio/portaudio
instead of the bundled version.  End goal is sndio support in
Audacity without having to duplicate existing patches.

While here

- Remove unnecessary patches
- Cleanup DOCS and PATEST install
- Take maintainership

Obtained from:	Audacity 2.2.2's portaudio.patch
2018-07-18 02:53:35 +00:00

11 lines
379 B
C

--- src/common/pa_stream.c.orig 2018-07-17 06:44:39 UTC
+++ src/common/pa_stream.c
@@ -93,6 +93,8 @@ void PaUtil_InitializeStreamRepresentation( PaUtilStre
streamRepresentation->streamInfo.inputLatency = 0.;
streamRepresentation->streamInfo.outputLatency = 0.;
streamRepresentation->streamInfo.sampleRate = 0.;
+
+ streamRepresentation->hostApiType = 0;
}