GithubHelp home page GithubHelp logo

pro100andrey / lame Goto Github PK

View Code? Open in Web Editor NEW
27.0 3.0 7.0 13.06 MB

Swift Lame Framework

License: MIT License

Swift 1.26% Ruby 0.44% C 98.31%
swift mp3 lame mp3-encoder ios mp3-decoder xcframework macos tvos

lame's People

Contributors

pro100andrey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

lame's Issues

lame issue

/Users/ebrahim/Desktop/Applications/TooLocations/TooLocation.xcodeproj Building for iOS, but the linked and embedded framework 'lame.framework' was built for iOS + iOS Simulator.

Encode is removing silence

After some fiddling around, I realized the reason my resulting .mp3 sounds weird is because it's removing ALL the silence from the .wav file. So "Hello... How are you?" becomes "HelloHowAreYou".

Any ideas?

M1 Macbook Pro: wrong architecture

Hi,

Thanks a lot for the effort in that library,

I'm facing the below issue with the new M1 machine,

In project/Pods/lame/lame.framework/lame(VbrTag.o), building for iOS Simulator, but linking in object file (/project/Pods/lame/lame.framework/lame(VbrTag.o)) built for iOS, file '/project/Connect.Valuations.iOS/Pods/lame/lame.framework/lame' for architecture arm64

any idea ?

Compilation warnings

Describe the bug
There is a bunch of warnings during compilation. The project target is iOS 13. Xcode 14.3.1.
For example:
ld: warning: object file (/Users/user/Library/Developer/Xcode/DerivedData/project-bolrfaqprskbdlbtnqgiupztkgqw/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/lame/lame.framework/lame(VbrTag.o)) was built for newer iOS version (16.4) than being linked (13.0)

Expected behavior
No warnings

Screenshots
Warnings

Facing issue converting an m4a to mp3

Thanks for creating this library!

I'm trying to convert an m4a file to mp3 but I'm getting corrupt audio. I'm using the example project and i just replaced the input file to my m4a file

In the debugger I'm getting

void * _Nullable NSMapGet(NSMapTable * _Nonnull, const void * _Nullable): map table argument is NULL

the file is exported but it is corrupt. Any suggestions or feedbacks what I'm doing wrong?

Issue with i386

The lame.framework is not working in simulators using Xcode 12. The following error occurs:

The linked and embedded framework 'lame.framework' is missing one or more architectures required by this target: i386.

Any help?

Support for arm64 based simulators

At the moment, this package does not support arm64 based simulators "out of the box".

Steps to reproduce:

  1. Clone this repo
  2. Open the 'Example' project
  3. Select simulator as the target (iPhone 14 for example)

The following error occurs:
ld: in /Users/mikko/Dev/lame/Example/Pods/lame/lame.framework/lame(VbrTag.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/mikko/Dev/lame/Example/Pods/lame/lame.framework/lame' for architecture arm64

This can be fixed by setting Build Active Architecture Only to No and setting Excluded Architectures -> Any iOS Simulator SDK to arm64 in both the Example and Pods projects

However, this is not a viable solution as the Apple Silicon Macs run simulators as arm64 by default. Using the fix above in my own project causes other errors for example.

mp3 file full with noise

Hey after I convert the file from m4a to mp3, the file is only noise. Can't hear anything else. I've just copied everything from the example project as it is.

Type cast

How do I turn Swift or OC objects into C arrays (char * argv[]), for example UnsafePointer<sox_format_t> to UnsafePointer<UnsafeMutablePointer?>?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.