Re: [Alsa-devel] period size

2004-04-06 Thread Tim Hollingsworth
On 03/04/2004, at 4:41 PM, Jaroslav Kysela wrote: On Fri, 2 Apr 2004, Tim Hollingsworth wrote: Thanks for your help so far Jaroslav. I have taken another look at my project and now it's behaving differently! It still won't go down to a period size of 128. I have downloaded the ex

Re: [Alsa-devel] period size

2004-04-02 Thread Tim Hollingsworth
nt Setting of swparams failed: Invalid argument On 01/04/2004, at 4:52 PM, Jaroslav Kysela wrote: On Thu, 1 Apr 2004, Tim Hollingsworth wrote: You can read/write any size. well I can't write at 128. the question is, do I need to buffer the periods myself and sequence them into larger periods or

[Alsa-devel] period size

2004-03-30 Thread Tim Hollingsworth
Hi I am trying to write a pcm app which receives sound over the network and outputs it through the speakers. The network protocol is udp. From what I can tell, each packet is a single period with interleaved channels. My problem is that the period size appears to be below the minimum that

[Alsa-devel] undefined reference to `snd_pcm_hw_params_sizeof'

2004-03-17 Thread Tim Hollingsworth
Hi I'm a newbie with alsa and rusty with c. I am trying to get a basic pcm application going. I have: #include but when I try to: snd_pcm_hw_params_alloca(&hwparams); I get: /tmp/ccJB6E1d.o(.text+0x18): In function `initSound': : undefined reference to `snd_pcm_hw_params_sizeof' /tmp/cc

Re: [Alsa-devel] Where do I begin?

2004-03-03 Thread Tim Hollingsworth
On 04/03/2004, at 9:54 AM, Michel Dänzer wrote: On Thu, 2004-03-04 at 02:11, Tim Hollingsworth wrote: alsa-base 1.0.2c-3 alsa-headers1.0.2c-3 alsa-source 1.0.2c-3 Looks like you're missing libasound2-dev? aha! --- This S

[Alsa-devel] Where do I begin?

2004-03-03 Thread Tim Hollingsworth
Hi I'm a bit of a newbie here. I'm trying to write a PCM application using alsa 1.x. Firstly, is there an up to date howto or tutorial on this? I am currently using the ALSA 0.9.0 HOWTO from the ALSA dev page: http://www.suse.de/~mana/alsa090_howto.html *nothing* works. The header files m