摘要:
调用OpenSL ES NDK播放声音Android NDK 给出了native-audio的例子,这个例子结合java代码,讲解了如何使用OpenSL播放声音。我把此例子进行了精简,完全使用c,可以让我们更好的体会到OpenSL的用法,不多说,上代码main.c: 01.#include <stdio.h> 02.#include <SLES/OpenSLES.h> 03.#include <android/log.h> 04.#include <assert.h> 05.enum _bool { 06. false = 0, 07. true 阅读全文
posted @ 2013-03-27 11:52
帕拉美
阅读(11170)
评论(1)
推荐(1)
浙公网安备 33010602011771号