[gstreamer-bugs] [Bug 315121] alsasink doesn't work unless passing hw:0

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Sep 21 15:40:18 PDT 2005


Do not reply to this email.  You can add comments to this bug at
 http://bugzilla.gnome.org/show_bug.cgi?id=315121
 GStreamer | gst-plugins | Ver: 0.8.10





------- Additional Comments From Tim-Philipp Müller  2005-09-21 22:40 -------
There seem to be two different APIs for snd_pcm_hw_params_set_rate_near(). On my
system, I have a prototypes in /usr/include/alsa/pcm.h like this:

int snd_pcm_hw_params_set_rate_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *params,
unsigned int *val, int *dir);

and in /usr/include/alsa/pcm_old.h like this:

unsigned int snd_pcm_hw_params_set_rate_near(snd_pcm_t *pcm, snd_pcm_hw_params_t
*params, unsigned int val, int *dir);

where pcm_old.h has a head saying "Old 0.9.x API" and the libasound2 version is
1.0.9 (snd_pcm_hw_params_set_rate() has the same prototype for both btw). 

Our configure.ac check only requires >= 0.9.1 though, so maybe that's somewhere
where we screw up as well?

Cheers
 -Tim


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




More information about the Gstreamer-bugs mailing list