After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 405024 - alsasink's GstPropertyProbe for device-name doesn't seem to work correctly
alsasink's GstPropertyProbe for device-name doesn't seem to work correctly
Status: RESOLVED DUPLICATE of bug 405020
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.10
Other Linux
: Normal normal
: NONE
Assigned To: Snark
GStreamer Maintainers
Depends on:
Blocks: 339897
 
 
Reported: 2007-02-06 16:22 UTC by Snark
Modified: 2007-02-08 15:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test program to print the list of available devices (1.42 KB, text/x-csrc)
2007-02-06 16:23 UTC, Snark
  Details
Solution to the problem (633 bytes, patch)
2007-02-06 19:50 UTC, Snark
needs-work Details | Review
Solution to the problem (1.07 KB, patch)
2007-02-07 14:01 UTC, Snark
none Details | Review

Description Snark 2007-02-06 16:22:31 UTC
Here is what my system has :
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SI7012 [SiS SI7012], device 0: Intel ICH [SiS SI7012]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Modem [SiS SI7013 Modem], device 0: Intel ICH - Modem [SiS SI7013 Modem
- Modem]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
and here is what my test program sees :
$ ./audio
alsasink device=hw:0,0 name=dmix:0
alsasink device=hw:1,0 name=dmix:0
(I'll attach the source of my test program to this bug)
Comment 1 Snark 2007-02-06 16:23:13 UTC
Created attachment 82025 [details]
Test program to print the list of available devices

I'll work on it if I find the time.
Comment 2 Tim-Philipp Müller 2007-02-06 16:45:38 UTC
I think one bug will do as well :)


*** This bug has been marked as a duplicate of 405020 ***
Comment 3 Snark 2007-02-06 17:13:34 UTC
Well, I'd rather have kept both separate, since I'm probably not going to hack them both at the same time...
Comment 4 Snark 2007-02-06 19:50:00 UTC
Created attachment 82038 [details] [review]
Solution to the problem

his makes my test program spit :
$ ./audio
alsasink device=hw:0,0 name=SiS SI7012
alsasink device=hw:1,0 name=SiS SI7012
which is the best alsa is able to make as a user-friendly string (sic).
Comment 5 Snark 2007-02-07 14:01:18 UTC
Created attachment 82084 [details] [review]
Solution to the problem

This one gives better results.