[Gstreamer-bugs] [Bug 139658] New: - alsa src probes inexistant playback device on capture only card

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Sat Apr 10 06:49:40 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=139658
GStreamer | gst-plugins | Ver: HEAD CVS

           Summary: alsa src probes inexistant playback device on capture
                    only card
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-maint at bugzilla.gnome.org
        ReportedBy: bugs at leroutier.net
         QAContact: gstreamer-maint at bugzilla.gnome.org


got 2 alsa "cards" : nforce 2 (onboard, card 0) and bt878 (tv card, card 1)

alsa works well with both cards

when using gst-recorder, using alsasrc as audio source, it probes the following
device name and fails :

ALSA lib pcm_hw.c:1057:(snd_pcm_hw_open) open /dev/snd/pcmC1D0p failed: Aucun
fichier ou répertoire de ce type

the problem is that card 1 (bt878) has no playback /dev/snd entry
it has 2 capture dev ( pcmC1D0c and pcmC1D1c, first digital and second analog)

i don't know how alsa capabilities are probed for now (alsa-lib doing it himself
 or gstreamer having it's own code)

so, device=hw:1,0 or hw:1,1 depending on what audio input we want for bt878

<BBB> osssrc checks the element type
<BBB> by going through all pads in our padlist
<BBB> if we contain a source pad, it opens using RDONLY
<BBB> if we contain a sinkpad, WRONLY
<BBB> if we contain none, it tries the mixer
<BBB> alsa should do the same

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.




More information about the Gstreamer-bugs mailing list