1f33b362e2
* 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
29 lines
874 B
C
29 lines
874 B
C
$OpenBSD: patch-include_portaudio_h,v 1.2 2013/03/12 00:59:50 brad Exp $
|
|
--- include/portaudio.h.orig 2018-07-17 06:55:08 UTC
|
|
+++ include/portaudio.h
|
|
@@ -236,7 +236,8 @@ typedef enum PaHostApiTypeId
|
|
paWDMKS=11,
|
|
paJACK=12,
|
|
paWASAPI=13,
|
|
- paAudioScienceHPI=14
|
|
+ paAudioScienceHPI=14,
|
|
+ paSndio=15
|
|
} PaHostApiTypeId;
|
|
|
|
|
|
@@ -1144,6 +1145,15 @@ signed long Pa_GetStreamReadAvailable( PaStream* strea
|
|
error is encountered.
|
|
*/
|
|
signed long Pa_GetStreamWriteAvailable( PaStream* stream );
|
|
+
|
|
+
|
|
+/** Retrieve the host type handling an open stream.
|
|
+
|
|
+ @return Returns a non-negative value representing the host API type
|
|
+ handling an open stream or, a PaErrorCode (which are always negative)
|
|
+ if PortAudio is not initialized or an error is encountered.
|
|
+*/
|
|
+PaHostApiTypeId Pa_GetStreamHostApiType( PaStream* stream );
|
|
|
|
|
|
/* Miscellaneous utilities */
|