Hi,
For some unknown reason, I seem to be unable to set SND_PCM_FORMAT_FLOAT format flag when initialising alsa driver. This happens with my both cards (on is the laptops AC'97 Audio Controller and the other a similar onboard cart) This line used to work with alsa 0.9 but return an "Invalid argument" error with alsa 1.0.14a : snd_pcm_hw_params_set_format(alsa_pcm_handle, alsa_hwparams, SND_PCM_FORMAT_FLOAT_LE) If I remove this line, the driver gets initialised but as integer sample format, which, of course, generates noise as I'm sending 32bit floats to the output... Example code at lines 1031-1041 : http://cvs.savannah.nongnu.org/viewvc/freecycle/src/soundplayer.cpp?annotate=1.19&root=freecycle Please, please help ! Predrag http://freecycle.redsteamrecords.com _______________________________________________ Linux-audio-dev mailing list [email protected] http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev
