audio_openSL | open SL audio - form https : //audioprograming

 by   CL-window C Version: Current License: No License

kandi X-RAY | audio_openSL Summary

kandi X-RAY | audio_openSL Summary

audio_openSL is a C library. audio_openSL has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

form 老外的代码提供的功能真的不错,看看代码就知道了 opensl_io.h 用到的主要的四个函数 分别是 打开/关闭android 音频设备 写入音频数据和读取音频数据 看c 代码之前,关于指针的几个小知识点需要先温习一下下 /** needs know. /* Open the audio device with a given sampling rate (sr), input and output channels and IO buffer size in frames. Returns a handle to the OpenSL stream / OPENSL_STREAM android_OpenAudioDevice(int sr, int inchannels, int outchannels, int bufferframes); /* Close the audio device */ void android_CloseAudioDevice(OPENSL_STREAM p); / Read a buffer from the OpenSL stream *p, of size samples. Returns the number of samples read. */ int android_AudioIn(OPENSL_STREAM *p, float buffer,int size); / Write a buffer to the OpenSL stream *p, of size samples. Returns the number of samples written. */ int android_AudioOut(OPENSL_STREAM *p, float *buffer,int size);. 需要注意的是,播放和录制audio需要在子线程里运行,我使用的是 HandlerThread 只是使用了一个文件 opensl_io.c 和 opensl_io.h 原作者有三个文件 opensl_io.c opensl_io2.c 和 opensl_io3.c opensl_io.c 是使用线程锁来控制录制和播放 opensl_io2.c 使用 google 推荐的 回调 SLAndroidSimpleBufferQueueItf opensl_io3.c 也是使用回调,不过播放回调包含了audio信息.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              audio_openSL has a low active ecosystem.
              It has 6 star(s) with 5 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 1 have been closed. On average issues are closed in 58 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of audio_openSL is current.

            kandi-Quality Quality

              audio_openSL has no bugs reported.

            kandi-Security Security

              audio_openSL has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              audio_openSL does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              audio_openSL releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of audio_openSL
            Get all kandi verified functions for this library.

            audio_openSL Key Features

            No Key Features are available at this moment for audio_openSL.

            audio_openSL Examples and Code Snippets

            No Code Snippets are available at this moment for audio_openSL.

            Community Discussions

            No Community Discussions are available at this moment for audio_openSL.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install audio_openSL

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/CL-window/audio_openSL.git

          • CLI

            gh repo clone CL-window/audio_openSL

          • sshUrl

            git@github.com:CL-window/audio_openSL.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link