AlsaMedia是Linux下基于ALSA架构的播放器与录音机。
InstallationAlsa:
$ wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.1.3.tar.bz2$ tar -jxvf alsa-lib-1.1.3.tar.bz2$ cd alsa-lib-1.1.3$ ./configure$ make$ sudo make installAlsaMedia:
$ git clone git@github.com:AnSwErYWJ/AudioResamplerate.gitUsageCompile:
$ make player$ make recorderor
$ makeRun:
$ ./arecorder test.pcm$ ./aplayer test.pcm
评论