Giter VIP home page Giter VIP logo

audiostreamer's Introduction

AudioStreamer

CFNetwork + AudioFile + AudioConverter + AudioUnit组合的经典音频播放流程(以MP3为例):

1、读取MP3文件 2、解析采样率、码率、时长等信息,分离MP3中的音频帧 3、对分离出来的音频帧解码得到PCM数据 4、把PCM数据解码成音频信号并交给硬件播放 5、重复1-4步直到播放完成

Note:如果需要混音、均衡器等,在第3步和第4步之间进行。

audiostreamer's People

Contributors

anyoptional avatar

Stargazers

 avatar  avatar  avatar  avatar

audiostreamer's Issues

Great Job!

我正在尝试解决M4A的kAudioFileStreamError_NotOptimized问题。看到代码里如果遇到kAudioFileStreamError_NotOptimized就把全部文件下载回来。
这里我想可以先直接去读文件尾,把moov在mdat之前读出来给parser,就可以解决。

目前正在看代码准备尝试一下。

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.