10 Feb
2009
10 Feb
'09
4:04 p.m.
kallipygos@inbox.lv wrote:
OK , this example works http://www.alsa-project.org/alsa-doc/alsa-lib/_2test_2pcm__min_8c-example.ht... but only if samplerate = 48000; if samplerate = 44100 - then not :( 44k file play in 48k mode :D it sounds funnee :D
I remixed this program so that it read data from wave file.
gcc pcm_min01.c -lasound -O2 -o pcm_min01 ./pcm_min01 '/mnt/hda2/Booty Luv - Shine/Booty Luv - Shine (Ian Carey remix).wav' i gotta this : ALSA lib pcm.c:7160:(snd_pcm_set_params) Rate doesn't match (requested 44100Hz, get 0Hz)
Please show the source code of your program.
Best regards, Clemens