{"id":20614319,"url":"https://github.com/imengyu/iplayer","last_synced_at":"2025-08-24T09:38:33.779Z","repository":{"id":141057286,"uuid":"137998490","full_name":"imengyu/IPlayer","owner":"imengyu","description":"A simply sound decorder and player for windows, use directsound directsound 音频解码器","archived":false,"fork":false,"pushed_at":"2018-07-09T08:10:52.000Z","size":6720,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T17:57:20.864Z","etag":null,"topics":["music-library","sound","windows"],"latest_commit_sha":null,"homepage":"","language":"C","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/imengyu.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}},"created_at":"2018-06-20T07:50:30.000Z","updated_at":"2023-12-15T08:55:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3dfceb8-1f5e-4d52-9340-5cc15b63d0c4","html_url":"https://github.com/imengyu/IPlayer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imengyu%2FIPlayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imengyu%2FIPlayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imengyu%2FIPlayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imengyu%2FIPlayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imengyu","download_url":"https://codeload.github.com/imengyu/IPlayer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249025165,"owners_count":21200257,"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","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":["music-library","sound","windows"],"created_at":"2024-11-16T11:12:27.597Z","updated_at":"2025-04-15T07:24:58.113Z","avatar_url":"https://github.com/imengyu.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IPlayer\nA simply sound decorder and player for windows, use directsound directsound 音频解码器\u003cbr/\u003e\u003cbr/\u003e\n这是一个最简单的适用于windows平台c++音频解码模块，使用DirectSound进行播放。\n===\n        目前支持播放 mp3、wav、ogg、wma、flac、oga、pcm 这几种音频格式，未来还会添加其他格式的支持。\n说明\n---\n        此项目目前仅为测试阶段，所以最好不要用于发行软件中。软件可能存在bug。\n使用\n---\n* 1.请#include \"IPlayerExport.h\"\n* 2.添加链接器附加依赖项 iplayer.lib\n* 3.添加代码\n```cpp\nCSoundPlayer *player=CreateIPlayer(m_hWnd);//Your app window handle\nif(player-\u003eOpen(L\"E:\\\\1.mp3\"))//open E:\\1.mp3\n{\n    player-\u003ePlay();\n}\nelse//open failed ,show error\n{\n    wprintf(L\"Error : %s\", GetPlayerError());\n}\n```\n其他使用方法，请参照 WindowsFormsTest 项目里的代码（c#）\u003cbr/\u003e\n\n其中使用了以下一些开源解码库\n---\n* libmpg123\n* libogg\n* libvorbis\n* libFLAC\n* libffad\n* libffac\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimengyu%2Fiplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimengyu%2Fiplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimengyu%2Fiplayer/lists"}