: artsd-like style
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1224>
======================================================================
Reported By: Hetfield
Assigned To:
======================================================================
Project: ALSA - driver Issue ID: 1224 Category: PCI - ens1370 Reproducibility: always Severity: major Priority: normal Status: new Distribution: Kernel Version: 2.6.x ====================================================================== Date Submitted: 07-01-2005 14:49 CEST Last Modified: 09-18-2005 10:14 CEST
======================================================================
Summary: artsd-like style
Description:
i'd like to know if that's a roadmap to let alsa drivers have a artsd (or windows) style, i mean, multiple streams at once.
that could be very important for example using skype voip and listening music at the same time.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
has duplicate 0001228 Skype Does not work with aoss
======================================================================
----------------------------------------------------------------------
Hetfield - 09-18-05 09:36
----------------------------------------------------------------------
now skype works with aoss! but those settings are buggy.
the problem is dmix is pretty disabled:
skype using dsp? no other apps can use it.
but even using 2 alsa native apps, i can't use both. playing mp3 and starting mplayer, make mplayer stops, waiting for mp3 player to exit.
kiax continues not to work, completly.
ALSA_OSS_DEBUG=1 aoss ./skype.binopen("/dev/mixer", 2, 0) -> 35open("/dev/mixer", 2, -1227608792) -> 37 open("/dev/mixer", 2, 142850184) -> 39
Opened PCM dsp0 for stream 0 (result = -2)
Opened PCM default for stream 0 (result = 0)
Opened PCM default for stream 1 (result = 0) open("/dev/dsp", 2, 145797372) -> 41ioctl(41, SNDCTL_DSP_GETCAPS, 0xb6d42ccc) -> [13056] ioctl(41, SNDCTL_DSP_SETFRAGMENT, 0x8760d08[100008]) ioctl(41, SNDCTL_DSP_STEREO, 0x8760d0c[0]) -> [0] ioctl(41, SNDCTL_DSP_SETFMT, 0x8760d10[16]) -> [16] ioctl(41, SNDCTL_DSP_SPEED, 0x8760d24[48000]) -> [48000] ioctl(41, SNDCTL_DSP_GETOSPACE, 0xb6d42cd0) -> {16 16 256 4096} write(41, 0xb41fdcc0, 960) -> 960write(41, 0xb41fdcc0, 960) -> 960write(41, 0xb41fdcc0, 960) -> 960write(41, 0xb41fdcc0, 960) -> 960write(41, 0xb41fdcc0, 960) -> 960write(41, 0xb41fdcc0, 960) -> 960write(41, 0xb41fdcc0, 960) -> 960write(41, 0xb41fdcc0, 960) -> 960write(41, 0xb41fdcc0, 960) -> 960write(41, 0xb41fdcc0, 960) -> 960write(41, 0xb41fdcc0, 960) -> 960
[CUT]...i hangup
Opened PCM dsp0 for stream 0 (result = -2)
Opened PCM default for stream 0 (result = -16)open("/dev/dsp", 2, 0) -> -1/dev/dsp-1: Dispositivo o risorsa occupata
close(39) -> 0
----------------------------------------------------------------------
rlrevell - 09-18-05 10:14
----------------------------------------------------------------------
OK, you have to do one more thing:
ALSA_OSS_DEBUG=1 ALSA_OSS_PCM_DEVICE="default" aoss ./skype.bin
Also my last message was wrong - Skype asks for 16 fragments of 256 bytes not 1. And I had the order of the structure wrong - GETOSPACE actually returned 8 of 16 4096K fragments in the buffer.
Issue History
Date Modified Username Field Change
======================================================================
07-01-05 14:49 Hetfield New Issue 07-01-05 14:49 Hetfield Kernel Version => 2.6.x 07-01-05 20:16 Hetfield Note Added: 0005337 07-01-05 20:33 rlrevell Note Added: 0005338 07-01-05 22:56 Hetfield Note Added: 0005343 07-02-05 18:53 pzad Note Added: 0005356 07-02-05 20:11 Hetfield Note Added: 0005357 07-02-05 21:46 pzad File Added: aoss-fcntl.patch 07-02-05 21:47 pzad Note Added: 0005361 07-03-05 09:25 Hetfield Note Added: 0005370 07-03-05 14:09 pzad Note Added: 0005376 07-03-05 15:57 Hetfield Note Added: 0005378 07-04-05 11:49 pzad File Added: aoss.patch 07-04-05 11:53 pzad Note Added: 0005384 07-04-05 14:02 Hetfield Note Added: 0005385 07-08-05 12:16 tiwai Note Added: 0005417 07-08-05 12:27 Hetfield Note Added: 0005418 07-17-05 10:25 Hetfield Note Added: 0005503 07-17-05 10:29 rlrevell Note Added: 0005504 07-17-05 10:46 rlrevell Note Added: 0005505 07-17-05 11:10 Hetfield Note Added: 0005506 07-17-05 11:11 Hetfield File Added: log.tar.gz 07-17-05 19:41 rlrevell Note Added: 0005508 07-17-05 19:50 Hetfield Note Added: 0005509 07-17-05 19:51 rlrevell Note Added: 0005510 07-17-05 20:21 Hetfield Note Added: 0005511 07-17-05 21:14 rlrevell Note Added: 0005512 07-17-05 21:22 Hetfield File Added: log2.tar.gz 07-17-05 21:22 Hetfield File Added: log2 07-17-05 21:23 Hetfield Note Added: 0005513 07-17-05 22:21 rlrevell Note Added: 0005514 07-17-05 23:28 Hetfield Note Added: 0005515 07-17-05 23:43 rlrevell Note Added: 0005516 07-18-05 03:33 rlrevell Note Added: 0005517 07-18-05 06:04 rlrevell Note Added: 0005518 07-18-05 07:33 rlrevell Note Added: 0005519 07-18-05 09:23 Hetfield Note Added: 0005520 07-18-05 09:24 Hetfield File Added: asoundrc 07-18-05 22:08 rlrevell Note Added: 0005524 07-21-05 19:55 Hetfield Note Added: 0005540 07-21-05 19:56 Hetfield Note Added: 0005541 07-24-05 09:55 Hetfield Note Added: 0005556 07-24-05 19:10 rlrevell Note Added: 0005558 07-28-05 22:40 rlrevell Note Added: 0005578 07-29-05 17:43 tiwai Note Added: 0005579 08-01-05 10:20 Hetfield Note Added: 0005595 08-10-05 00:49 rlrevell Relationship added has duplicate 0001228 08-28-05 15:56 Hetfield Note Added: 0005963 09-02-05 19:57 tiwai Note Added: 0006020 09-02-05 20:22 Hetfield Note Added: 0006021 09-02-05 20:24 tiwai Note Added: 0006022 09-02-05 20:26 Hetfield Note Added: 0006023 09-02-05 20:31 Hetfield Note Added: 0006024 09-17-05 14:05 Hetfield Note Added: 0006249 09-17-05 14:51 Hetfield Note Added: 0006250 09-17-05 19:43 rlrevell Note Added: 0006253 09-17-05 19:46 Hetfield Note Added: 0006254 09-17-05 19:50 rlrevell Note Added: 0006255 09-17-05 19:55 pzad Note Added: 0006256 09-17-05 20:10 rlrevell Note Added: 0006257 09-17-05 20:11 rlrevell Note Added: 0006258 09-17-05 21:21 Hetfield Note Added: 0006261 09-17-05 22:05 rlrevell Note Added: 0006262 09-17-05 22:38 Hetfield Note Added: 0006263 09-17-05 22:52 Hetfield Note Added: 0006264 09-18-05 03:26 rlrevell Note Added: 0006265 09-18-05 03:33 rlrevell Note Edited: 0006265 09-18-05 09:36 Hetfield Note Added: 0006266 09-18-05 10:14 rlrevell Note Added: 0006267
======================================================================
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php