On Mo, 2010-08-16 at 07:58 +0300, Tanu Kaskinen wrote: > Correcting myself: > > On Mon, 2010-08-16 at 06:42 +0300, Tanu Kaskinen wrote: > > I guess the problem is that pulsesrc doesn't know > > which source is going to be used before actually starts recording. > > No, that's not the problem. The problem is that pulsesrc doesn't use the > proper flags when creating the stream: PA_STREAM_FIX_FORMAT, > PA_STREAM_FIX_RATE and PA_STREAM_FIX_CHANNELS can be used to create the > stream with whatever parameters are used by the device that the stream > connects to. > Thank you!!! i like this answer :D Regards, Alexey