今天读DSP的图像采集程序,遇到了一点陌生的东西:
ti的帮助文档里是这么讲的:
The DATA_SECTION pragma allocates space for the symbol in a section called section name. The syntax for the pragma in C is:
#pragma DATA_SECTION (s...
If you built your own SDL, you probably didn't have development headers for PulseAudio (or ALSA), so it's trying to use /dev/dsp, which doesn't exist on many modern Linux systems (hence, SDL_Init(SDL_INIT_AUDIO) succeed...