{"id":29470025,"url":"https://github.com/rplstr/portaudio","last_synced_at":"2025-07-25T18:34:06.866Z","repository":{"id":303454568,"uuid":"1015525399","full_name":"rplstr/portaudio","owner":"rplstr","description":"Zig wrappers for PortAudio library.","archived":false,"fork":false,"pushed_at":"2025-07-07T18:01:16.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-07T18:50:23.686Z","etag":null,"topics":["audio","wrapper","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rplstr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-07T16:23:56.000Z","updated_at":"2025-07-07T18:01:19.000Z","dependencies_parsed_at":"2025-07-07T18:50:26.433Z","dependency_job_id":null,"html_url":"https://github.com/rplstr/portaudio","commit_stats":null,"previous_names":["rplstr/portaudio"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rplstr/portaudio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rplstr%2Fportaudio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rplstr%2Fportaudio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rplstr%2Fportaudio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rplstr%2Fportaudio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rplstr","download_url":"https://codeload.github.com/rplstr/portaudio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rplstr%2Fportaudio/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267046197,"owners_count":24026899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio","wrapper","zig"],"created_at":"2025-07-14T12:01:18.030Z","updated_at":"2025-07-25T18:34:06.799Z","avatar_url":"https://github.com/rplstr.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# portaudio\n\nPortAudio is a portable audio I/O library designed for cross-platform\nsupport of audio.\n\n\u003c/div\u003e\n\n[Zig](http://ziglang.org) wrapper for the [PortAudio](http://www.portaudio.com) library.\nThe library will be updated only for STABLE Zig releases. The current latest stable Zig version is 0.14.1 with the `minimum_zig_version` set to the same value.\n\n## Usage\n\nIf you have Nix with flakes enabled, you can enter a development shell with all dependencies by running:\n\n```sh\nnix develop\n```\n\nThis provides the correct Zig compiler and system libraries such as ALSA and JACK.\n\n### Adding to your project\n\n1.  Add this repository as a dependency in your `build.zig.zon`. \n```sh\nzig fetch --save git+https://github.com/rplstr/portaudio.git\n```\n\n2.  In your `build.zig`, add the dependency and link against it:\n\n    ```zig\n    // build.zig\n    const exe = b.addExecutable(...);\n\n    const portaudio = b.dependency(\"portaudio\", .{\n        .target = target,\n        .optimize = optimize,\n    });\n    exe.root_module.addImport(\"portaudio\", portaudio.module(\"portaudio\"));\n    exe.linkLibrary(portaudio.artifact(\"portaudio\"));\n    ```\n\n## Examples\n\nThe `examples/` directory contains several examples demonstrating how to use the library.\n\nYou can build and run any of them using `zig build run-\u003cexample_name\u003e`. For example:\n\n```sh\nzig build run-devs\n\nzig build run-sine\n\nzig build run-record\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frplstr%2Fportaudio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frplstr%2Fportaudio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frplstr%2Fportaudio/lists"}