Implement sceAtracSetHalfwayBuffer and

sceAtracSetHalfwayBufferAndGetID, and make dshow work better with
ffmpeg.