[Alsa-devel] Broken Pipes

2002-07-25 Thread Tony Hardie-Bick
Hi, Am reading audio using snd_pcm_readi() and using short buffer times that result in "Broken pipe" errors being returned. Occasionally losing audio is not a problem, but do I have to completely reinitialise whenever this occurs? Tony --- Th

Re: [Alsa-devel] Broken Pipes

2002-07-25 Thread Paul Davis
>Am reading audio using snd_pcm_readi() and using short buffer times >that result in "Broken pipe" errors being returned. Occasionally losing >audio is not a problem, but do I have to completely reinitialise whenever >this occurs? it depends on the sw params you set up (if any). i think the defau

[Alsa-devel] DTMF recognition

2002-07-25 Thread Philipp Vollmer
Hello to all, who has already done DTMF recognition with ALSA ( OSS )? I searched for examples in google, but I have found that only in TODO lists ;-(. Is this so difficult or why doesn't exist anything about that? regards Philipp Vollmer -

Re: [Alsa-devel] DTMF recognition

2002-07-25 Thread Paul Davis
>Hello to all, > >who has already done DTMF recognition with ALSA ( OSS )? >I searched for examples in google, but I have found that >only in TODO lists ;-(. > >Is this so difficult or why doesn't exist anything about that? its a relatively trivial FFT problem. use FFTW to analyse the signal, the

Re: [Alsa-devel] DTMF recognition

2002-07-25 Thread Maarten de Boer
wouldn't it be easier to check for zerocrossings? --- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim __

Re: [Alsa-devel] ALSA docs

2002-07-25 Thread Patrick Shirkey
I have the working version of the template for the new improved docs. Can people who have a spare moment have a look through it for obvious mistakes. Any additions to the text will also be appreciated. I've looked at it so many times now I need a fresh eye to spot my mistakes. http://www.alsa-

Re: [Alsa-devel] ALSA docs

2002-07-25 Thread Paul Davis
>I have the working version of the template for the new improved docs. > >Can people who have a spare moment have a look through it for obvious >mistakes. Any additions to the text will also be appreciated. > >I've looked at it so many times now I need a fresh eye to spot my mistakes. > >http://w

Re: [Alsa-devel] ALSA docs

2002-07-25 Thread Patrick Shirkey
Paul Davis wrote: > there also needs to be a place for information about card-specific > control switches too. > Are there many cards that have controls switches? If there are not then I can see a reason to make that component optional to the template. How should I describe them? I have never

Re: [Alsa-devel] DTMF recognition

2002-07-25 Thread Joerg Mayer
On Thu, Jul 25, 2002 at 10:45:27AM -0400, Paul Davis wrote: > >who has already done DTMF recognition with ALSA ( OSS )? > >I searched for examples in google, but I have found that > >only in TODO lists ;-(. > > > >Is this so difficult or why doesn't exist anything about that? Please have a look a

Re: [Alsa-devel] DTMF recognition

2002-07-25 Thread Tony Hardie-Bick
> wouldn't it be easier to check for zerocrossings? This would assume a perfect sine wave for both tones. The bad thing about zero crossing is that even the tiniest amount of noise completely ruins it, and then you're looking at second derivatives, which are also dependent upon signal quality. Th

Re: [Alsa-devel] ALSA docs

2002-07-25 Thread Patrick Shirkey
I'm looking into ways to automate the modules options component file for the docs. At the moment I am considering using perl or mysql. Does anyone know which is easier to setup to do the following. Parse the INSTALL file for a module name. Return the info for that module. Then either Write

Re: [Alsa-devel] DTMF recognition

2002-07-25 Thread Mark Rages
On Thu, Jul 25, 2002 at 10:45:27AM -0400, Paul Davis wrote: > >Hello to all, > > > >who has already done DTMF recognition with ALSA ( OSS )? > >I searched for examples in google, but I have found that > >only in TODO lists ;-(. > > > >Is this so difficult or why doesn't exist anything about that?

Re: [Alsa-devel] pcm_lib.c & pcm_memory.c

2002-07-25 Thread Guilhem Tardy
> > When does the pointer to the next playback/capture audio period rewind? I > > noticed that for more than 2 periods_max, this can happen anytime > > (eg. after 2, 3, ...) even before we reached the end of the buffer. > > it must be after the hw_ptr reaches the end of the buffer. > please check

[Alsa-devel] CS4630 developments

2002-07-25 Thread Ron Murray
It looks like support for the CS4630 is rapidly improving! I was beginning to resign myself to having my Santa Cruz work properly only under Windows. Thanks folks! Regarding the discussion about IEC958 ports on the CS4630 and the CS4297, the datasheets seem to indicate that both have IEC958

Re: [Alsa-devel] SPDIF output finally working properly with CS4630

2002-07-25 Thread Peter Heatwole
On 2002.07.24 14:53 Benny Sjostrand wrote: >> MasterMixSCB: >> 0090 1478 0094 >> 0098 0080 00A0 809A 00C3 009C >> 14F8 80008000 80007FFF > The 9th Dword in SCB is the sub_list_ptr which points > to th

Re: [Alsa-devel] DTMF recognition

2002-07-25 Thread P. Christeas
> > wouldn't it be easier to check for zerocrossings? > > This would assume a perfect sine wave for both tones. The bad thing > about zero crossing is that even the tiniest amount of noise > completely ruins it, and then you're looking at second derivatives, > which are also dependent upon signal

[Alsa-devel] cs46xx: defaults to revision 1.03 AC97 codec

2002-07-25 Thread Peter Heatwole
I noticed in cs46xx_lib.c that the cs46xx driver defaults to instructing the chip that it will be using a 1.03 revision AC97 codec versus a 2.0 revision codec. What are the advantages and disadvantages of this? -- Peter Heatwole "Murphy was just a well known pessimist." --