I'm learning to program with **libavcodec**. But I'm stuck. All the tutorials I'm using are on video files and I need an audio file. I'm using Ubuntu.

How should I read `AVCodecContext` from an audio stream?  

By the way, does anybody know a good tutorial on **libavcodec** with audio? I couldn't find anything.