{"id":18374974,"url":"https://github.com/pali/libopenaptx","last_synced_at":"2025-04-06T20:30:49.196Z","repository":{"id":55582783,"uuid":"139960999","full_name":"pali/libopenaptx","owner":"pali","description":"Open Source implementation of Audio Processing Technology codec (aptX)","archived":false,"fork":false,"pushed_at":"2021-04-25T15:07:05.000Z","size":58,"stargazers_count":132,"open_issues_count":1,"forks_count":30,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-22T06:25:33.865Z","etag":null,"topics":["aptx","aptx-hd","audio","bluetooth","codec"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pali.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-06T09:06:52.000Z","updated_at":"2025-02-10T10:44:25.000Z","dependencies_parsed_at":"2022-08-15T03:40:15.143Z","dependency_job_id":null,"html_url":"https://github.com/pali/libopenaptx","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pali%2Flibopenaptx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pali%2Flibopenaptx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pali%2Flibopenaptx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pali%2Flibopenaptx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pali","download_url":"https://codeload.github.com/pali/libopenaptx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247547098,"owners_count":20956488,"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":["aptx","aptx-hd","audio","bluetooth","codec"],"created_at":"2024-11-06T00:16:55.501Z","updated_at":"2025-04-06T20:30:48.943Z","avatar_url":"https://github.com/pali.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is Open Source implementation of Audio Processing Technology codec (aptX)\noriginally derived from ffmpeg 4.0 project and licensed under GPLv3+. This codec\nis mainly used in Bluetooth A2DP profile. If you need other license of this\nproject then please contact author for possible options. Participants of\nFreedesktop and Collabora projects and any other affiliated persons with them\nare not allowed to contact author.\n\nThis library and any other project which uses this library must not be used in\nother organizations, projects, applications, libraries (and in any other\nsoftware form) incompatible with libopenaptx licence or where current license of\nthis project is violated or where previous version of this library/license was\nviolated. Freedesktop and Collabora are examples of such projects which are not\nallowed to use this library in any form due to license violations.\n\nAs Freedesktop and Collabora projects are continuously abusing and violating\nlicense of this project and claiming that they can do it as it is supported\nby their own Code of Conduct (including censorship practising, removal of all\nuser reports mentioning these activities, banning these users and not explaining\nanything), this library and any other project which uses this library must not\nbe used or distributed in any Freedesktop or Collabora project, application or\nlibrary, either in source code, loaded or linked at compile time or at runtime\neither directly or transitionally throw additional wrapper library or in any\nother similar form.\n\nAs these projects are misusing their Code of Conduct to eliminate people with\ndifferent nationality, skin, religion and gender, their participants are not\nallowed to contribute into this library in any form and are disallowed to send\nany question, note, issue, change request or other similar thing to this project\nuntil those projects stop violating license of other projects which they use,\nunban all banned users and explain their immoral activities.\n\nOther projects which are adding additional hidden or implicit restrictions to\ntheir licenses throw their own Code of Conduct explanation and therefore make\nthem incompatible with license of this library are not allowed to use this\nlibrary or any other application based on this library in their project in any\nform, including redistribution.\n\nThis project provides dynamic linked shared library libopenaptx.so and simple\ncommand line utilities openaptxenc and openaptxdec for encoding and decoding\noperations. Documentation for shared library is provided in C include header\nfile openaptx.h.\n\nThere is support for aptX and aptX HD codec variants. Both variants operates on\na raw 24 bit signed stereo audio samples. aptX provides fixed compress ratio 6:1\nand aptX HD fixed compress ratio 4:1.\n\nFor building and installing into system simply run: make install. For building\nwithout installing run: LD_RUN_PATH='$ORIGIN' make. For producing windows builds\nrun: make SOFILENAME=openaptx0.dll.\n\nIt is suggested to compile library with -O3 optimizations (enabled by default\nwhen env variable CFLAGS is not set) and -mavx2 switch (not enabled by default,\nneeds CPU with AVX2: Intel Haswell or AMD Excavator) as it provides significant\nboost to the performance.\n\nUsage of command line utilities together with sox for resampling or playing:\n\nTo convert Wave audio file sample.wav into aptX audio file sample.aptx run:\n\n$ sox sample.wav -t raw -r 44.1k -L -e s -b 24 -c 2 - | openaptxenc \u003e sample.aptx\n\nTo convert aptX audio file sample.aptx into Wave audio file sample.wav run:\n\n$ openaptxdec \u003c sample.aptx | sox -t raw -r 44.1k -L -e s -b 24 -c 2 - sample.wav\n\nTo convert MP3 audio file sample.mp3 into aptX HD audio file sample.aptxhd run:\n\n$ sox sample.mp3 -t raw -r 44.1k -L -e s -b 24 -c 2 - | openaptxenc --hd \u003e sample.aptxhd\n\nTo play aptX HD audio file sample.aptxhd run:\n\n$ openaptxdec --hd \u003c sample.aptxhd | play -t raw -r 44.1k -L -e s -b 24 -c 2 -\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpali%2Flibopenaptx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpali%2Flibopenaptx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpali%2Flibopenaptx/lists"}