Speed up open_current_receiver().
authorAndre Noll <maan@systemlinux.org>
Sun, 10 Feb 2008 11:49:29 +0000 (12:49 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 10 Feb 2008 11:49:29 +0000 (12:49 +0100)
To my surprise, this function showed up in the profiling info.
This is due to the fact that the old code was parsing the
FORMAT status item in audiod_pre_select() which gets called
on each iteration of the sheduler. However, this status item
gets only modified on audio file change.

So parse the status item string only once, when we receive it,
and store the current audio format number in the new field of
struct status_task.


No differences found