{"id":34212473,"url":"https://github.com/abdullahb53/fastwavheader","last_synced_at":"2026-03-12T17:33:06.238Z","repository":{"id":201118243,"uuid":"707006300","full_name":"abdullahb53/fastwavheader","owner":"abdullahb53","description":"Optimized way to get wav header.","archived":false,"fork":false,"pushed_at":"2023-10-20T00:27:17.000Z","size":2290,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-10-20T13:23:56.990Z","etag":null,"topics":["fast","golang","header","reader","wav","wav-header","wavfile"],"latest_commit_sha":null,"homepage":"","language":"Go","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/abdullahb53.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}},"created_at":"2023-10-19T03:18:22.000Z","updated_at":"2023-10-19T03:25:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"3cb0ea9d-e065-48e6-a387-75d809921a5d","html_url":"https://github.com/abdullahb53/fastwavheader","commit_stats":null,"previous_names":["abdullahb53/fastwavheader"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/abdullahb53/fastwavheader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahb53%2Ffastwavheader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahb53%2Ffastwavheader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahb53%2Ffastwavheader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahb53%2Ffastwavheader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdullahb53","download_url":"https://codeload.github.com/abdullahb53/fastwavheader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahb53%2Ffastwavheader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30435218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fast","golang","header","reader","wav","wav-header","wavfile"],"created_at":"2025-12-15T21:20:35.036Z","updated_at":"2026-03-12T17:33:06.227Z","avatar_url":"https://github.com/abdullahb53.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastWavHeader\n __Optimized way to get wav header.__\u003cbr/\u003e\n\n![fastwavheaderAlloc](https://github.com/abdullahb53/fastwavheader/assets/29378922/8e63ad06-eea0-4daf-a9ca-02bd4254670f)\n\n\n**`Slice/Unsafe is selected`**\n\n \u0026nbsp;\u003csub\u003eShow becnhmark results:\u003csub\u003e\n```\nmake test\n```\n\n```golang\n\t// If u want to stream data through channels.\n\tfwh.StartStreamEvent()\n\tfilePaths := []string{\n         ...\n\t}\n\n\tfilePaths2 := []string{\n         ...\n\t}\n\n\t// Send your filePaths to channel.\n\tfor _, val := range filePaths {\n\t\tfwh.FilePathCh \u003c- val\n\t}\n\n\t// Consume WavHeaderInfos from channel.\n\tgo func() {\n\t\tconsume := fwh.HeaderCh\n\t\tfor {\n\t\t\tselect {\n\t\t\tcase wavinfo, ok := \u003c-consume:\n\t\t\t\tif !ok {\n\t\t\t\t\tconsume = fwh.HeaderCh\n\t\t\t\t} else {\n                                        // Do something..\n\t\t\t\t\tlog.Println(\"@@ WavInfo:\", wavinfo)\n\t\t\t\t}\n\t\t\tdefault:\n\t\t\t\tcontinue\n\t\t\t}\n\t\t}\n\t}()\n\n\t// Change channel capacity. Async or Sync.\n\tgo fwh.ChangeQueueSize(30, 40)\n\n\t// Again, send new filePaths to adjusted channel.\n\tfor _, val := range filePaths2 {\n\t\tfwh.FilePathCh \u003c- val\n\t}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahb53%2Ffastwavheader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdullahb53%2Ffastwavheader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahb53%2Ffastwavheader/lists"}