[alsa-devel] Software mixing according to priority of streams
nobin.mathew at gmail.com
Fri Jun 15 20:25:00 CEST 2007
Yes i have multiple applications.
say mplayer for audio stream.
bluetooth app for bluetooth sco stream
RoadNav for GPS navigation voice data
priority we require is
mplayer < RoadNav < bluetooth sco
so when bluetooth sco apps starts no more mplayer stream data should
go to codec till the sco app stops.
On 6/15/07, Nobin Mathew <nobin.mathew at gmail.com> wrote:
> A sound server can do this
> Maintain a buffer per application ,
> and each buffer will have priority. when data comes on higher priority
> buffer stop taking data from low priority buffer, and configure the
> audio and start pumping data from high priority buffer.
> On 6/15/07, Lee Revell <rlrevell at joe-job.com> wrote:
> > On 6/15/07, Nobin Mathew <nobin.mathew at gmail.com> wrote:
> > > Can somebody throw some ideas on this ?
> > I don't understand your use case. Are you saying you want to start a
> > playback app (say mplayer) and have the audio switch between devices?
> > That's impossible.
> > If you just want to be able to play audio from multiple apps through
> > the same device, then yes, dmix or jack can do it.
> > Lee
More information about the Alsa-devel