[gst-devel] scramble for sound card

Tim-Philipp Müller t.i.m at zen.co.uk
Thu Jul 23 11:04:27 CEST 2009


On Fri, 2009-07-10 at 00:48 -0700, christie wrote:

>    I make my own application with gstreamer,but i can not use another player
> such as vlc or totem, to play a music file when i use it.If I have already
> played a music with totem or vlc, I can not use my application to play
> sound. It says that the sound card is used by other application. However,
> vlc and totem can play music at the same time.It looks like that gstreamer
> scrambles for sound card against other players. The same thing happens when i
> use gst-launch lines.
>   How can I solve this problem? Is there any element that can be used here? 
>   I want to use my application and other soundplayers at the same time.

Check what the other applications use for sound output, and then use the
same sound output in GStreamer (e.g. pulsesink for PulseAudio, or
alsasink device=dmix:0 or whatever alsa device these apps use).

Cheers
 -Tim






More information about the gstreamer-devel mailing list