NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/38493: no good audio with cdplay



reed%reedmedia.net@localhost said:
> It does start with a little popping/missing audio, but 
>  appears to get better/sound better over about 15 seconds.

Hmm - there could be some interaction with the audio
buffer and its low/high water marks. The writing should adapt
to the audio speed instead of using a fixed blocksize and
timer interval. I don't have a good idea how to do that
without changing the code structure.
Does it help to use larger blocks, eg "digital 10"
or "digital 20"? (At about 30 a limitation of the
VM system is hit - raw SCSI commands cannot exceed
MAXPHYS=64k bytes.)
Does it have a positive effect for you to remove
the sched_yield() call in sig_timer(). I don't think
that makes much sense.

> Can you commit this?
Yes, but be should do some finetuning before.

best regards
Matthias




-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index