On Wed, 2003-11-26 at 13:32, Takashi Iwai wrote: > At Wed, 26 Nov 2003 13:10:11 +0100, > Ronny V. Vindenes wrote: > > > > On Wed, 2003-11-26 at 11:44, Takashi Iwai wrote: > > > At Wed, 26 Nov 2003 01:11:07 +0100, > > > Ronny V. Vindenes wrote: > > > > > > > > On Tue, 2003-11-25 at 20:04, Takashi Iwai wrote: > > > > > Hi, > > > > > > > > > > right now the ALSA 1.0.0pre3 packages are released. > > > > > > > > > > In this version, alsa-tools package was divided to two several ones, > > > > > alsa-tools and alsa-firmware. The latter contains only the firmware > > > > > binary files required by loader programs in alsa-tools package. > > > > > Please test them if you have a board requiring the loader (hdsp, > > > > > mixart, vx, usx2y). > > > > > > > > > > Especially, HDSP users, please test and report whether it works, since > > > > > the hdsploader was modified to load the files dynamically. > > > > > > > > > > > > > > > > > > mmap'ed sound with the cs46xx driver seems to be broken, every other > > > > half second the sound is muted. Non-mmap'ed sound plays normally. This > > > > is under 2.6.0-test9-mm5. The version included in test9-mm5 works as > > > > expected (there was some patches in mm5 against ALSA, but applying those > > > > to 1.0.0pre3 made no difference for this particular problem). > > > > > > there is no big change in cs46xx driver itself, so the change is > > > either in kernel core or in the config. > > > do you use CONFIG_SND_CS46XX_NEW_DSP ? > > > > Yes. > > > > I've tested it with 2.6.0-test10 too now, and I've narrowed it down a > > bit: native alsa mmap'ed or not works, but oss emulation only works > > correctly when not using mmap. > > > > Things like wine, quake3, Enemy Territory all sound awful. Plain > > 2.6.0-test10 works fine in all cases. > > to be sure, try to set direct mode for oss-emulation via writing to > the proc file. see alsa-kernel/Documentation/OSS-Emulation.txt.
Setting direct mode made no difference. > > also, please check /proc/asound/card0/pcm0p/sub0/* files in both > cases. I've attached cat /proc/asound/card0/pcm0p/sub0/* for both cases -- Ronny V. Vindenes <[EMAIL PROTECTED]>
access: MMAP_INTERLEAVED format: S16_LE subformat: STD channels: 2 rate: 22050 (22050/1) period_size: 512 buffer_size: 16384 tick_time: 1000 OSS format: S16_LE OSS channels: 2 OSS rate: 22050 OSS period bytes: 2048 OSS periods: 32 card: 0 device: 0 subdevice: 0 stream: PLAYBACK id: CS46xx name: CS46xx subname: subdevice #0 class: 0 subclass: 0 subdevices_count: 31 subdevices_avail: 30 64 state: RUNNING trigger_time: 1069855349.000085703 tstamp : 1069855357.000765834 delay : 15968 avail : 416 avail_max : 32912 ----- hw_ptr : 191392 appl_ptr : 207360 tstamp_mode: NONE period_step: 1 sleep_min: 0 avail_min: 1 xfer_align: 1 start_threshold: 1 stop_threshold: 1073741824 silence_threshold: 528 silence_size: 528 boundary: 1073741824
access: RW_INTERLEAVED format: S16_LE subformat: STD channels: 2 rate: 44100 (44100/1) period_size: 512 buffer_size: 16384 tick_time: 1000 OSS format: S16_LE OSS channels: 2 OSS rate: 44100 OSS period bytes: 2048 OSS periods: 32 card: 0 device: 0 subdevice: 0 stream: PLAYBACK id: CS46xx name: CS46xx subname: subdevice #0 class: 0 subclass: 0 subdevices_count: 31 subdevices_avail: 30 64 state: RUNNING trigger_time: 1069855565.000290916 tstamp : 1069855577.000743808 delay : 9392 avail : 6992 avail_max : 15872 ----- hw_ptr : 549200 appl_ptr : 558592 tstamp_mode: NONE period_step: 1 sleep_min: 0 avail_min: 1 xfer_align: 1 start_threshold: 1 stop_threshold: 16384 silence_threshold: 528 silence_size: 528 boundary: 1073741824