Assaf Hoffman wrote: > Hi, > > I'm mew to sound and ALSA. > > My project deals with PCM in standard (I2S) mode and IEC958 (SPDIF) > mode. > > Can anyone tell me how the ALSA stack expects to "see" the data received > form the sound device? I mean, what is the format of the data DMA'ed > from the sound device to DRAM that the ALSA stack expects? > > Is this raw sound data? SPDIF frame includes non sound data as well. > Does the sound card HW strip the sound payload from the IEC958 frame to > deliver the raw sound data to the ALSA buffer? > > Please shed some light... > > Many thanks. > > ALSA can deal with all the different formats that the sound device might deliver. The low level sound driver simply tells the upper layers what formats are available. ALSA then handles those formats and all format conversion required to reach the user space application. It depends what your device does as to which format ALSA will see. James ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel