Re: using ALSA one call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



kallipygos@xxxxxxxx wrote:
> OK , this example works 
> http://www.alsa-project.org/alsa-doc/alsa-lib/_2test_2pcm__min_8c-example.html
> 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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux