posiadam 2 karty dźwiękowe. Pierwsza z nich to CMedia CM8738, która jest moją kartą główną. Druga to ATI HD Audio. Korzystam z OSS4 + pulseaudio. Moim celem jest doprowadzenie do sytuacji, w której pierwsza karta będzie obsługiwała wszelaki dźwięk w moim systemie, a druga tylko do skype. Na razie doprowadziłem do stanu, gdzie dźwięk z pierwszej karty uzyskuje na dsp, a z drugiej na dsp2. W tym momencie utknąłem. Pomyślałem sobie żeby skopiować dźwięk z pierwszej karty na drugą. Tylko nie wiem jak tego dokonać.
Kod: Zaznacz cały
ossinfo -v3
Version info: OSS 4.2 (b 2004/201108011403) (0x00040100) OSS_HG
Hg revision: changeset: 935:2bf7db11c82d, tag: tip, date: Wed Jul 20 03:58:10 2011 +0300, summary: Change SOUND_MASK_VOLUME to SOUND_MASK_PCM after switching
Platform: Linux/i686 2.6.32-41-generic-pae #91-Ubuntu SMP Wed Jun 13 12:00:09 UTC 2012 (yahoo-desktop)
Number of audio devices: 10
Number of audio engines: 18
Number of MIDI devices: 0
Number of mixer devices: 2
Device objects
0: osscore0 OSS core services
1: oss_cmpci0 CMedia CM8738 interrupts=1136 (1208)
2: oss_hdaudio0 ATI HD Audio interrupts=20590 (21278)
HD Audio controller ATI HD Audio
Vendor ID 0x10024383
Subvendor ID 0x10438415
Codec 0: Unknown (0x11060397/0x10438415)
3: oss_usb0 USB audio core services
MIDI devices (/dev/midi*)
Mixer devices
0: CMedia CMPCI (Mixer 0 of device object 1)
Device file /dev/oss/oss_cmpci0/mix0, Legacy device /dev/mixer0
Priority: 1
Caps:
Device handle: PCI011113f6-0000:03:07.0-mx01
Device priority: 1
1: High Definition Audio 0x1106039 (Mixer 0 of device object 2)
Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer1
Priority: 10
Caps:
Device handle: PCI84151043-0000:00:14.2-mx01
Device priority: 10
Audio devices
CMedia CM8768 (rev 68) /dev/oss/oss_cmpci0/pcm0 (device index 0)
Legacy device /dev/dsp0
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
Engine 1: 0/CMedia CM8768 (rev 68)
Available for use
Engine 2: 1/CMedia CM8768 (rev 68) (vmix)
Available for use
Engine 3: 2/CMedia CM8768 (rev 68) (vmix)
Available for use
Engine 4: 3/CMedia CM8768 (rev 68) (vmix)
Available for use
Engine 5: 4/CMedia CM8768 (rev 68) (vmix)
Available for use
Input formats (0x00000418):
AFMT_U8 - 8 bit unsigned
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
Output formats (0x00000418):
AFMT_U8 - 8 bit unsigned
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
Device handle: PCI011113f6-0000:03:07.0-au01
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 8
Native sample rates (min - max): 5000 - 48000
HW Type: ANALOG_OUT ANALOG_IN DIGITAL_OUT DIGITAL_IN Minimum latency: Not indicated
CMedia CM8768 (playback only) /dev/oss/oss_cmpci0/pcm1 (device index 1)
Legacy device /dev/dsp1
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 5/CMedia CM8768 (playback only)
Available for use
Input formats (0x00000418):
AFMT_U8 - 8 bit unsigned
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
Output formats (0x00000418):
AFMT_U8 - 8 bit unsigned
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
Device handle: PCI011113f6-0000:03:07.0-au02
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 8
Native sample rates (min - max): 5000 - 48000
HW Type: ANALOG_OUT ANALOG_IN DIGITAL_OUT DIGITAL_IN Minimum latency: Not indicated
HD Audio play pcm1 /dev/oss/oss_hdaudio0/pcm0 (device index 2)
Legacy device /dev/dsp2
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
Out engine 1: 6/HD Audio play pcm1
Busy (OUT) label 'VMIX'
Engine 2: 14/HD Audio play pcm1 (vmix)
Busy (OUT) by PID 6308 / audacious2 label 'audacious2'
Engine 3: 15/HD Audio play pcm1 (vmix)
Available for use
Engine 4: 16/HD Audio play pcm1 (vmix)
Available for use
Engine 5: 17/HD Audio play pcm1 (vmix)
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI84151043-0000:00:14.2-au01
Related mixer dev: 1
Sample rate source: 6
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 8
Native sample rates (min - max): 44100 - 192000 (44100,48000,88200,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio play pcm2 /dev/oss/oss_hdaudio0/pcm1 (device index 3)
Legacy device /dev/dsp3
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 7/HD Audio play pcm2
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI84151043-0000:00:14.2-au02
Related mixer dev: 1
Sample rate source: 6
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,88200,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio play pcm3 /dev/oss/oss_hdaudio0/pcm2 (device index 4)
Legacy device /dev/dsp4
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 8/HD Audio play pcm3
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI84151043-0000:00:14.2-au03
Related mixer dev: 1
Sample rate source: 6
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,88200,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio play pcm4 /dev/oss/oss_hdaudio0/pcm3 (device index 5)
Legacy device /dev/dsp5
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 9/HD Audio play pcm4
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI84151043-0000:00:14.2-au04
Related mixer dev: 1
Sample rate source: 6
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,88200,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio play spdifout1 /dev/oss/oss_hdaudio0/spdout0 (device index 6)
Legacy device /dev/dsp6
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 10/HD Audio play spdifout1
Available for use
Input formats (0x00001410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI84151043-0000:00:14.2-au05
Related mixer dev: 1
Sample rate source: 6
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,88200,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio play spdifout2 /dev/oss/oss_hdaudio0/spdout1 (device index 7)
Legacy device /dev/dsp7
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 11/HD Audio play spdifout2
Available for use
Input formats (0x00001410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI84151043-0000:00:14.2-au06
Related mixer dev: 1
Sample rate source: 6
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,88200,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio rec select1 /dev/oss/oss_hdaudio0/pcmin0 (device index 8)
Legacy device /dev/dsp8
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
In engine 1: 12/HD Audio rec select1
Busy (IN) label 'VMIX_IN'
Engine 2: 14/HD Audio play pcm1 (vmix)
Busy (OUT) by PID 6308 / audacious2 label 'audacious2'
Engine 3: 15/HD Audio play pcm1 (vmix)
Available for use
Engine 4: 16/HD Audio play pcm1 (vmix)
Available for use
Engine 5: 17/HD Audio play pcm1 (vmix)
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI84151043-0000:00:14.2-au07
Related mixer dev: 1
Sample rate source: 6
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio rec jack6 /dev/oss/oss_hdaudio0/pcmin1 (device index 9)
Legacy device /dev/dsp9
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 13/HD Audio rec jack6
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI84151043-0000:00:14.2-au08
Related mixer dev: 1
Sample rate source: 6
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated
Nodes
/dev/dsp -> /dev/oss/oss_cmpci0/pcm0
/dev/dsp_in -> /dev/oss/oss_cmpci0/pcm0
/dev/dsp_out -> /dev/oss/oss_cmpci0/pcm0
/dev/dsp_ac3 -> /dev/oss/oss_cmpci0/pcm0
/dev/dsp_mmap -> /dev/oss/oss_cmpci0/pcm0
/dev/dsp_multich -> /dev/oss/oss_cmpci0/pcm0
/dev/dsp_spdifout -> /dev/oss/oss_cmpci0/pcm0
/dev/dsp_spdifin -> /dev/oss/oss_cmpci0/pcm0
A może jest jeszcze jakiś inny sposób?

-- 07 sie 2012 22:13 --
OK problem rozwiązany.
Uruchomiłem obie karty dźwiękowe. Tak jak zakładałem... CMedia obsługuje "wszystko", a zintegrowana tylko do Skype. Problem polegał na tym, że nie udało mi się wyprowadzić dźwięku w skype na inne wyjście niż "defalout". Dlatego zrezygnowałem z tego protokołu i spróbowałem Jitsi, w którym mam dowolność wyboru wyjść na obie karty.