├── .editorconfig ├── .gitignore ├── .gitmodules ├── CODE_OF_CONDUCT.md ├── JackCS.sln ├── JackCS └── JackCS │ ├── Enums │ ├── JackLatencyCallbackMode.gen.cs │ ├── JackOptions.gen.cs │ ├── JackPortFlags.gen.cs │ ├── JackStatus.gen.cs │ ├── PositionBitsT.gen.cs │ ├── TransportBitsT.gen.cs │ └── TransportStateT.gen.cs │ ├── Jack.cs │ ├── Jack.gen.cs │ ├── JackCS.csproj │ ├── JackLibraryNameContainer.cs │ ├── JackOverloads.gen.cs │ └── Structs │ ├── Client.gen.cs │ ├── LatencyRange.gen.cs │ ├── PfnBvV.gen.cs │ ├── PfnJackClientRegistrationCallback.gen.cs │ ├── PfnJackFreewheelCallback.gen.cs │ ├── PfnJackGraphOrderCallback.gen.cs │ ├── PfnJackInfoShutdownCallback.gen.cs │ ├── PfnJackLatencyCallback.gen.cs │ ├── PfnJackPortConnectCallback.gen.cs │ ├── PfnJackPortRegistrationCallback.gen.cs │ ├── PfnJackPortRenameCallback.gen.cs │ ├── PfnJackProcessCallback.gen.cs │ ├── PfnJackSyncCallback.gen.cs │ ├── PfnJackThreadCallback.gen.cs │ ├── PfnJackThreadInitCallback.gen.cs │ ├── PfnJackTimebaseCallback.gen.cs │ ├── Port.gen.cs │ ├── Position.gen.cs │ └── TransportInfoT.gen.cs ├── LICENSE ├── README.md ├── csharp_typemap.json ├── generator.json ├── license_header.txt └── msbuild.props /.editorconfig: -------------------------------------------------------------------------------- 1 | [*] 2 | silk_touch_vtable_generate = true 3 | silk_touch_vtable_tree_emit_assert = true 4 | silk_touch_sealed_vtable_creation = true 5 | silk_touch_vtable_preload = false 6 | silk_touch_telemetry = false 7 | silk_touch_compact_file_format = true -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | ## 4 | ## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore 5 | 6 | # User-specific files 7 | *.rsuser 8 | *.suo 9 | *.user 10 | *.userosscache 11 | *.sln.docstates 12 | 13 | # User-specific files (MonoDevelop/Xamarin Studio) 14 | *.userprefs 15 | 16 | # Mono auto generated files 17 | mono_crash.* 18 | 19 | # Build results 20 | [Dd]ebug/ 21 | [Dd]ebugPublic/ 22 | [Rr]elease/ 23 | [Rr]eleases/ 24 | x64/ 25 | x86/ 26 | [Ww][Ii][Nn]32/ 27 | [Aa][Rr][Mm]/ 28 | [Aa][Rr][Mm]64/ 29 | bld/ 30 | [Bb]in/ 31 | [Oo]bj/ 32 | [Ll]og/ 33 | [Ll]ogs/ 34 | 35 | # Visual Studio 2015/2017 cache/options directory 36 | .vs/ 37 | # Uncomment if you have tasks that create the project's static files in wwwroot 38 | #wwwroot/ 39 | 40 | # Visual Studio 2017 auto generated files 41 | Generated\ Files/ 42 | 43 | # MSTest test Results 44 | [Tt]est[Rr]esult*/ 45 | [Bb]uild[Ll]og.* 46 | 47 | # NUnit 48 | *.VisualState.xml 49 | TestResult.xml 50 | nunit-*.xml 51 | 52 | # Build Results of an ATL Project 53 | [Dd]ebugPS/ 54 | [Rr]eleasePS/ 55 | dlldata.c 56 | 57 | # Benchmark Results 58 | BenchmarkDotNet.Artifacts/ 59 | 60 | # .NET 61 | project.lock.json 62 | project.fragment.lock.json 63 | artifacts/ 64 | 65 | # Tye 66 | .tye/ 67 | 68 | # ASP.NET Scaffolding 69 | ScaffoldingReadMe.txt 70 | 71 | # StyleCop 72 | StyleCopReport.xml 73 | 74 | # Files built by Visual Studio 75 | *_i.c 76 | *_p.c 77 | *_h.h 78 | *.ilk 79 | *.meta 80 | *.obj 81 | *.iobj 82 | *.pch 83 | *.pdb 84 | *.ipdb 85 | *.pgc 86 | *.pgd 87 | *.rsp 88 | *.sbr 89 | *.tlb 90 | *.tli 91 | *.tlh 92 | *.tmp 93 | *.tmp_proj 94 | *_wpftmp.csproj 95 | *.log 96 | *.tlog 97 | *.vspscc 98 | *.vssscc 99 | .builds 100 | *.pidb 101 | *.svclog 102 | *.scc 103 | 104 | # Chutzpah Test files 105 | _Chutzpah* 106 | 107 | # Visual C++ cache files 108 | ipch/ 109 | *.aps 110 | *.ncb 111 | *.opendb 112 | *.opensdf 113 | *.sdf 114 | *.cachefile 115 | *.VC.db 116 | *.VC.VC.opendb 117 | 118 | # Visual Studio profiler 119 | *.psess 120 | *.vsp 121 | *.vspx 122 | *.sap 123 | 124 | # Visual Studio Trace Files 125 | *.e2e 126 | 127 | # TFS 2012 Local Workspace 128 | $tf/ 129 | 130 | # Guidance Automation Toolkit 131 | *.gpState 132 | 133 | # ReSharper is a .NET coding add-in 134 | _ReSharper*/ 135 | *.[Rr]e[Ss]harper 136 | *.DotSettings.user 137 | 138 | # TeamCity is a build add-in 139 | _TeamCity* 140 | 141 | # DotCover is a Code Coverage Tool 142 | *.dotCover 143 | 144 | # AxoCover is a Code Coverage Tool 145 | .axoCover/* 146 | !.axoCover/settings.json 147 | 148 | # Coverlet is a free, cross platform Code Coverage Tool 149 | coverage*.json 150 | coverage*.xml 151 | coverage*.info 152 | 153 | # Visual Studio code coverage results 154 | *.coverage 155 | *.coveragexml 156 | 157 | # NCrunch 158 | _NCrunch_* 159 | .*crunch*.local.xml 160 | nCrunchTemp_* 161 | 162 | # MightyMoose 163 | *.mm.* 164 | AutoTest.Net/ 165 | 166 | # Web workbench (sass) 167 | .sass-cache/ 168 | 169 | # Installshield output folder 170 | [Ee]xpress/ 171 | 172 | # DocProject is a documentation generator add-in 173 | DocProject/buildhelp/ 174 | DocProject/Help/*.HxT 175 | DocProject/Help/*.HxC 176 | DocProject/Help/*.hhc 177 | DocProject/Help/*.hhk 178 | DocProject/Help/*.hhp 179 | DocProject/Help/Html2 180 | DocProject/Help/html 181 | 182 | # Click-Once directory 183 | publish/ 184 | 185 | # Publish Web Output 186 | *.[Pp]ublish.xml 187 | *.azurePubxml 188 | # Note: Comment the next line if you want to checkin your web deploy settings, 189 | # but database connection strings (with potential passwords) will be unencrypted 190 | *.pubxml 191 | *.publishproj 192 | 193 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 194 | # checkin your Azure Web App publish settings, but sensitive information contained 195 | # in these scripts will be unencrypted 196 | PublishScripts/ 197 | 198 | # NuGet Packages 199 | *.nupkg 200 | # NuGet Symbol Packages 201 | *.snupkg 202 | # The packages folder can be ignored because of Package Restore 203 | **/[Pp]ackages/* 204 | # except build/, which is used as an MSBuild target. 205 | !**/[Pp]ackages/build/ 206 | # Uncomment if necessary however generally it will be regenerated when needed 207 | #!**/[Pp]ackages/repositories.config 208 | # NuGet v3's project.json files produces more ignorable files 209 | *.nuget.props 210 | *.nuget.targets 211 | 212 | # Microsoft Azure Build Output 213 | csx/ 214 | *.build.csdef 215 | 216 | # Microsoft Azure Emulator 217 | ecf/ 218 | rcf/ 219 | 220 | # Windows Store app package directories and files 221 | AppPackages/ 222 | BundleArtifacts/ 223 | Package.StoreAssociation.xml 224 | _pkginfo.txt 225 | *.appx 226 | *.appxbundle 227 | *.appxupload 228 | 229 | # Visual Studio cache files 230 | # files ending in .cache can be ignored 231 | *.[Cc]ache 232 | # but keep track of directories ending in .cache 233 | !?*.[Cc]ache/ 234 | 235 | # Others 236 | ClientBin/ 237 | ~$* 238 | *~ 239 | *.dbmdl 240 | *.dbproj.schemaview 241 | *.jfm 242 | *.pfx 243 | *.publishsettings 244 | orleans.codegen.cs 245 | 246 | # Including strong name files can present a security risk 247 | # (https://github.com/github/gitignore/pull/2483#issue-259490424) 248 | #*.snk 249 | 250 | # Since there are multiple workflows, uncomment next line to ignore bower_components 251 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 252 | #bower_components/ 253 | 254 | # RIA/Silverlight projects 255 | Generated_Code/ 256 | 257 | # Backup & report files from converting an old project file 258 | # to a newer Visual Studio version. Backup files are not needed, 259 | # because we have git ;-) 260 | _UpgradeReport_Files/ 261 | Backup*/ 262 | UpgradeLog*.XML 263 | UpgradeLog*.htm 264 | ServiceFabricBackup/ 265 | *.rptproj.bak 266 | 267 | # SQL Server files 268 | *.mdf 269 | *.ldf 270 | *.ndf 271 | 272 | # Business Intelligence projects 273 | *.rdl.data 274 | *.bim.layout 275 | *.bim_*.settings 276 | *.rptproj.rsuser 277 | *- [Bb]ackup.rdl 278 | *- [Bb]ackup ([0-9]).rdl 279 | *- [Bb]ackup ([0-9][0-9]).rdl 280 | 281 | # Microsoft Fakes 282 | FakesAssemblies/ 283 | 284 | # GhostDoc plugin setting file 285 | *.GhostDoc.xml 286 | 287 | # Node.js Tools for Visual Studio 288 | .ntvs_analysis.dat 289 | node_modules/ 290 | 291 | # Visual Studio 6 build log 292 | *.plg 293 | 294 | # Visual Studio 6 workspace options file 295 | *.opt 296 | 297 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 298 | *.vbw 299 | 300 | # Visual Studio 6 auto-generated project file (contains which files were open etc.) 301 | *.vbp 302 | 303 | # Visual Studio 6 workspace and project file (working project files containing files to include in project) 304 | *.dsw 305 | *.dsp 306 | 307 | # Visual Studio 6 technical files 308 | *.ncb 309 | *.aps 310 | 311 | # Visual Studio LightSwitch build output 312 | **/*.HTMLClient/GeneratedArtifacts 313 | **/*.DesktopClient/GeneratedArtifacts 314 | **/*.DesktopClient/ModelManifest.xml 315 | **/*.Server/GeneratedArtifacts 316 | **/*.Server/ModelManifest.xml 317 | _Pvt_Extensions 318 | 319 | # Paket dependency manager 320 | .paket/paket.exe 321 | paket-files/ 322 | 323 | # FAKE - F# Make 324 | .fake/ 325 | 326 | # CodeRush personal settings 327 | .cr/personal 328 | 329 | # Python Tools for Visual Studio (PTVS) 330 | __pycache__/ 331 | *.pyc 332 | 333 | # Cake - Uncomment if you are using it 334 | # tools/** 335 | # !tools/packages.config 336 | 337 | # Tabs Studio 338 | *.tss 339 | 340 | # Telerik's JustMock configuration file 341 | *.jmconfig 342 | 343 | # BizTalk build output 344 | *.btp.cs 345 | *.btm.cs 346 | *.odx.cs 347 | *.xsd.cs 348 | 349 | # OpenCover UI analysis results 350 | OpenCover/ 351 | 352 | # Azure Stream Analytics local run output 353 | ASALocalRun/ 354 | 355 | # MSBuild Binary and Structured Log 356 | *.binlog 357 | 358 | # NVidia Nsight GPU debugger configuration file 359 | *.nvuser 360 | 361 | # MFractors (Xamarin productivity tool) working folder 362 | .mfractor/ 363 | 364 | # Local History for Visual Studio 365 | .localhistory/ 366 | 367 | # Visual Studio History (VSHistory) files 368 | .vshistory/ 369 | 370 | # BeatPulse healthcheck temp database 371 | healthchecksdb 372 | 373 | # Backup folder for Package Reference Convert tool in Visual Studio 2017 374 | MigrationBackup/ 375 | 376 | # Ionide (cross platform F# VS Code tools) working folder 377 | .ionide/ 378 | 379 | # Fody - auto-generated XML schema 380 | FodyWeavers.xsd 381 | 382 | # VS Code files for those working on multiple tools 383 | .vscode/* 384 | !.vscode/settings.json 385 | !.vscode/tasks.json 386 | !.vscode/launch.json 387 | !.vscode/extensions.json 388 | *.code-workspace 389 | 390 | # Local History for Visual Studio Code 391 | .history/ 392 | 393 | # Windows Installer files from build outputs 394 | *.cab 395 | *.msi 396 | *.msix 397 | *.msm 398 | *.msp 399 | 400 | # JetBrains Rider 401 | *.sln.iml 402 | 403 | ## 404 | ## Visual studio for Mac 405 | ## 406 | 407 | 408 | # globs 409 | Makefile.in 410 | *.userprefs 411 | *.usertasks 412 | config.make 413 | config.status 414 | aclocal.m4 415 | install-sh 416 | autom4te.cache/ 417 | *.tar.gz 418 | tarballs/ 419 | test-results/ 420 | 421 | # Mac bundle stuff 422 | *.dmg 423 | *.app 424 | 425 | # content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore 426 | # General 427 | .DS_Store 428 | .AppleDouble 429 | .LSOverride 430 | 431 | # Icon must end with two \r 432 | Icon 433 | 434 | 435 | # Thumbnails 436 | ._* 437 | 438 | # Files that might appear in the root of a volume 439 | .DocumentRevisions-V100 440 | .fseventsd 441 | .Spotlight-V100 442 | .TemporaryItems 443 | .Trashes 444 | .VolumeIcon.icns 445 | .com.apple.timemachine.donotpresent 446 | 447 | # Directories potentially created on remote AFP share 448 | .AppleDB 449 | .AppleDesktop 450 | Network Trash Folder 451 | Temporary Items 452 | .apdisk 453 | 454 | # content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore 455 | # Windows thumbnail cache files 456 | Thumbs.db 457 | ehthumbs.db 458 | ehthumbs_vista.db 459 | 460 | # Dump file 461 | *.stackdump 462 | 463 | # Folder config file 464 | [Dd]esktop.ini 465 | 466 | # Recycle Bin used on file shares 467 | $RECYCLE.BIN/ 468 | 469 | # Windows Installer files 470 | *.cab 471 | *.msi 472 | *.msix 473 | *.msm 474 | *.msp 475 | 476 | # Windows shortcuts 477 | *.lnk 478 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "jack2"] 2 | path = jack2 3 | url = https://github.com/jackaudio/jack2/ 4 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | We as members, contributors, and leaders pledge to make participation in our 6 | community a harassment-free experience for everyone, regardless of age, body 7 | size, visible or invisible disability, ethnicity, sex characteristics, gender 8 | identity and expression, level of experience, education, socio-economic status, 9 | nationality, personal appearance, race, religion, or sexual identity 10 | and orientation. 11 | 12 | We pledge to act and interact in ways that contribute to an open, welcoming, 13 | diverse, inclusive, and healthy community. 14 | 15 | ## Our Standards 16 | 17 | Examples of behavior that contributes to a positive environment for our 18 | community include: 19 | 20 | * Demonstrating empathy and kindness toward other people 21 | * Being respectful of differing opinions, viewpoints, and experiences 22 | * Giving and gracefully accepting constructive feedback 23 | * Accepting responsibility and apologizing to those affected by our mistakes, 24 | and learning from the experience 25 | * Focusing on what is best not just for us as individuals, but for the 26 | overall community 27 | 28 | Examples of unacceptable behavior include: 29 | 30 | * The use of sexualized language or imagery, and sexual attention or 31 | advances of any kind 32 | * Trolling, insulting or derogatory comments, and personal or political attacks 33 | * Public or private harassment 34 | * Publishing others' private information, such as a physical or email 35 | address, without their explicit permission 36 | * Other conduct which could reasonably be considered inappropriate in a 37 | professional setting 38 | 39 | ## Enforcement Responsibilities 40 | 41 | Community leaders are responsible for clarifying and enforcing our standards of 42 | acceptable behavior and will take appropriate and fair corrective action in 43 | response to any behavior that they deem inappropriate, threatening, offensive, 44 | or harmful. 45 | 46 | Community leaders have the right and responsibility to remove, edit, or reject 47 | comments, commits, code, wiki edits, issues, and other contributions that are 48 | not aligned to this Code of Conduct, and will communicate reasons for moderation 49 | decisions when appropriate. 50 | 51 | ## Scope 52 | 53 | This Code of Conduct applies within all community spaces, and also applies when 54 | an individual is officially representing the community in public spaces. 55 | Examples of representing our community include using an official e-mail address, 56 | posting via an official social media account, or acting as an appointed 57 | representative at an online or offline event. 58 | 59 | ## Enforcement 60 | 61 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 62 | reported to the community leaders responsible for enforcement in the Silk.NET 63 | Discord Server. 64 | All complaints will be reviewed and investigated promptly and fairly. 65 | 66 | All community leaders are obligated to respect the privacy and security of the 67 | reporter of any incident. 68 | 69 | ## Enforcement Guidelines 70 | 71 | Community leaders will follow these Community Impact Guidelines in determining 72 | the consequences for any action they deem in violation of this Code of Conduct: 73 | 74 | ### 1. Correction 75 | 76 | **Community Impact**: Use of inappropriate language or other behavior deemed 77 | unprofessional or unwelcome in the community. 78 | 79 | **Consequence**: A private, written warning from community leaders, providing 80 | clarity around the nature of the violation and an explanation of why the 81 | behavior was inappropriate. A public apology may be requested. 82 | 83 | ### 2. Warning 84 | 85 | **Community Impact**: A violation through a single incident or series 86 | of actions. 87 | 88 | **Consequence**: A warning with consequences for continued behavior. No 89 | interaction with the people involved, including unsolicited interaction with 90 | those enforcing the Code of Conduct, for a specified period of time. This 91 | includes avoiding interactions in community spaces as well as external channels 92 | like social media. Violating these terms may lead to a temporary or 93 | permanent ban. 94 | 95 | ### 3. Temporary Ban 96 | 97 | **Community Impact**: A serious violation of community standards, including 98 | sustained inappropriate behavior. 99 | 100 | **Consequence**: A temporary ban from any sort of interaction or public 101 | communication with the community for a specified period of time. No public or 102 | private interaction with the people involved, including unsolicited interaction 103 | with those enforcing the Code of Conduct, is allowed during this period. 104 | Violating these terms may lead to a permanent ban. 105 | 106 | ### 4. Permanent Ban 107 | 108 | **Community Impact**: Demonstrating a pattern of violation of community 109 | standards, including sustained inappropriate behavior, harassment of an 110 | individual, or aggression toward or disparagement of classes of individuals. 111 | 112 | **Consequence**: A permanent ban from any sort of public interaction within 113 | the community. 114 | 115 | ## Attribution 116 | 117 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], 118 | version 2.0, available at 119 | https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. 120 | 121 | Community Impact Guidelines were inspired by [Mozilla's code of conduct 122 | enforcement ladder](https://github.com/mozilla/diversity). 123 | 124 | [homepage]: https://www.contributor-covenant.org 125 | 126 | For answers to common questions about this code of conduct, see the FAQ at 127 | https://www.contributor-covenant.org/faq. Translations are available at 128 | https://www.contributor-covenant.org/translations. 129 | -------------------------------------------------------------------------------- /JackCS.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.0.31903.59 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "JackCS", "JackCS", "{8188F16B-786B-4413-891D-A1F6BE64F00D}" 7 | EndProject 8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JackCS", "JackCS\JackCS\JackCS.csproj", "{37BD8674-9B2A-4427-9B23-C4F4C5DB7B18}" 9 | EndProject 10 | Global 11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 12 | Debug|Any CPU = Debug|Any CPU 13 | Release|Any CPU = Release|Any CPU 14 | EndGlobalSection 15 | GlobalSection(SolutionProperties) = preSolution 16 | HideSolutionNode = FALSE 17 | EndGlobalSection 18 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 19 | {37BD8674-9B2A-4427-9B23-C4F4C5DB7B18}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 20 | {37BD8674-9B2A-4427-9B23-C4F4C5DB7B18}.Debug|Any CPU.Build.0 = Debug|Any CPU 21 | {37BD8674-9B2A-4427-9B23-C4F4C5DB7B18}.Release|Any CPU.ActiveCfg = Release|Any CPU 22 | {37BD8674-9B2A-4427-9B23-C4F4C5DB7B18}.Release|Any CPU.Build.0 = Release|Any CPU 23 | EndGlobalSection 24 | GlobalSection(NestedProjects) = preSolution 25 | {37BD8674-9B2A-4427-9B23-C4F4C5DB7B18} = {8188F16B-786B-4413-891D-A1F6BE64F00D} 26 | EndGlobalSection 27 | EndGlobal 28 | -------------------------------------------------------------------------------- /JackCS/JackCS/Enums/JackLatencyCallbackMode.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using Silk.NET.Core.Attributes; 6 | 7 | #pragma warning disable 1591 8 | 9 | namespace JackCS 10 | { 11 | [Flags] 12 | [NativeName("Name", "JackLatencyCallbackMode")] 13 | public enum JackLatencyCallbackMode : int 14 | { 15 | [NativeName("Name", "")] 16 | None = 0, 17 | [NativeName("Name", "JackCaptureLatency")] 18 | JackCaptureLatency = 0x0, 19 | [NativeName("Name", "JackPlaybackLatency")] 20 | JackPlaybackLatency = 0x1, 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /JackCS/JackCS/Enums/JackOptions.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using Silk.NET.Core.Attributes; 6 | 7 | #pragma warning disable 1591 8 | 9 | namespace JackCS 10 | { 11 | [Flags] 12 | [NativeName("Name", "JackOptions")] 13 | public enum JackOptions : int 14 | { 15 | [NativeName("Name", "")] 16 | None = 0, 17 | [NativeName("Name", "JackNullOption")] 18 | JackNullOption = 0x0, 19 | [NativeName("Name", "JackNoStartServer")] 20 | JackNoStartServer = 0x1, 21 | [NativeName("Name", "JackUseExactName")] 22 | JackUseExactName = 0x2, 23 | [NativeName("Name", "JackServerName")] 24 | JackServerName = 0x4, 25 | [NativeName("Name", "JackLoadName")] 26 | JackLoadName = 0x8, 27 | [NativeName("Name", "JackLoadInit")] 28 | JackLoadInit = 0x10, 29 | [NativeName("Name", "JackSessionID")] 30 | JackSessionID = 0x20, 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /JackCS/JackCS/Enums/JackPortFlags.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using Silk.NET.Core.Attributes; 6 | 7 | #pragma warning disable 1591 8 | 9 | namespace JackCS 10 | { 11 | [Flags] 12 | [NativeName("Name", "JackPortFlags")] 13 | public enum JackPortFlags : int 14 | { 15 | [NativeName("Name", "")] 16 | None = 0, 17 | [NativeName("Name", "JackPortIsInput")] 18 | JackPortIsInput = 0x1, 19 | [NativeName("Name", "JackPortIsOutput")] 20 | JackPortIsOutput = 0x2, 21 | [NativeName("Name", "JackPortIsPhysical")] 22 | JackPortIsPhysical = 0x4, 23 | [NativeName("Name", "JackPortCanMonitor")] 24 | JackPortCanMonitor = 0x8, 25 | [NativeName("Name", "JackPortIsTerminal")] 26 | JackPortIsTerminal = 0x10, 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /JackCS/JackCS/Enums/JackStatus.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using Silk.NET.Core.Attributes; 6 | 7 | #pragma warning disable 1591 8 | 9 | namespace JackCS 10 | { 11 | [Flags] 12 | [NativeName("Name", "JackStatus")] 13 | public enum JackStatus : int 14 | { 15 | [NativeName("Name", "")] 16 | None = 0, 17 | [NativeName("Name", "JackFailure")] 18 | JackFailure = 0x1, 19 | [NativeName("Name", "JackInvalidOption")] 20 | JackInvalidOption = 0x2, 21 | [NativeName("Name", "JackNameNotUnique")] 22 | JackNameNotUnique = 0x4, 23 | [NativeName("Name", "JackServerStarted")] 24 | JackServerStarted = 0x8, 25 | [NativeName("Name", "JackServerFailed")] 26 | JackServerFailed = 0x10, 27 | [NativeName("Name", "JackServerError")] 28 | JackServerError = 0x20, 29 | [NativeName("Name", "JackNoSuchClient")] 30 | JackNoSuchClient = 0x40, 31 | [NativeName("Name", "JackLoadFailure")] 32 | JackLoadFailure = 0x80, 33 | [NativeName("Name", "JackInitFailure")] 34 | JackInitFailure = 0x100, 35 | [NativeName("Name", "JackShmFailure")] 36 | JackShmFailure = 0x200, 37 | [NativeName("Name", "JackVersionError")] 38 | JackVersionError = 0x400, 39 | [NativeName("Name", "JackBackendError")] 40 | JackBackendError = 0x800, 41 | [NativeName("Name", "JackClientZombie")] 42 | JackClientZombie = 0x1000, 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /JackCS/JackCS/Enums/PositionBitsT.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using Silk.NET.Core.Attributes; 6 | 7 | #pragma warning disable 1591 8 | 9 | namespace JackCS 10 | { 11 | [Flags] 12 | [NativeName("AnonymousName", "__AnonymousEnum_types_L539_C9")] 13 | [NativeName("Name", "jack_position_bits_t")] 14 | public enum PositionBitsT : int 15 | { 16 | [NativeName("Name", "")] 17 | None = 0, 18 | [NativeName("Name", "JackPositionBBT")] 19 | JackPositionBbt = 0x10, 20 | [NativeName("Name", "JackPositionTimecode")] 21 | JackPositionTimecode = 0x20, 22 | [NativeName("Name", "JackBBTFrameOffset")] 23 | JackBbtframeOffset = 0x40, 24 | [NativeName("Name", "JackAudioVideoRatio")] 25 | JackAudioVideoRatio = 0x80, 26 | [NativeName("Name", "JackVideoFrameOffset")] 27 | JackVideoFrameOffset = 0x100, 28 | [NativeName("Name", "JackTickDouble")] 29 | JackTickDouble = 0x200, 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /JackCS/JackCS/Enums/TransportBitsT.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using Silk.NET.Core.Attributes; 6 | 7 | #pragma warning disable 1591 8 | 9 | namespace JackCS 10 | { 11 | [Flags] 12 | [NativeName("AnonymousName", "__AnonymousEnum_types_L707_C9")] 13 | [NativeName("Name", "jack_transport_bits_t")] 14 | public enum TransportBitsT : int 15 | { 16 | [NativeName("Name", "")] 17 | None = 0, 18 | [NativeName("Name", "JackTransportState")] 19 | JackTransportState = 0x1, 20 | [NativeName("Name", "JackTransportPosition")] 21 | JackTransportPosition = 0x2, 22 | [NativeName("Name", "JackTransportLoop")] 23 | JackTransportLoop = 0x4, 24 | [NativeName("Name", "JackTransportSMPTE")] 25 | JackTransportSmpte = 0x8, 26 | [NativeName("Name", "JackTransportBBT")] 27 | JackTransportBbt = 0x10, 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /JackCS/JackCS/Enums/TransportStateT.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using Silk.NET.Core.Attributes; 6 | 7 | #pragma warning disable 1591 8 | 9 | namespace JackCS 10 | { 11 | [Flags] 12 | [NativeName("AnonymousName", "__AnonymousEnum_types_L523_C9")] 13 | [NativeName("Name", "jack_transport_state_t")] 14 | public enum TransportStateT : int 15 | { 16 | [NativeName("Name", "")] 17 | None = 0, 18 | [NativeName("Name", "JackTransportStopped")] 19 | JackTransportStopped = 0x0, 20 | [NativeName("Name", "JackTransportRolling")] 21 | JackTransportRolling = 0x1, 22 | [NativeName("Name", "JackTransportLooping")] 23 | JackTransportLooping = 0x2, 24 | [NativeName("Name", "JackTransportStarting")] 25 | JackTransportStarting = 0x3, 26 | [NativeName("Name", "JackTransportNetStarting")] 27 | JackTransportNetStarting = 0x4, 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /JackCS/JackCS/Jack.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | using System.Runtime.CompilerServices; 4 | using System.Text; 5 | using Silk.NET.Core; 6 | using Silk.NET.Core.Native; 7 | using Silk.NET.Core.Attributes; 8 | using Silk.NET.Core.Contexts; 9 | using Silk.NET.Core.Loader; 10 | using static Silk.NET.Core.Attributes.ExtensionAttribute; 11 | 12 | #pragma warning disable 1591 13 | 14 | namespace JackCS 15 | { 16 | public partial class Jack 17 | { 18 | public static Jack GetApi() 19 | { 20 | return new(CreateDefaultContext(new JackLibraryNameContainer().GetLibraryName())); 21 | } 22 | 23 | public bool TryGetExtension(out T ext) 24 | where T:NativeExtension 25 | { 26 | ext = IsExtensionPresent(GetExtensionAttribute(typeof(T)).Name) 27 | ? (T) Activator.CreateInstance(typeof(T), Context) 28 | : null; 29 | return ext is not null; 30 | } 31 | 32 | public override bool IsExtensionPresent(string extension) 33 | { 34 | throw new NotImplementedException(); 35 | } 36 | } 37 | } 38 | 39 | -------------------------------------------------------------------------------- /JackCS/JackCS/JackCS.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | net6.0 5 | true 6 | preview 7 | 1.0.0 8 | Beyley 9 | https://github.com/SilkCommunity/JackCS/blob/master/LICENSE 10 | https://github.com/SilkCommunity/JackCS 11 | git 12 | C# audio Jack sound dotnet Windows MacOS Linux Wrapper Native Bindings .NET 13 | JackCS 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /JackCS/JackCS/JackLibraryNameContainer.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | using Silk.NET.Core.Loader; 4 | 5 | namespace JackCS 6 | { 7 | /// 8 | /// Contains the library name of jack. 9 | /// 10 | internal class JackLibraryNameContainer : SearchPathContainer 11 | { 12 | /// 13 | public override string[] Linux => new[] { "libjack.so" }; 14 | 15 | /// 16 | public override string[] MacOS => new[] { "libjack.dylib" }; 17 | 18 | /// 19 | public override string[] Android => new[] { "libjack.so" }; 20 | 21 | /// 22 | public override string[] IOS => new[] { "libjack.dylib" }; 23 | 24 | /// 25 | public override string[] Windows64 => new[] { "libjack.dll" }; 26 | 27 | /// 28 | public override string[] Windows86 => new[] { "libjack.dll" }; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/Client.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | [NativeName("Name", "_jack_client")] 19 | public unsafe partial struct Client 20 | { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/LatencyRange.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | [StructLayout(LayoutKind.Sequential, Pack = 1)] 19 | [NativeName("Name", "_jack_latency_range")] 20 | public unsafe partial struct LatencyRange 21 | { 22 | public LatencyRange 23 | ( 24 | uint? min = null, 25 | uint? max = null 26 | ) : this() 27 | { 28 | if (min is not null) 29 | { 30 | Min = min.Value; 31 | } 32 | 33 | if (max is not null) 34 | { 35 | Max = max.Value; 36 | } 37 | } 38 | 39 | 40 | [NativeName("Type", "jack_nframes_t")] 41 | [NativeName("Type.Name", "jack_nframes_t")] 42 | [NativeName("Name", "min")] 43 | public uint Min; 44 | 45 | [NativeName("Type", "jack_nframes_t")] 46 | [NativeName("Type.Name", "jack_nframes_t")] 47 | [NativeName("Name", "max")] 48 | public uint Max; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/PfnBvV.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | public unsafe readonly struct PfnBvV : IDisposable 19 | { 20 | private readonly void* _handle; 21 | public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; 22 | public PfnBvV 23 | ( 24 | delegate* unmanaged[Cdecl] ptr 25 | ) => _handle = ptr; 26 | 27 | public PfnBvV 28 | ( 29 | BvVProc proc 30 | ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); 31 | 32 | public static PfnBvV From(BvVProc proc) => new PfnBvV(proc); 33 | public void Dispose() => SilkMarshal.Free((nint) _handle); 34 | 35 | public static implicit operator nint(PfnBvV pfn) => (nint) pfn.Handle; 36 | public static explicit operator PfnBvV(nint pfn) 37 | => new PfnBvV((delegate* unmanaged[Cdecl]) pfn); 38 | 39 | public static implicit operator PfnBvV(BvVProc proc) 40 | => new PfnBvV(proc); 41 | 42 | public static explicit operator BvVProc(PfnBvV pfn) 43 | => SilkMarshal.PtrToDelegate(pfn); 44 | 45 | public static implicit operator delegate* unmanaged[Cdecl](PfnBvV pfn) => pfn.Handle; 46 | public static implicit operator PfnBvV(delegate* unmanaged[Cdecl] ptr) => new PfnBvV(ptr); 47 | } 48 | 49 | [UnmanagedFunctionPointer(CallingConvention.Cdecl)] 50 | public unsafe delegate void BvVProc(byte* arg0); 51 | } 52 | 53 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/PfnJackClientRegistrationCallback.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | public unsafe readonly struct PfnJackClientRegistrationCallback : IDisposable 19 | { 20 | private readonly void* _handle; 21 | public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; 22 | public PfnJackClientRegistrationCallback 23 | ( 24 | delegate* unmanaged[Cdecl] ptr 25 | ) => _handle = ptr; 26 | 27 | public PfnJackClientRegistrationCallback 28 | ( 29 | JackClientRegistrationCallback proc 30 | ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); 31 | 32 | public static PfnJackClientRegistrationCallback From(JackClientRegistrationCallback proc) => new PfnJackClientRegistrationCallback(proc); 33 | public void Dispose() => SilkMarshal.Free((nint) _handle); 34 | 35 | public static implicit operator nint(PfnJackClientRegistrationCallback pfn) => (nint) pfn.Handle; 36 | public static explicit operator PfnJackClientRegistrationCallback(nint pfn) 37 | => new PfnJackClientRegistrationCallback((delegate* unmanaged[Cdecl]) pfn); 38 | 39 | public static implicit operator PfnJackClientRegistrationCallback(JackClientRegistrationCallback proc) 40 | => new PfnJackClientRegistrationCallback(proc); 41 | 42 | public static explicit operator JackClientRegistrationCallback(PfnJackClientRegistrationCallback pfn) 43 | => SilkMarshal.PtrToDelegate(pfn); 44 | 45 | public static implicit operator delegate* unmanaged[Cdecl](PfnJackClientRegistrationCallback pfn) => pfn.Handle; 46 | public static implicit operator PfnJackClientRegistrationCallback(delegate* unmanaged[Cdecl] ptr) => new PfnJackClientRegistrationCallback(ptr); 47 | } 48 | 49 | [UnmanagedFunctionPointer(CallingConvention.Cdecl)] 50 | public unsafe delegate void JackClientRegistrationCallback(byte* arg0, int arg1, void* arg2); 51 | } 52 | 53 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/PfnJackFreewheelCallback.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | public unsafe readonly struct PfnJackFreewheelCallback : IDisposable 19 | { 20 | private readonly void* _handle; 21 | public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; 22 | public PfnJackFreewheelCallback 23 | ( 24 | delegate* unmanaged[Cdecl] ptr 25 | ) => _handle = ptr; 26 | 27 | public PfnJackFreewheelCallback 28 | ( 29 | JackFreewheelCallback proc 30 | ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); 31 | 32 | public static PfnJackFreewheelCallback From(JackFreewheelCallback proc) => new PfnJackFreewheelCallback(proc); 33 | public void Dispose() => SilkMarshal.Free((nint) _handle); 34 | 35 | public static implicit operator nint(PfnJackFreewheelCallback pfn) => (nint) pfn.Handle; 36 | public static explicit operator PfnJackFreewheelCallback(nint pfn) 37 | => new PfnJackFreewheelCallback((delegate* unmanaged[Cdecl]) pfn); 38 | 39 | public static implicit operator PfnJackFreewheelCallback(JackFreewheelCallback proc) 40 | => new PfnJackFreewheelCallback(proc); 41 | 42 | public static explicit operator JackFreewheelCallback(PfnJackFreewheelCallback pfn) 43 | => SilkMarshal.PtrToDelegate(pfn); 44 | 45 | public static implicit operator delegate* unmanaged[Cdecl](PfnJackFreewheelCallback pfn) => pfn.Handle; 46 | public static implicit operator PfnJackFreewheelCallback(delegate* unmanaged[Cdecl] ptr) => new PfnJackFreewheelCallback(ptr); 47 | } 48 | 49 | [UnmanagedFunctionPointer(CallingConvention.Cdecl)] 50 | public unsafe delegate void JackFreewheelCallback(int arg0, void* arg1); 51 | } 52 | 53 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/PfnJackGraphOrderCallback.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | public unsafe readonly struct PfnJackGraphOrderCallback : IDisposable 19 | { 20 | private readonly void* _handle; 21 | public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; 22 | public PfnJackGraphOrderCallback 23 | ( 24 | delegate* unmanaged[Cdecl] ptr 25 | ) => _handle = ptr; 26 | 27 | public PfnJackGraphOrderCallback 28 | ( 29 | JackGraphOrderCallback proc 30 | ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); 31 | 32 | public static PfnJackGraphOrderCallback From(JackGraphOrderCallback proc) => new PfnJackGraphOrderCallback(proc); 33 | public void Dispose() => SilkMarshal.Free((nint) _handle); 34 | 35 | public static implicit operator nint(PfnJackGraphOrderCallback pfn) => (nint) pfn.Handle; 36 | public static explicit operator PfnJackGraphOrderCallback(nint pfn) 37 | => new PfnJackGraphOrderCallback((delegate* unmanaged[Cdecl]) pfn); 38 | 39 | public static implicit operator PfnJackGraphOrderCallback(JackGraphOrderCallback proc) 40 | => new PfnJackGraphOrderCallback(proc); 41 | 42 | public static explicit operator JackGraphOrderCallback(PfnJackGraphOrderCallback pfn) 43 | => SilkMarshal.PtrToDelegate(pfn); 44 | 45 | public static implicit operator delegate* unmanaged[Cdecl](PfnJackGraphOrderCallback pfn) => pfn.Handle; 46 | public static implicit operator PfnJackGraphOrderCallback(delegate* unmanaged[Cdecl] ptr) => new PfnJackGraphOrderCallback(ptr); 47 | } 48 | 49 | [UnmanagedFunctionPointer(CallingConvention.Cdecl)] 50 | public unsafe delegate int JackGraphOrderCallback(void* arg0); 51 | } 52 | 53 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/PfnJackInfoShutdownCallback.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | public unsafe readonly struct PfnJackInfoShutdownCallback : IDisposable 19 | { 20 | private readonly void* _handle; 21 | public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; 22 | public PfnJackInfoShutdownCallback 23 | ( 24 | delegate* unmanaged[Cdecl] ptr 25 | ) => _handle = ptr; 26 | 27 | public PfnJackInfoShutdownCallback 28 | ( 29 | JackInfoShutdownCallback proc 30 | ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); 31 | 32 | public static PfnJackInfoShutdownCallback From(JackInfoShutdownCallback proc) => new PfnJackInfoShutdownCallback(proc); 33 | public void Dispose() => SilkMarshal.Free((nint) _handle); 34 | 35 | public static implicit operator nint(PfnJackInfoShutdownCallback pfn) => (nint) pfn.Handle; 36 | public static explicit operator PfnJackInfoShutdownCallback(nint pfn) 37 | => new PfnJackInfoShutdownCallback((delegate* unmanaged[Cdecl]) pfn); 38 | 39 | public static implicit operator PfnJackInfoShutdownCallback(JackInfoShutdownCallback proc) 40 | => new PfnJackInfoShutdownCallback(proc); 41 | 42 | public static explicit operator JackInfoShutdownCallback(PfnJackInfoShutdownCallback pfn) 43 | => SilkMarshal.PtrToDelegate(pfn); 44 | 45 | public static implicit operator delegate* unmanaged[Cdecl](PfnJackInfoShutdownCallback pfn) => pfn.Handle; 46 | public static implicit operator PfnJackInfoShutdownCallback(delegate* unmanaged[Cdecl] ptr) => new PfnJackInfoShutdownCallback(ptr); 47 | } 48 | 49 | [UnmanagedFunctionPointer(CallingConvention.Cdecl)] 50 | public unsafe delegate void JackInfoShutdownCallback(JackStatus arg0, byte* arg1, void* arg2); 51 | } 52 | 53 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/PfnJackLatencyCallback.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | public unsafe readonly struct PfnJackLatencyCallback : IDisposable 19 | { 20 | private readonly void* _handle; 21 | public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; 22 | public PfnJackLatencyCallback 23 | ( 24 | delegate* unmanaged[Cdecl] ptr 25 | ) => _handle = ptr; 26 | 27 | public PfnJackLatencyCallback 28 | ( 29 | JackLatencyCallback proc 30 | ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); 31 | 32 | public static PfnJackLatencyCallback From(JackLatencyCallback proc) => new PfnJackLatencyCallback(proc); 33 | public void Dispose() => SilkMarshal.Free((nint) _handle); 34 | 35 | public static implicit operator nint(PfnJackLatencyCallback pfn) => (nint) pfn.Handle; 36 | public static explicit operator PfnJackLatencyCallback(nint pfn) 37 | => new PfnJackLatencyCallback((delegate* unmanaged[Cdecl]) pfn); 38 | 39 | public static implicit operator PfnJackLatencyCallback(JackLatencyCallback proc) 40 | => new PfnJackLatencyCallback(proc); 41 | 42 | public static explicit operator JackLatencyCallback(PfnJackLatencyCallback pfn) 43 | => SilkMarshal.PtrToDelegate(pfn); 44 | 45 | public static implicit operator delegate* unmanaged[Cdecl](PfnJackLatencyCallback pfn) => pfn.Handle; 46 | public static implicit operator PfnJackLatencyCallback(delegate* unmanaged[Cdecl] ptr) => new PfnJackLatencyCallback(ptr); 47 | } 48 | 49 | [UnmanagedFunctionPointer(CallingConvention.Cdecl)] 50 | public unsafe delegate void JackLatencyCallback(JackLatencyCallbackMode arg0, void* arg1); 51 | } 52 | 53 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/PfnJackPortConnectCallback.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | public unsafe readonly struct PfnJackPortConnectCallback : IDisposable 19 | { 20 | private readonly void* _handle; 21 | public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; 22 | public PfnJackPortConnectCallback 23 | ( 24 | delegate* unmanaged[Cdecl] ptr 25 | ) => _handle = ptr; 26 | 27 | public PfnJackPortConnectCallback 28 | ( 29 | JackPortConnectCallback proc 30 | ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); 31 | 32 | public static PfnJackPortConnectCallback From(JackPortConnectCallback proc) => new PfnJackPortConnectCallback(proc); 33 | public void Dispose() => SilkMarshal.Free((nint) _handle); 34 | 35 | public static implicit operator nint(PfnJackPortConnectCallback pfn) => (nint) pfn.Handle; 36 | public static explicit operator PfnJackPortConnectCallback(nint pfn) 37 | => new PfnJackPortConnectCallback((delegate* unmanaged[Cdecl]) pfn); 38 | 39 | public static implicit operator PfnJackPortConnectCallback(JackPortConnectCallback proc) 40 | => new PfnJackPortConnectCallback(proc); 41 | 42 | public static explicit operator JackPortConnectCallback(PfnJackPortConnectCallback pfn) 43 | => SilkMarshal.PtrToDelegate(pfn); 44 | 45 | public static implicit operator delegate* unmanaged[Cdecl](PfnJackPortConnectCallback pfn) => pfn.Handle; 46 | public static implicit operator PfnJackPortConnectCallback(delegate* unmanaged[Cdecl] ptr) => new PfnJackPortConnectCallback(ptr); 47 | } 48 | 49 | [UnmanagedFunctionPointer(CallingConvention.Cdecl)] 50 | public unsafe delegate void JackPortConnectCallback(uint arg0, uint arg1, int arg2, void* arg3); 51 | } 52 | 53 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/PfnJackPortRegistrationCallback.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | public unsafe readonly struct PfnJackPortRegistrationCallback : IDisposable 19 | { 20 | private readonly void* _handle; 21 | public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; 22 | public PfnJackPortRegistrationCallback 23 | ( 24 | delegate* unmanaged[Cdecl] ptr 25 | ) => _handle = ptr; 26 | 27 | public PfnJackPortRegistrationCallback 28 | ( 29 | JackPortRegistrationCallback proc 30 | ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); 31 | 32 | public static PfnJackPortRegistrationCallback From(JackPortRegistrationCallback proc) => new PfnJackPortRegistrationCallback(proc); 33 | public void Dispose() => SilkMarshal.Free((nint) _handle); 34 | 35 | public static implicit operator nint(PfnJackPortRegistrationCallback pfn) => (nint) pfn.Handle; 36 | public static explicit operator PfnJackPortRegistrationCallback(nint pfn) 37 | => new PfnJackPortRegistrationCallback((delegate* unmanaged[Cdecl]) pfn); 38 | 39 | public static implicit operator PfnJackPortRegistrationCallback(JackPortRegistrationCallback proc) 40 | => new PfnJackPortRegistrationCallback(proc); 41 | 42 | public static explicit operator JackPortRegistrationCallback(PfnJackPortRegistrationCallback pfn) 43 | => SilkMarshal.PtrToDelegate(pfn); 44 | 45 | public static implicit operator delegate* unmanaged[Cdecl](PfnJackPortRegistrationCallback pfn) => pfn.Handle; 46 | public static implicit operator PfnJackPortRegistrationCallback(delegate* unmanaged[Cdecl] ptr) => new PfnJackPortRegistrationCallback(ptr); 47 | } 48 | 49 | [UnmanagedFunctionPointer(CallingConvention.Cdecl)] 50 | public unsafe delegate void JackPortRegistrationCallback(uint arg0, int arg1, void* arg2); 51 | } 52 | 53 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/PfnJackPortRenameCallback.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | public unsafe readonly struct PfnJackPortRenameCallback : IDisposable 19 | { 20 | private readonly void* _handle; 21 | public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; 22 | public PfnJackPortRenameCallback 23 | ( 24 | delegate* unmanaged[Cdecl] ptr 25 | ) => _handle = ptr; 26 | 27 | public PfnJackPortRenameCallback 28 | ( 29 | JackPortRenameCallback proc 30 | ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); 31 | 32 | public static PfnJackPortRenameCallback From(JackPortRenameCallback proc) => new PfnJackPortRenameCallback(proc); 33 | public void Dispose() => SilkMarshal.Free((nint) _handle); 34 | 35 | public static implicit operator nint(PfnJackPortRenameCallback pfn) => (nint) pfn.Handle; 36 | public static explicit operator PfnJackPortRenameCallback(nint pfn) 37 | => new PfnJackPortRenameCallback((delegate* unmanaged[Cdecl]) pfn); 38 | 39 | public static implicit operator PfnJackPortRenameCallback(JackPortRenameCallback proc) 40 | => new PfnJackPortRenameCallback(proc); 41 | 42 | public static explicit operator JackPortRenameCallback(PfnJackPortRenameCallback pfn) 43 | => SilkMarshal.PtrToDelegate(pfn); 44 | 45 | public static implicit operator delegate* unmanaged[Cdecl](PfnJackPortRenameCallback pfn) => pfn.Handle; 46 | public static implicit operator PfnJackPortRenameCallback(delegate* unmanaged[Cdecl] ptr) => new PfnJackPortRenameCallback(ptr); 47 | } 48 | 49 | [UnmanagedFunctionPointer(CallingConvention.Cdecl)] 50 | public unsafe delegate void JackPortRenameCallback(uint arg0, byte* arg1, byte* arg2, void* arg3); 51 | } 52 | 53 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/PfnJackProcessCallback.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | public unsafe readonly struct PfnJackProcessCallback : IDisposable 19 | { 20 | private readonly void* _handle; 21 | public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; 22 | public PfnJackProcessCallback 23 | ( 24 | delegate* unmanaged[Cdecl] ptr 25 | ) => _handle = ptr; 26 | 27 | public PfnJackProcessCallback 28 | ( 29 | JackProcessCallback proc 30 | ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); 31 | 32 | public static PfnJackProcessCallback From(JackProcessCallback proc) => new PfnJackProcessCallback(proc); 33 | public void Dispose() => SilkMarshal.Free((nint) _handle); 34 | 35 | public static implicit operator nint(PfnJackProcessCallback pfn) => (nint) pfn.Handle; 36 | public static explicit operator PfnJackProcessCallback(nint pfn) 37 | => new PfnJackProcessCallback((delegate* unmanaged[Cdecl]) pfn); 38 | 39 | public static implicit operator PfnJackProcessCallback(JackProcessCallback proc) 40 | => new PfnJackProcessCallback(proc); 41 | 42 | public static explicit operator JackProcessCallback(PfnJackProcessCallback pfn) 43 | => SilkMarshal.PtrToDelegate(pfn); 44 | 45 | public static implicit operator delegate* unmanaged[Cdecl](PfnJackProcessCallback pfn) => pfn.Handle; 46 | public static implicit operator PfnJackProcessCallback(delegate* unmanaged[Cdecl] ptr) => new PfnJackProcessCallback(ptr); 47 | } 48 | 49 | [UnmanagedFunctionPointer(CallingConvention.Cdecl)] 50 | public unsafe delegate int JackProcessCallback(uint arg0, void* arg1); 51 | } 52 | 53 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/PfnJackSyncCallback.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | public unsafe readonly struct PfnJackSyncCallback : IDisposable 19 | { 20 | private readonly void* _handle; 21 | public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; 22 | public PfnJackSyncCallback 23 | ( 24 | delegate* unmanaged[Cdecl] ptr 25 | ) => _handle = ptr; 26 | 27 | public PfnJackSyncCallback 28 | ( 29 | JackSyncCallback proc 30 | ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); 31 | 32 | public static PfnJackSyncCallback From(JackSyncCallback proc) => new PfnJackSyncCallback(proc); 33 | public void Dispose() => SilkMarshal.Free((nint) _handle); 34 | 35 | public static implicit operator nint(PfnJackSyncCallback pfn) => (nint) pfn.Handle; 36 | public static explicit operator PfnJackSyncCallback(nint pfn) 37 | => new PfnJackSyncCallback((delegate* unmanaged[Cdecl]) pfn); 38 | 39 | public static implicit operator PfnJackSyncCallback(JackSyncCallback proc) 40 | => new PfnJackSyncCallback(proc); 41 | 42 | public static explicit operator JackSyncCallback(PfnJackSyncCallback pfn) 43 | => SilkMarshal.PtrToDelegate(pfn); 44 | 45 | public static implicit operator delegate* unmanaged[Cdecl](PfnJackSyncCallback pfn) => pfn.Handle; 46 | public static implicit operator PfnJackSyncCallback(delegate* unmanaged[Cdecl] ptr) => new PfnJackSyncCallback(ptr); 47 | } 48 | 49 | [UnmanagedFunctionPointer(CallingConvention.Cdecl)] 50 | public unsafe delegate int JackSyncCallback(TransportStateT arg0, Position* arg1, void* arg2); 51 | } 52 | 53 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/PfnJackThreadCallback.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | public unsafe readonly struct PfnJackThreadCallback : IDisposable 19 | { 20 | private readonly void* _handle; 21 | public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; 22 | public PfnJackThreadCallback 23 | ( 24 | delegate* unmanaged[Cdecl] ptr 25 | ) => _handle = ptr; 26 | 27 | public PfnJackThreadCallback 28 | ( 29 | JackThreadCallback proc 30 | ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); 31 | 32 | public static PfnJackThreadCallback From(JackThreadCallback proc) => new PfnJackThreadCallback(proc); 33 | public void Dispose() => SilkMarshal.Free((nint) _handle); 34 | 35 | public static implicit operator nint(PfnJackThreadCallback pfn) => (nint) pfn.Handle; 36 | public static explicit operator PfnJackThreadCallback(nint pfn) 37 | => new PfnJackThreadCallback((delegate* unmanaged[Cdecl]) pfn); 38 | 39 | public static implicit operator PfnJackThreadCallback(JackThreadCallback proc) 40 | => new PfnJackThreadCallback(proc); 41 | 42 | public static explicit operator JackThreadCallback(PfnJackThreadCallback pfn) 43 | => SilkMarshal.PtrToDelegate(pfn); 44 | 45 | public static implicit operator delegate* unmanaged[Cdecl](PfnJackThreadCallback pfn) => pfn.Handle; 46 | public static implicit operator PfnJackThreadCallback(delegate* unmanaged[Cdecl] ptr) => new PfnJackThreadCallback(ptr); 47 | } 48 | 49 | [UnmanagedFunctionPointer(CallingConvention.Cdecl)] 50 | public unsafe delegate void* JackThreadCallback(void* arg0); 51 | } 52 | 53 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/PfnJackThreadInitCallback.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | public unsafe readonly struct PfnJackThreadInitCallback : IDisposable 19 | { 20 | private readonly void* _handle; 21 | public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; 22 | public PfnJackThreadInitCallback 23 | ( 24 | delegate* unmanaged[Cdecl] ptr 25 | ) => _handle = ptr; 26 | 27 | public PfnJackThreadInitCallback 28 | ( 29 | JackThreadInitCallback proc 30 | ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); 31 | 32 | public static PfnJackThreadInitCallback From(JackThreadInitCallback proc) => new PfnJackThreadInitCallback(proc); 33 | public void Dispose() => SilkMarshal.Free((nint) _handle); 34 | 35 | public static implicit operator nint(PfnJackThreadInitCallback pfn) => (nint) pfn.Handle; 36 | public static explicit operator PfnJackThreadInitCallback(nint pfn) 37 | => new PfnJackThreadInitCallback((delegate* unmanaged[Cdecl]) pfn); 38 | 39 | public static implicit operator PfnJackThreadInitCallback(JackThreadInitCallback proc) 40 | => new PfnJackThreadInitCallback(proc); 41 | 42 | public static explicit operator JackThreadInitCallback(PfnJackThreadInitCallback pfn) 43 | => SilkMarshal.PtrToDelegate(pfn); 44 | 45 | public static implicit operator delegate* unmanaged[Cdecl](PfnJackThreadInitCallback pfn) => pfn.Handle; 46 | public static implicit operator PfnJackThreadInitCallback(delegate* unmanaged[Cdecl] ptr) => new PfnJackThreadInitCallback(ptr); 47 | } 48 | 49 | [UnmanagedFunctionPointer(CallingConvention.Cdecl)] 50 | public unsafe delegate void JackThreadInitCallback(void* arg0); 51 | } 52 | 53 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/PfnJackTimebaseCallback.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | public unsafe readonly struct PfnJackTimebaseCallback : IDisposable 19 | { 20 | private readonly void* _handle; 21 | public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; 22 | public PfnJackTimebaseCallback 23 | ( 24 | delegate* unmanaged[Cdecl] ptr 25 | ) => _handle = ptr; 26 | 27 | public PfnJackTimebaseCallback 28 | ( 29 | JackTimebaseCallback proc 30 | ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); 31 | 32 | public static PfnJackTimebaseCallback From(JackTimebaseCallback proc) => new PfnJackTimebaseCallback(proc); 33 | public void Dispose() => SilkMarshal.Free((nint) _handle); 34 | 35 | public static implicit operator nint(PfnJackTimebaseCallback pfn) => (nint) pfn.Handle; 36 | public static explicit operator PfnJackTimebaseCallback(nint pfn) 37 | => new PfnJackTimebaseCallback((delegate* unmanaged[Cdecl]) pfn); 38 | 39 | public static implicit operator PfnJackTimebaseCallback(JackTimebaseCallback proc) 40 | => new PfnJackTimebaseCallback(proc); 41 | 42 | public static explicit operator JackTimebaseCallback(PfnJackTimebaseCallback pfn) 43 | => SilkMarshal.PtrToDelegate(pfn); 44 | 45 | public static implicit operator delegate* unmanaged[Cdecl](PfnJackTimebaseCallback pfn) => pfn.Handle; 46 | public static implicit operator PfnJackTimebaseCallback(delegate* unmanaged[Cdecl] ptr) => new PfnJackTimebaseCallback(ptr); 47 | } 48 | 49 | [UnmanagedFunctionPointer(CallingConvention.Cdecl)] 50 | public unsafe delegate void JackTimebaseCallback(TransportStateT arg0, uint arg1, Position* arg2, int arg3, void* arg4); 51 | } 52 | 53 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/Port.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | [NativeName("Name", "_jack_port")] 19 | public unsafe partial struct Port 20 | { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/Position.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | [StructLayout(LayoutKind.Sequential, Pack = 1)] 19 | [NativeName("Name", "_jack_position")] 20 | public unsafe partial struct Position 21 | { 22 | public Position 23 | ( 24 | ulong? unique1 = null, 25 | ulong? usecs = null, 26 | uint? frameRate = null, 27 | uint? frame = null, 28 | PositionBitsT? valid = null, 29 | int? bar = null, 30 | int? beat = null, 31 | int? tick = null, 32 | double? barStartTick = null, 33 | float? beatsPerBar = null, 34 | float? beatType = null, 35 | double? ticksPerBeat = null, 36 | double? beatsPerMinute = null, 37 | double? frameTime = null, 38 | double? nextTime = null, 39 | uint? bbtOffset = null, 40 | float? audioFramesPerVideoFrame = null, 41 | uint? videoOffset = null, 42 | double? tickDouble = null, 43 | ulong? unique2 = null 44 | ) : this() 45 | { 46 | if (unique1 is not null) 47 | { 48 | Unique1 = unique1.Value; 49 | } 50 | 51 | if (usecs is not null) 52 | { 53 | Usecs = usecs.Value; 54 | } 55 | 56 | if (frameRate is not null) 57 | { 58 | FrameRate = frameRate.Value; 59 | } 60 | 61 | if (frame is not null) 62 | { 63 | Frame = frame.Value; 64 | } 65 | 66 | if (valid is not null) 67 | { 68 | Valid = valid.Value; 69 | } 70 | 71 | if (bar is not null) 72 | { 73 | Bar = bar.Value; 74 | } 75 | 76 | if (beat is not null) 77 | { 78 | Beat = beat.Value; 79 | } 80 | 81 | if (tick is not null) 82 | { 83 | Tick = tick.Value; 84 | } 85 | 86 | if (barStartTick is not null) 87 | { 88 | BarStartTick = barStartTick.Value; 89 | } 90 | 91 | if (beatsPerBar is not null) 92 | { 93 | BeatsPerBar = beatsPerBar.Value; 94 | } 95 | 96 | if (beatType is not null) 97 | { 98 | BeatType = beatType.Value; 99 | } 100 | 101 | if (ticksPerBeat is not null) 102 | { 103 | TicksPerBeat = ticksPerBeat.Value; 104 | } 105 | 106 | if (beatsPerMinute is not null) 107 | { 108 | BeatsPerMinute = beatsPerMinute.Value; 109 | } 110 | 111 | if (frameTime is not null) 112 | { 113 | FrameTime = frameTime.Value; 114 | } 115 | 116 | if (nextTime is not null) 117 | { 118 | NextTime = nextTime.Value; 119 | } 120 | 121 | if (bbtOffset is not null) 122 | { 123 | BbtOffset = bbtOffset.Value; 124 | } 125 | 126 | if (audioFramesPerVideoFrame is not null) 127 | { 128 | AudioFramesPerVideoFrame = audioFramesPerVideoFrame.Value; 129 | } 130 | 131 | if (videoOffset is not null) 132 | { 133 | VideoOffset = videoOffset.Value; 134 | } 135 | 136 | if (tickDouble is not null) 137 | { 138 | TickDouble = tickDouble.Value; 139 | } 140 | 141 | if (unique2 is not null) 142 | { 143 | Unique2 = unique2.Value; 144 | } 145 | } 146 | 147 | 148 | [NativeName("Type", "jack_unique_t")] 149 | [NativeName("Type.Name", "jack_unique_t")] 150 | [NativeName("Name", "unique_1")] 151 | public ulong Unique1; 152 | 153 | [NativeName("Type", "jack_time_t")] 154 | [NativeName("Type.Name", "jack_time_t")] 155 | [NativeName("Name", "usecs")] 156 | public ulong Usecs; 157 | 158 | [NativeName("Type", "jack_nframes_t")] 159 | [NativeName("Type.Name", "jack_nframes_t")] 160 | [NativeName("Name", "frame_rate")] 161 | public uint FrameRate; 162 | 163 | [NativeName("Type", "jack_nframes_t")] 164 | [NativeName("Type.Name", "jack_nframes_t")] 165 | [NativeName("Name", "frame")] 166 | public uint Frame; 167 | 168 | [NativeName("Type", "jack_position_bits_t")] 169 | [NativeName("Type.Name", "jack_position_bits_t")] 170 | [NativeName("Name", "valid")] 171 | public PositionBitsT Valid; 172 | 173 | [NativeName("Type", "int32_t")] 174 | [NativeName("Type.Name", "int32_t")] 175 | [NativeName("Name", "bar")] 176 | public int Bar; 177 | 178 | [NativeName("Type", "int32_t")] 179 | [NativeName("Type.Name", "int32_t")] 180 | [NativeName("Name", "beat")] 181 | public int Beat; 182 | 183 | [NativeName("Type", "int32_t")] 184 | [NativeName("Type.Name", "int32_t")] 185 | [NativeName("Name", "tick")] 186 | public int Tick; 187 | 188 | [NativeName("Type", "double")] 189 | [NativeName("Type.Name", "double")] 190 | [NativeName("Name", "bar_start_tick")] 191 | public double BarStartTick; 192 | 193 | [NativeName("Type", "float")] 194 | [NativeName("Type.Name", "float")] 195 | [NativeName("Name", "beats_per_bar")] 196 | public float BeatsPerBar; 197 | 198 | [NativeName("Type", "float")] 199 | [NativeName("Type.Name", "float")] 200 | [NativeName("Name", "beat_type")] 201 | public float BeatType; 202 | 203 | [NativeName("Type", "double")] 204 | [NativeName("Type.Name", "double")] 205 | [NativeName("Name", "ticks_per_beat")] 206 | public double TicksPerBeat; 207 | 208 | [NativeName("Type", "double")] 209 | [NativeName("Type.Name", "double")] 210 | [NativeName("Name", "beats_per_minute")] 211 | public double BeatsPerMinute; 212 | 213 | [NativeName("Type", "double")] 214 | [NativeName("Type.Name", "double")] 215 | [NativeName("Name", "frame_time")] 216 | public double FrameTime; 217 | 218 | [NativeName("Type", "double")] 219 | [NativeName("Type.Name", "double")] 220 | [NativeName("Name", "next_time")] 221 | public double NextTime; 222 | 223 | [NativeName("Type", "jack_nframes_t")] 224 | [NativeName("Type.Name", "jack_nframes_t")] 225 | [NativeName("Name", "bbt_offset")] 226 | public uint BbtOffset; 227 | 228 | [NativeName("Type", "float")] 229 | [NativeName("Type.Name", "float")] 230 | [NativeName("Name", "audio_frames_per_video_frame")] 231 | public float AudioFramesPerVideoFrame; 232 | 233 | [NativeName("Type", "jack_nframes_t")] 234 | [NativeName("Type.Name", "jack_nframes_t")] 235 | [NativeName("Name", "video_offset")] 236 | public uint VideoOffset; 237 | 238 | [NativeName("Type", "double")] 239 | [NativeName("Type.Name", "double")] 240 | [NativeName("Name", "tick_double")] 241 | public double TickDouble; 242 | [NativeName("Type", "int32_t [5]")] 243 | [NativeName("Type.Name", "int32_t [5]")] 244 | [NativeName("Name", "padding")] 245 | public fixed int Padding[5]; 246 | 247 | [NativeName("Type", "jack_unique_t")] 248 | [NativeName("Type.Name", "jack_unique_t")] 249 | [NativeName("Name", "unique_2")] 250 | public ulong Unique2; 251 | } 252 | } 253 | -------------------------------------------------------------------------------- /JackCS/JackCS/Structs/TransportInfoT.gen.cs: -------------------------------------------------------------------------------- 1 | //oh 2 | 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using System.Runtime.CompilerServices; 7 | using System.Text; 8 | using Silk.NET.Core; 9 | using Silk.NET.Core.Native; 10 | using Silk.NET.Core.Attributes; 11 | using Silk.NET.Core.Contexts; 12 | using Silk.NET.Core.Loader; 13 | 14 | #pragma warning disable 1591 15 | 16 | namespace JackCS 17 | { 18 | [NativeName("AnonymousName", "__AnonymousRecord_types_L723_C9")] 19 | [NativeName("Name", "jack_transport_info_t")] 20 | public unsafe partial struct TransportInfoT 21 | { 22 | public TransportInfoT 23 | ( 24 | uint? frameRate = null, 25 | ulong? usecs = null, 26 | TransportBitsT? valid = null, 27 | TransportStateT? transportState = null, 28 | uint? frame = null, 29 | uint? loopStart = null, 30 | uint? loopEnd = null, 31 | int? smpteOffset = null, 32 | float? smpteFrameRate = null, 33 | int? bar = null, 34 | int? beat = null, 35 | int? tick = null, 36 | double? barStartTick = null, 37 | float? beatsPerBar = null, 38 | float? beatType = null, 39 | double? ticksPerBeat = null, 40 | double? beatsPerMinute = null 41 | ) : this() 42 | { 43 | if (frameRate is not null) 44 | { 45 | FrameRate = frameRate.Value; 46 | } 47 | 48 | if (usecs is not null) 49 | { 50 | Usecs = usecs.Value; 51 | } 52 | 53 | if (valid is not null) 54 | { 55 | Valid = valid.Value; 56 | } 57 | 58 | if (transportState is not null) 59 | { 60 | TransportState = transportState.Value; 61 | } 62 | 63 | if (frame is not null) 64 | { 65 | Frame = frame.Value; 66 | } 67 | 68 | if (loopStart is not null) 69 | { 70 | LoopStart = loopStart.Value; 71 | } 72 | 73 | if (loopEnd is not null) 74 | { 75 | LoopEnd = loopEnd.Value; 76 | } 77 | 78 | if (smpteOffset is not null) 79 | { 80 | SmpteOffset = smpteOffset.Value; 81 | } 82 | 83 | if (smpteFrameRate is not null) 84 | { 85 | SmpteFrameRate = smpteFrameRate.Value; 86 | } 87 | 88 | if (bar is not null) 89 | { 90 | Bar = bar.Value; 91 | } 92 | 93 | if (beat is not null) 94 | { 95 | Beat = beat.Value; 96 | } 97 | 98 | if (tick is not null) 99 | { 100 | Tick = tick.Value; 101 | } 102 | 103 | if (barStartTick is not null) 104 | { 105 | BarStartTick = barStartTick.Value; 106 | } 107 | 108 | if (beatsPerBar is not null) 109 | { 110 | BeatsPerBar = beatsPerBar.Value; 111 | } 112 | 113 | if (beatType is not null) 114 | { 115 | BeatType = beatType.Value; 116 | } 117 | 118 | if (ticksPerBeat is not null) 119 | { 120 | TicksPerBeat = ticksPerBeat.Value; 121 | } 122 | 123 | if (beatsPerMinute is not null) 124 | { 125 | BeatsPerMinute = beatsPerMinute.Value; 126 | } 127 | } 128 | 129 | 130 | [NativeName("Type", "jack_nframes_t")] 131 | [NativeName("Type.Name", "jack_nframes_t")] 132 | [NativeName("Name", "frame_rate")] 133 | public uint FrameRate; 134 | 135 | [NativeName("Type", "jack_time_t")] 136 | [NativeName("Type.Name", "jack_time_t")] 137 | [NativeName("Name", "usecs")] 138 | public ulong Usecs; 139 | 140 | [NativeName("Type", "jack_transport_bits_t")] 141 | [NativeName("Type.Name", "jack_transport_bits_t")] 142 | [NativeName("Name", "valid")] 143 | public TransportBitsT Valid; 144 | 145 | [NativeName("Type", "jack_transport_state_t")] 146 | [NativeName("Type.Name", "jack_transport_state_t")] 147 | [NativeName("Name", "transport_state")] 148 | public TransportStateT TransportState; 149 | 150 | [NativeName("Type", "jack_nframes_t")] 151 | [NativeName("Type.Name", "jack_nframes_t")] 152 | [NativeName("Name", "frame")] 153 | public uint Frame; 154 | 155 | [NativeName("Type", "jack_nframes_t")] 156 | [NativeName("Type.Name", "jack_nframes_t")] 157 | [NativeName("Name", "loop_start")] 158 | public uint LoopStart; 159 | 160 | [NativeName("Type", "jack_nframes_t")] 161 | [NativeName("Type.Name", "jack_nframes_t")] 162 | [NativeName("Name", "loop_end")] 163 | public uint LoopEnd; 164 | 165 | [NativeName("Type", "long")] 166 | [NativeName("Type.Name", "long")] 167 | [NativeName("Name", "smpte_offset")] 168 | public int SmpteOffset; 169 | 170 | [NativeName("Type", "float")] 171 | [NativeName("Type.Name", "float")] 172 | [NativeName("Name", "smpte_frame_rate")] 173 | public float SmpteFrameRate; 174 | 175 | [NativeName("Type", "int")] 176 | [NativeName("Type.Name", "int")] 177 | [NativeName("Name", "bar")] 178 | public int Bar; 179 | 180 | [NativeName("Type", "int")] 181 | [NativeName("Type.Name", "int")] 182 | [NativeName("Name", "beat")] 183 | public int Beat; 184 | 185 | [NativeName("Type", "int")] 186 | [NativeName("Type.Name", "int")] 187 | [NativeName("Name", "tick")] 188 | public int Tick; 189 | 190 | [NativeName("Type", "double")] 191 | [NativeName("Type.Name", "double")] 192 | [NativeName("Name", "bar_start_tick")] 193 | public double BarStartTick; 194 | 195 | [NativeName("Type", "float")] 196 | [NativeName("Type.Name", "float")] 197 | [NativeName("Name", "beats_per_bar")] 198 | public float BeatsPerBar; 199 | 200 | [NativeName("Type", "float")] 201 | [NativeName("Type.Name", "float")] 202 | [NativeName("Name", "beat_type")] 203 | public float BeatType; 204 | 205 | [NativeName("Type", "double")] 206 | [NativeName("Type.Name", "double")] 207 | [NativeName("Name", "ticks_per_beat")] 208 | public double TicksPerBeat; 209 | 210 | [NativeName("Type", "double")] 211 | [NativeName("Type.Name", "double")] 212 | [NativeName("Name", "beats_per_minute")] 213 | public double BeatsPerMinute; 214 | } 215 | } 216 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Silk.NET Community 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # JackCS 2 | Cross-platform [Jack](https://jackaudio.org/) bindings for C#, generated directly from the official headers, allowing low-latency audio playback from C# code 3 | 4 | Join [the discord](https://discord.com/invite/DTHHXRt) for support/feature requests! 5 | 6 | [Example project](https://github.com/Beyley/LoudPizza/tree/main/LoudPizza.Backends.Jack2), using Jack to play audio from LoudPizza 7 | -------------------------------------------------------------------------------- /csharp_typemap.json: -------------------------------------------------------------------------------- 1 | { "int8_t": "sbyte", 2 | "uint8_t": "byte", 3 | "int16_t": "short", 4 | "uint16_t": "ushort", 5 | "int32_t": "int", 6 | "uint32_t": "uint", 7 | "int64_t": "long", 8 | "uint64_t": "ulong", 9 | "size_t": "nuint", 10 | "wchar_t": "char", 11 | "intptr_t": "nint", 12 | "uintptr_t": "nuint", 13 | "ptrdiff_t": "nint", 14 | "unsigned int": "uint", 15 | "GLsizei": "uint", 16 | "GLsizeiptr": "nuint", 17 | "GLintptr": "nint", 18 | "GLboolean": "bool", 19 | "GLbitfield": "uint", 20 | "GLvoid": "void", 21 | "GLchar": "byte", 22 | "GLbyte": "sbyte", 23 | "GLubyte": "byte", 24 | "GLshort": "short", 25 | "GLushort": "ushort", 26 | "GLint": "int", 27 | "GLuint": "uint", 28 | "GLfloat": "float", 29 | "GLclampf": "float", 30 | "GLdouble": "double", 31 | "GLclampd": "double", 32 | "GLstring": "string", 33 | "String": "string", 34 | "GLsizeiptrARB": "nuint", 35 | "GLintptrARB": "nint", 36 | "GLhandleARB": "uint", 37 | "GLhalfARB": "System.Half", 38 | "GLhalfNV": "System.Half", 39 | "GLcharARB": "byte", 40 | "GLint64EXT": "long", 41 | "GLuint64EXT": "ulong", 42 | "GLint64": "long", 43 | "GLuint64": "ulong", 44 | "sync": "nint", 45 | "GLsync": "nint", 46 | "GLDEBUGPROC": "DebugProc", 47 | "GLDEBUGPROCAMD": "DebugProcAmd", 48 | "GLDEBUGPROCARB": "DebugProcArb", 49 | "GLDEBUGPROCKHR": "DebugProcKhr", 50 | "GLvdpauSurfaceNV": "nint", 51 | "PROC": "nint", 52 | "LPCSTR": "string", 53 | "COLORREF": "int", 54 | "BOOL": "bool", 55 | "DWORD": "int", 56 | "FLOAT": "float", 57 | "HANDLE": "nint", 58 | "HDC": "nint", 59 | "HGLRC": "nint", 60 | "HPBUFFERARB": "nint", 61 | "HPBUFFEREXT": "nint", 62 | "INT32": "int", 63 | "INT64": "long", 64 | "LPVOID": "nint", 65 | "UINT": "uint", 66 | "USHORT": "ushort", 67 | "VOID": "void", 68 | "VoidPointer": "nint", 69 | "Float64": "double", 70 | "Float64Pointer": "double*", 71 | "Float32": "float", 72 | "Float32Pointer": "float*", 73 | "Void": "void", 74 | "Bool": "bool", 75 | "Display": "nint", 76 | "Pixmap": "nint", 77 | "Colormap": "nint", 78 | "GLXWindow": "nint", 79 | "GLXContext": "nint", 80 | "GLXDrawable": "nint", 81 | "GLXPixmap": "nint", 82 | "__GLXextFuncPtr": "nint", 83 | "VLServer": "nint", 84 | "VLPath": "nint", 85 | "VLNode": "nint", 86 | "GLclampx": "int", 87 | "GLfixed": "int", 88 | "GLeglImageOES": "nint", 89 | "GLeglClientBufferEXT": "nint", 90 | "GLVULKANPROCNV": "nint", 91 | "ANativeWindow": "nint", 92 | "MirConnection": "nint", 93 | "MirSurface": "nint", 94 | "wl_display": "nint", 95 | "wl_surface": "nint", 96 | "VisualID": "nint", 97 | "RROutput": "nint", 98 | "HINSTANCE": "nint", 99 | "HWND": "nint", 100 | "HWND__*": "nint", 101 | "HDC__*": "nint", 102 | "HINSTANCE__*": "nint", 103 | "SECURITY_ATTRIBUTES": "nint", 104 | "LPCWSTR": "nint", 105 | "xcb_connection_t": "nint", 106 | "xcb_window_t": "nint", 107 | "xcb_visualid_t": "nint", 108 | "_cl_context": "nint", 109 | "_cl_event": "nint", 110 | "HMONITOR": "nint", 111 | "CAMetalLayer": "nint", 112 | "AHardwareBuffer": "nint", 113 | "zx_handle_t": "nint", 114 | "GgpFrameToken": "nint", 115 | "GgpStreamDescriptor": "nint", 116 | "VkFlags": "uint", 117 | "unsignedchar": "byte", 118 | "IDirectFB*": "nint", 119 | "IDirectFBSurface*": "nint", 120 | "VASurfaceID*": "nint", 121 | "EGLint": "int", 122 | "khronos_utime_nanoseconds_t": "ulong", 123 | "khronos_stime_nanoseconds_t": "long", 124 | "khronos_uint64_t": "ulong", 125 | "wl_resource": "nint", 126 | "wl_buffer": "nint", 127 | "jobject": "nint", 128 | "timespec": "Timespec", 129 | "LARGE_INTEGER": "long", 130 | "ULARGE_INTEGER": "ulong", 131 | "xcb_glx_fbconfig_t": "nint", 132 | "xcb_glx_drawable_t": "nint", 133 | "xcb_glx_context_t": "nint", 134 | "_GUID": "Guid", 135 | "HINSTANCE__**": "nint*", 136 | "HWND__**": "nint*", 137 | "HMONITOR__*": "nint", 138 | "HDC__**": "nint*", 139 | "HMONITOR__**": "nint*", 140 | "HBITMAP__*": "nint*", 141 | "HENHMETAFILE__*": "nint*", 142 | "_LUID": "Luid", 143 | "_LARGE_INTEGER": "long", 144 | "_ULARGE_INTEGER": "ulong", 145 | "IUnknown": "Silk.NET.Core.Native.IUnknown", 146 | "tagRECT": "Silk.NET.Maths.Box2D", 147 | "tagPOINT": "Silk.NET.Maths.Vector2D", 148 | "tagSIZE": "Silk.NET.Maths.Vector2D", 149 | "tagPALETTEENTRY": "Silk.NET.Maths.Vector4D", 150 | "_SECURITY_ATTRIBUTES": "Silk.NET.Core.Native.SecurityAttributes", 151 | "INT_PTR": "nint", 152 | "POINTER_32": "int", 153 | "POINTER_64": "long", 154 | "POINTER_SIGNED": "nint", 155 | "POINTER_UNSIGNED": "nuint", 156 | "SIZE_T": "nuint", 157 | "ULONG_PTR": "nuint", 158 | "ULONGLONG": "ulong", 159 | "LONG_PTR": "nint", 160 | "_screen_window": "void", 161 | "_screen_context": "void", 162 | "cl_properties": "ulong", 163 | "IStream": "Silk.NET.Core.Win32Extras.IStream", 164 | "FILETIME": "Silk.NET.Core.Win32Extras.Filetime" 165 | } -------------------------------------------------------------------------------- /generator.json: -------------------------------------------------------------------------------- 1 | { 2 | "tasks": [ 3 | { 4 | "profileName": "jack", 5 | "sources": [ 6 | "jack2/common/jack/jack.h", 7 | "jack2/common/jack/types.h", 8 | "jack2/common/jack/transport.h", 9 | "jack2/common/jack/systemdeps.h", 10 | ], 11 | "mode": "Clang", 12 | "cacheDir": "/build/cache", 13 | "cacheKey": "jack", 14 | "controlDescriptors": [ 15 | "no-obsolete-enum", 16 | "typemap-native" 17 | ], 18 | "converter": {}, 19 | "clang": { 20 | "args": [ 21 | "--language=c++", 22 | "--std=c++17", 23 | "-fblocks", 24 | "-m32", 25 | "-Wno-expansion-to-defined", 26 | "-Wno-ignored-attributes", 27 | "-Wno-ignored-pragma-intrinsic", 28 | "-Wno-nonportable-include-path", 29 | "-Wno-pragma-pack", 30 | "-I$windowsSdkIncludes", 31 | "-Ijack2/common" 32 | ], 33 | "traverse": [ 34 | "jack2/common/jack/*.h" 35 | ], 36 | "classes": { 37 | "jack.h": "[Core]Jack", 38 | "types.h": "[Core]Jack", 39 | "transport.h": "[Core]Jack", 40 | "systemdeps.h": "[Core]Jack", 41 | } 42 | }, 43 | "exclude": [], 44 | "rename": {}, 45 | "bakery": { 46 | "profileNames": [ 47 | "jack" 48 | ] 49 | }, 50 | "output": { 51 | "path": "JackCS", 52 | "licenseFile": "license_header.txt", 53 | "props": "msbuild.props" 54 | }, 55 | "prefix": "jack_", 56 | "namespace": "JackCS", 57 | "extensionsNamespace": "JackCS.Extensions", 58 | "nameContainer": { 59 | "linux-x64": "libjack.so", 60 | "win-x64": "libjack.dll", 61 | "win-x86": "libjack.dll", 62 | "osx-x64": "libjack.dylib", 63 | "android": "libjack.so", 64 | "iOS": "libjack.dylib", 65 | "className": "JackLibraryNameContainer" 66 | }, 67 | "typeMaps": [ 68 | { 69 | 70 | }, 71 | { 72 | "$include.commonTypeMap": "csharp_typemap.json" 73 | } 74 | ] 75 | } 76 | ] 77 | } 78 | -------------------------------------------------------------------------------- /license_header.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilkCommunity/JackCS/9e3406f17f63c3a6c84039d6ed707c1d60c666a0/license_header.txt -------------------------------------------------------------------------------- /msbuild.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | --------------------------------------------------------------------------------