forked from PortAudio/portaudio
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Map PaStream to PaUtilStreamRepresentation
This change tells the compiler that a PaStream is really a PaUtilStreamRepresentation. Note the struct is still opaque to users, as they do not have access to the definition of that struct. The upside is reduced need for casts in the PortAudio implementation, as well as a possibly nicer debugging experience, as debuggers will now understand the contents of a PaStream. The downside is the typedef is now slightly uglier as it names a type that only the implementation is supposed to know about. This is purely cosmetic though as users do not have access to the definition of the struct.
- Loading branch information
Showing
4 changed files
with
23 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters