[Bug 641888] New: Sound recording (ALSA mic) not working
https://bugzilla.novell.com/show_bug.cgi?id=641888 https://bugzilla.novell.com/show_bug.cgi?id=641888#c0 Summary: Sound recording (ALSA mic) not working Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Sound AssignedTo: tiwai@novell.com ReportedBy: kkaempf@novell.com QAContact: qa@suse.de CC: mseben@novell.com Found By: Development Blocker: --- Audacity complains with Expression 'stream->capture.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3653 and fails to record any audio. Seems to be a well known problem (bnc#544892, http://marc.info/?l=linux-kernel&m=126414072830819&w=2) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=641888
https://bugzilla.novell.com/show_bug.cgi?id=641888#c1
--- Comment #1 from Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=641888
https://bugzilla.novell.com/show_bug.cgi?id=641888#c2
--- Comment #2 from Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=641888
https://bugzilla.novell.com/show_bug.cgi?id=641888#c3
--- Comment #3 from Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=641888
https://bugzilla.novell.com/show_bug.cgi?id=641888#c4
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=641888
https://bugzilla.novell.com/show_bug.cgi?id=641888#c5
Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=641888
https://bugzilla.novell.com/show_bug.cgi?id=641888#c6
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=641888
https://bugzilla.novell.com/show_bug.cgi?id=641888#c7
--- Comment #7 from Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=641888
https://bugzilla.novell.com/show_bug.cgi?id=641888#c8
--- Comment #8 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=641888
https://bugzilla.novell.com/show_bug.cgi?id=641888#c9
Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=641888
https://bugzilla.novell.com/show_bug.cgi?id=641888#c10
--- Comment #10 from Takashi Iwai
Well, I agree that my original problem is fixed in a technical sense, I do not think that the bug is ready to be closed. The problem must also be addressed from a users perspective.
There are currently no hints within any software (audacity, kde mixer, amixer, alsamixer) that "Smart 5.1" conflicts with "recording". There should be - a clear warning about the conflict
How? On GUI?
- a checkbox to enable/disable 5.1
It's a mixer program problem. amixer / alsamixer provides it.
- enabled 5.1 must disable any capture/mic settings
Should it return an error? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=641888
https://bugzilla.novell.com/show_bug.cgi?id=641888#c11
--- Comment #11 from Klaus Kämpf
(In reply to comment #9)
Well, I agree that my original problem is fixed in a technical sense, I do not think that the bug is ready to be closed. The problem must also be addressed from a users perspective.
There are currently no hints within any software (audacity, kde mixer, amixer, alsamixer) that "Smart 5.1" conflicts with "recording". There should be - a clear warning about the conflict
How? On GUI?
Well those applications opening an ALSA recording device should get an appropriate error code back and translate it to a user-friendly error message.
- a checkbox to enable/disable 5.1
It's a mixer program problem. amixer / alsamixer provides it.
Huh ? Both mixers happily allowed me to configure "mic" channels without any warning signs.
- enabled 5.1 must disable any capture/mic settings
Should it return an error?
Setting capture devices (alsamixer -> F4 -> Space) should warn if 5.1 is enabled. Enabling 5.1 should warn if capture devices are defined. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=641888
https://bugzilla.novell.com/show_bug.cgi?id=641888#c12
Takashi Iwai
(In reply to comment #10)
(In reply to comment #9)
Well, I agree that my original problem is fixed in a technical sense, I do not think that the bug is ready to be closed. The problem must also be addressed from a users perspective.
There are currently no hints within any software (audacity, kde mixer, amixer, alsamixer) that "Smart 5.1" conflicts with "recording". There should be - a clear warning about the conflict
How? On GUI?
Well those applications opening an ALSA recording device should get an appropriate error code back and translate it to a user-friendly error message.
There is no such a framework. You have to define a proper error code, standardize it, then change the middle layer (e.g. PA), then application layer.
- a checkbox to enable/disable 5.1
It's a mixer program problem. amixer / alsamixer provides it.
Huh ? Both mixers happily allowed me to configure "mic" channels without any warning signs.
It's a very driver-specific, thus no generic thing for a mixer app. At best, write an app-specific mixer program.
- enabled 5.1 must disable any capture/mic settings
Should it return an error?
Setting capture devices (alsamixer -> F4 -> Space) should warn if 5.1 is enabled. Enabling 5.1 should warn if capture devices are defined.
Giving a warning from the driver is the very missing piece. The driver can give at most an error with some error code. The rest is the role of the middle layer and applications. All things you described are nice, but it's very hard to implement, and it's an enhancement request. As I have no time for ALSA development in my current position, I'll have to close this. Sorry. Feel free to submit any patches to the upstream or help the development on the upsteram ML. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=641888
https://bugzilla.novell.com/show_bug.cgi?id=641888#c13
Klaus Kämpf
participants (1)
-
bugzilla_noreply@novell.com