I'm using audacity with OSS on my recently installed Arch laptop. I've got an HDAudio STAC 9205 card.
Sound works on this machine, and I can play back sound files from my computer in Audacity (using /etc/asound.conf to point the various ALSA devices at various devices in /dev/oss/oss_hdaudio0/). ALSA:default works, as does ALSA:ossin1, strangely enough, while the others do not.
When I switch from ALSA to OSS under Help->Devices->Interface->Host, things hit the fan. I can't play anything back (selecting /dev/dsp5, which is /dev/oss/oss_hdaudio0/pcmin2, even hangs audacity). When I hit record, I get the generic error "Error while opening sound device. Please check the input device settings and the project sample rate." The sample rate, by the way, is set to 48.000 kHz, which is what my oss mixer is running at.
Using the ALSA aliases I've set up lets me play things back, but when I hit record and speak into my mic (connected to an input jack according to ossxmix) I get nothing.
here's the output from Help->Audio Device Info. Apologies for the long quote.
So, what could be wrong? Does the warning about portmixer at the end tell us anything? Also, why does only /dev/dsp5 show support for any sampling rates at all, while the emulated ALSA ones do?Audio Device Info wrote: ==============================
Default capture device number: 4
Default playback device number: 4
==============================
Device ID: 0
Device name: ALSA: oss
Input channels: 2
Output channels: 2
Low Input Latency: 0.011610
Low Output Latency: 0.011610
High Input Latency: 0.046440
High Output Latency: 0.046440
Supported Rates:
8000
9600
11025
12000
15000
16000
22050
24000
32000
44100
48000
88200
96000
192000
==============================
Device ID: 1
Device name: ALSA: ossin0
Input channels: 2
Output channels: 2
Low Input Latency: 0.011610
Low Output Latency: 0.011610
High Input Latency: 0.046440
High Output Latency: 0.046440
Supported Rates:
8000
9600
11025
12000
15000
16000
22050
24000
32000
44100
48000
88200
96000
192000
==============================
Device ID: 2
Device name: ALSA: ossin1
Input channels: 2
Output channels: 2
Low Input Latency: 0.011610
Low Output Latency: 0.011610
High Input Latency: 0.046440
High Output Latency: 0.046440
Supported Rates:
8000
9600
11025
12000
15000
16000
22050
24000
32000
44100
48000
88200
96000
192000
==============================
Device ID: 3
Device name: ALSA: ossin2
Input channels: 2
Output channels: 2
Low Input Latency: 0.011610
Low Output Latency: 0.011610
High Input Latency: 0.046440
High Output Latency: 0.046440
Supported Rates:
8000
9600
11025
12000
15000
16000
22050
24000
32000
44100
48000
88200
96000
192000
==============================
Device ID: 4
Device name: ALSA: default
Input channels: 2
Output channels: 2
Low Input Latency: 0.011610
Low Output Latency: 0.011610
High Input Latency: 0.046440
High Output Latency: 0.046440
Supported Rates:
8000
9600
11025
12000
15000
16000
22050
24000
32000
44100
48000
88200
96000
192000
==============================
Device ID: 5
Device name: OSS: /dev/dsp
Input channels: 2
Output channels: 2
Low Input Latency: 0.011610
Low Output Latency: 0.011610
High Input Latency: 0.046440
High Output Latency: 0.046440
Supported Rates:
==============================
Device ID: 6
Device name: OSS: /dev/dsp1
Input channels: 2
Output channels: 2
Low Input Latency: 0.011610
Low Output Latency: 0.011610
High Input Latency: 0.046440
High Output Latency: 0.046440
Supported Rates:
==============================
Device ID: 7
Device name: OSS: /dev/dsp2
Input channels: 2
Output channels: 2
Low Input Latency: 0.011610
Low Output Latency: 0.011610
High Input Latency: 0.046440
High Output Latency: 0.046440
Supported Rates:
==============================
Device ID: 8
Device name: OSS: /dev/dsp3
Input channels: 2
Output channels: 2
Low Input Latency: 0.011610
Low Output Latency: 0.011610
High Input Latency: 0.046440
High Output Latency: 0.046440
Supported Rates:
==============================
Device ID: 9
Device name: OSS: /dev/dsp4
Input channels: 2
Output channels: 2
Low Input Latency: 0.011610
Low Output Latency: 0.011610
High Input Latency: 0.046440
High Output Latency: 0.046440
Supported Rates:
==============================
Device ID: 10
Device name: OSS: /dev/dsp5
Input channels: 2
Output channels: 2
Low Input Latency: 0.011610
Low Output Latency: 0.011610
High Input Latency: 0.046440
High Output Latency: 0.046440
Supported Rates:
8000
9600
11025
12000
15000
16000
22050
24000
32000
44100
48000
88200
96000
192000
==============================
Selected capture device: 0 - ALSA: oss
Selected playback device: 2 - ALSA: ossin1
Supported Rates:
8000
9600
11025
12000
15000
16000
22050
24000
32000
44100
48000
88200
96000
192000
Unable to open Portmixer
Any help would be appreciated.