On Tue, Jul 22, 2003 at 03:51:58PM +0200, Carlo Wood wrote:
int err = snd_pcm_mmap_begin(handle, areas, offset, frames);
returns err == 0, but results in areas == NULL ?
I looked deeper into it, and it happens because
snd_pcm_mmap_begin returns snd_pcm_mmap_areas()
which returns pcm
[...]
This is using gcc version 3.2.3
--
Carlo Wood [EMAIL PROTECTED]
---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual
-debug/build - /usr/src/linux-2.5.74-debug
--
Carlo Wood [EMAIL PROTECTED]
---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell
-utils seperately.
4) The rest can't be built ('make' doesn't work).
5) Again: alsa-drivers is not needed at all for me.
Thanks for the clarification.
--
Carlo Wood [EMAIL PROTECTED]
---
This SF.net email is sponsored by: VM Ware
With VMware
.
Additionally read 1024 bytes.
Additionally read 1024 bytes.
Stream is not restarted after xrun.
--
Carlo Wood [EMAIL PROTECTED]
#include stdio.h
#include sys/types.h
#include sys/stat.h
#include fcntl.h
#include sys/ioctl.h
#include unistd.h
#include sys/soundcard.h
#include time.h
int main(void
post:
On Sun, Jul 13, 2003 at 05:59:19PM +0200, Carlo Wood wrote:
On Sun, Jul 13, 2003 at 04:38:47AM +0200, Carlo Wood wrote:
I wrote a patch for sound/core/oss/pcm_oss.c, that fixes the ViaVoice
problem.
Later I wrote a test case that still doesn't get fixed:
a.out
Size of a fragment
tree. The patch
is attached to this e-mail.
Thanks for the patch. I couldn't have wished a better reply ;).
--
Carlo Wood [EMAIL PROTECTED]
---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems
On Sun, Jul 13, 2003 at 04:38:47AM +0200, Carlo Wood wrote:
I wrote a patch for sound/core/oss/pcm_oss.c, that fixes the ViaVoice
problem.
Later I wrote a test case that still doesn't get fixed:
a.out
Size of a fragment in bytes: 1024
Allocated fragments for buffering: 2
On Sat, Jul 12, 2003 at 02:08:34PM +0200, Carlo Wood wrote:
Hence, the problem is now reduced to the question:
Why is snd_pcm_update_hw_ptr_interrupt not called anymore
after we did run into an xrun?
I added a few more printk's and already I can guess
what is the reason that the 'blackbox
On Sat, Jul 12, 2003 at 08:56:16PM +0200, Jaroslav Kysela wrote:
On Sat, 12 Jul 2003, Carlo Wood wrote:
On Sat, Jul 12, 2003 at 02:08:34PM +0200, Carlo Wood wrote:
Hence, the problem is now reduced to the question:
Why is snd_pcm_update_hw_ptr_interrupt not called anymore
after we
On Sun, Jul 13, 2003 at 01:05:39AM +0200, Carlo Wood wrote:
If not, then it is a bug in ViaVoice - how *should* ViaVoice have
worked to this deadlock?
^__ avoid
---
This SF.Net email sponsored by: Parasoft
Error proof Web apps
, fragstotal = 2, fragsize = 1024
space: bytes = 2048, periods = 2, fragstotal = 2, fragsize = 1024
[...etc...]
The real rate being 8000, we have 16 kb/s of input
from the soundcard, but only read (on average) 11 kb/s, from
which we can conclude that the stream is stopped 31% of the time.
--
Carlo
I only see questions on this list,
and nobody who answers them.
Where are the developers? Is ALSA still maintained?
--
Carlo Wood [EMAIL PROTECTED]
---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing more
to the test code - i.e. only sleep for
naptime when info.fragments is zero.
That leads to no xruns, then it works.
It is of no use however because I can't get the closed
source application to read faster ;).
--
Carlo Wood [EMAIL PROTECTED
14 matches
Mail list logo