| Summary: | newpcm CS461x sound problems | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | larse <larse> | ||||
| Component: | kern | Assignee: | greid | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Unspecified | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
larse
2000-11-15 19:20:01 UTC
This driver also fails to work in full duplex mode, blocking or non-blocking, on Lars' machine. Lars reported that rat did not work with this driver and so we've conducted a few experiments (rat problems mostly caused card by not supporting 8kHz sampling and newpcm accepting and reporting this as an acceptable rate, rat driver interface fixed and patch submitted to check rate bounds in dsp.c). The attached test program results in read buffer overruns, causing dump messages on syslog, at the lowest supported sampling rate (11025kHz). Lars observes: > [larse@hbo: ~] ./a.out -r 11025 > Device Caps: > Sample rates: 11025 -- 48000 Hz > Formats: 0x90000010 > DMA buffer size: 65536 bytes > Mixers: 0x00000001 Inputs: 0x017049f1 > Levels: 100 (left), 100 (right) > Set play rate 11025 fmt 16 > Set record rate 11025 fmt 16 > Got play rate 11025 fmt 16 > Got record rate 11025 fmt 16 > Block size requested 1024, play 1024, rec 1024 > Output buffer status: frags 2 frags total 2 fragsize 1024 bytes 2048 > Input buffer status: frags 0 frags total 2 fragsize 1024 bytes 0 > |^C > > Saw this in syslog during that run: > Nov 17 10:14:10 hbo /kernel: pcm0: record overrun, dumping 22528 bytes > Nov 17 10:14:26 hbo last message repeated 16 times Kind Regards - Orion Responsible Changed From-To: freebsd-bugs->cg Cameron is responsible for pcm. State Changed From-To: open->feedback Is this still a problem with more recent sources? Responsible Changed From-To: cg->greid I'll handle feedback. State Changed From-To: feedback->closed Originator reports problem is no longer present in >= 4.2 |