RE: [Alsa-user] ALSA - CMI8788 card - sound not playing.
Brought to you by:
perex
|
From: <sak...@wi...> - 2005-08-31 09:39:10
|
I am not getting the sound o/p with the default values. I am calling the snd_pcm_hw_params_set_buffer_size_near(), snd_pcm_hw_params_set_period_size_near() functions For setting the period size and buffer size(). The returned values are for CMI 8788 are 32, 64 respectively. I am writing 32 frames using snd_pcm_writei().NO sound output.=20 The same APIs are used for intel and application is giving the proper output. Buffer sizes and period sizes are 16384 and 1024 respectively. My Question: 1. snd_pcm_hw_params_set_buffer_size_near() - APIs should return same value for all cards. Or it will differ from card to card. Could it be problem with the CMI8788 driver on ALSA support?=20 2. Should I need to use buffertime Apis? I am not clear on this? -----Original Message----- From: als...@li... [mailto:als...@li...] On Behalf Of Clemens Ladisch Sent: Wednesday, August 31, 2005 2:55 PM To: Sakthi Subramanian (WT01 - Semiconductors & Consumer Electronics) Cc: als...@li... Subject: Re: [Alsa-user] ALSA - CMI8788 card - sound not playing. sak...@wi... wrote: > I have a developed sample playback application which is playing=20 > the sound properly for 48 Khz, 44.1 Khz for intel sound card which is=20 > built in Pentium PC. > For setting the period size and buffer size ... Why do you set them? Is there anything wrong with the default values? Regards, Clemens ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Alsa-user mailing list Als...@li... https://lists.sourceforge.net/lists/listinfo/alsa-user |