gopxl / beep

A little package that brings sound to any Go application. Suitable for playback and audio-processing.
MIT License
202 stars 7 forks source link

Support AAC format #108

Open duysqubix opened 8 months ago

duysqubix commented 8 months ago

Any plans to introduce an AAC Decoder?

Original issue: https://github.com/faiface/beep/issues/55

MarkKremer commented 8 months ago

"There are no plans, just pull requests :)" - faiface

johnrijoy commented 3 months ago

Not sure if this can be helpful. Found this go library on decoding AAC to PCM samples go-fdkaac.

MarkKremer commented 3 months ago

Thank you for your reply. I'm not too familiar with cgo but I feel like it would diminish the ability to cross compile or use Beep cross platform.

dusk125 commented 3 months ago

So oto uses purego which allows dynamic linking with c libraries without the need for cgo. In general I would warn against cgo unless the package does a good job compiling and distributing the c-stuff... from the looks of fdkaac, if a beep user wanted to use it, they would need to do additional steps before go compilation.

edit: removed incorrect information about purego