新手上路
三星級會員
- 舊站積分
- 2319
- 舊站發表文章數
- 826
|
樓主 |
發表於 2013-5-7 21:05:30
|
顯示全部樓層
原發表者是 solo16
[B]I just came across a thought, is aplay support mmap_complex? [/B]
今日最新測試結果是不行的...但是有支援mmap, 聲音差很大喔 !
-M, --mmap Use memory-mapped (mmap) I/O mode for the audio stream. If this option is not set, the read/write I/O mode will be used.
播放例子
# aplay -vMF 725 xxx.wav
-M, --mmap
-v, --verbose (顯示詳細資訊)
-F, --period-time=# (725同等period_size 32)
# aplay test.wav device=hw:0,0 (如果指定hw:0,0這樣就會有錯誤了)
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: set_params:1233: Sample format non available
Available formats:
- S32_LE
- FLOAT_LE
顯示格式錯誤, 但就算格式指定S32_LE 一樣不行!
|
|