You are not logged in.

#1 2008-06-06 00:17:09

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Configuring Sound Card (Resolved, but kmix was broken)

Okay, I followed the instructions in this tutorial for getting my new sound card to work: http://4front-tech.com/forum/viewtopic.php?t=2358  Now, how do I get it to use the microphone input on my new sound card?  Here's the output of ossinfo -a:

Intel ICH6 (266E)                 /dev/oss/ich0/pcm0  (device index 0)
C-Media USB audio play            /dev/oss/usb0d8c000c-1/pcm0  (device index 1)
C-Media USB audio rec             /dev/oss/usb0d8c000c-2/pcmin0  (device index 2)

I sort of need the microphone input in order to use tvtime.  My tvtuner sends sound data directly to the sound card, by use of a short cable.  One end is plugged into the audio-out of the tvtuner, and the other end is plugged in to the sound card's microphone-in port.

EDIT: Also, I'm only getting sound out of my left speaker for some reason.

Last edited by Falcata (2008-06-06 11:15:59)

Offline

#2 2008-06-06 11:15:13

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: Configuring Sound Card (Resolved, but kmix was broken)

Well, I fixed the problem by undoing the changes in method #1 on that page, and then using method #2.  Now, my sound is working correctly.

That said, I now have a new problem: kmix has been crippled.  It is expecting the old sound card for some reason, and so now when I bring up it's window, it is completely blank.  The "current mixer" drop-down box is empty, and it's taskbar icon is showing an error emblem on it (looks like a yield road sign).

Offline

#3 2008-06-06 12:15:03

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: Configuring Sound Card (Resolved, but kmix was broken)

You need to patch Kmix for it to support the new oss driver.
Check the 4front forums for the patch

Last edited by carlocci (2008-06-06 12:15:50)

Offline

#4 2008-06-06 13:37:11

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: Configuring Sound Card (Resolved, but kmix was broken)

I'm building the kdemultimedia package now (or rather, the kdemod one), so I'll see how well it works in a little while I suppose.

Offline

#5 2008-06-06 13:52:55

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: Configuring Sound Card (Resolved, but kmix was broken)

The build failed:

In file included from mixer_oss4.cpp:42,
                 from kmix-platforms.cpp:84,
                 from mixer.cpp:33,
                 from libkdeinit_kmixctrl_la.all_cpp.cpp:3:
mixer_oss4.h: At global scope:
mixer_oss4.h:40: error: 'oss_sysinfo' does not name a type
In file included from kmix-platforms.cpp:84,
                 from mixer.cpp:33,
                 from libkdeinit_kmixctrl_la.all_cpp.cpp:3:
mixer_oss4.cpp:63: warning: unused parameter 'ctrlnum'
mixer_oss4.cpp:63: warning: unused parameter 'on'
mixer_oss4.cpp:69: warning: unused parameter 'ctrlnum'
mixer_oss4.cpp: In member function 'MixDevice::ChannelType Mixer_OSS4::classifyAndRename(QString&, int)':
mixer_oss4.cpp:81: error: 'MIXF_PCMVOL' was not declared in this scope
mixer_oss4.cpp:82: error: 'MIXF_MONVOL' was not declared in this scope
mixer_oss4.cpp:83: error: 'MIXF_MAINVOL' was not declared in this scope
mixer_oss4.cpp: In member function 'virtual int Mixer_OSS4::open()':
mixer_oss4.cpp:164: error: 'SNDCTL_SYSINFO' was not declared in this scope
mixer_oss4.cpp:164: error: 'm_backendSysinfo' was not declared in this scope
mixer_oss4.cpp:172: error: 'oss_mixext' was not declared in this scope
mixer_oss4.cpp:172: error: expected `;' before 'ext'
mixer_oss4.cpp:173: error: 'ext' was not declared in this scope
mixer_oss4.cpp:175: error: 'SNDCTL_MIX_NREXT' was not declared in this scope
mixer_oss4.cpp:189: error: 'SNDCTL_MIX_EXTINFO' was not declared in this scope
mixer_oss4.cpp:194: error: 'oss_mixext_root' was not declared in this scope
mixer_oss4.cpp:194: error: 'root' was not declared in this scope
mixer_oss4.cpp:194: error: expected primary-expression before ')' token
mixer_oss4.cpp:194: error: expected `;' before 'ext'
mixer_oss4.cpp:205: error: 'SNDCTL_MIX_EXTINFO' was not declared in this scope
mixer_oss4.cpp:225: error: 'MIXF_RECVOL' was not declared in this scope
mixer_oss4.cpp:234: error: 'MIXT_STEREOSLIDER16' was not declared in this scope
mixer_oss4.cpp:235: error: 'MIXT_STEREOSLIDER' was not declared in this scope
mixer_oss4.cpp:236: error: 'MIXT_MONOSLIDER16' was not declared in this scope
mixer_oss4.cpp:237: error: 'MIXT_MONOSLIDER' was not declared in this scope
mixer_oss4.cpp:238: error: 'MIXT_SLIDER' was not declared in this scope
mixer_oss4.cpp:273: error: 'MIXF_MAINVOL' was not declared in this scope
mixer_oss4.cpp:278: error: 'MIXT_ONOFF' was not declared in this scope
mixer_oss4.cpp:285: error: 'MIXT_ENUM' was not declared in this scope
mixer_oss4.cpp:287: error: 'oss_mixer_enuminfo' was not declared in this scope
mixer_oss4.cpp:287: error: expected `;' before 'ei'
mixer_oss4.cpp:288: error: 'ei' was not declared in this scope
mixer_oss4.cpp:291: error: 'SNDCTL_MIX_ENUMINFO' was not declared in this scope
mixer_oss4.cpp: In member function 'virtual int Mixer_OSS4::readVolumeFromHW(int, Volume&)':
mixer_oss4.cpp:360: error: 'oss_mixext' was not declared in this scope
mixer_oss4.cpp:360: error: expected `;' before 'extinfo'
mixer_oss4.cpp:361: error: 'oss_mixer_value' was not declared in this scope
mixer_oss4.cpp:361: error: expected `;' before 'mv'
mixer_oss4.cpp:363: error: 'extinfo' was not declared in this scope
mixer_oss4.cpp:366: error: 'SNDCTL_MIX_EXTINFO' was not declared in this scope
mixer_oss4.cpp:372: error: 'mv' was not declared in this scope
mixer_oss4.cpp:376: error: 'SNDCTL_MIX_READ' was not declared in this scope
mixer_oss4.cpp:383: error: 'MIXT_ONOFF' was not declared in this scope
mixer_oss4.cpp:392: error: 'MIXT_ONOFF' was not declared in this scope
mixer_oss4.cpp:396: error: 'MIXT_MONOSLIDER' was not declared in this scope
mixer_oss4.cpp:400: error: 'MIXT_STEREOSLIDER' was not declared in this scope
mixer_oss4.cpp:405: error: 'MIXT_SLIDER' was not declared in this scope
mixer_oss4.cpp:409: error: 'MIXT_MONOSLIDER16' was not declared in this scope
mixer_oss4.cpp:413: error: 'MIXT_STEREOSLIDER16' was not declared in this scope
mixer_oss4.cpp:423: error: 'MIXT_ONOFF' was not declared in this scope
mixer_oss4.cpp:426: error: 'MIXT_MONOSLIDER' was not declared in this scope
mixer_oss4.cpp:430: error: 'MIXT_STEREOSLIDER' was not declared in this scope
mixer_oss4.cpp:435: error: 'MIXT_SLIDER' was not declared in this scope
mixer_oss4.cpp:439: error: 'MIXT_MONOSLIDER16' was not declared in this scope
mixer_oss4.cpp:443: error: 'MIXT_STEREOSLIDER16' was not declared in this scope
mixer_oss4.cpp: In member function 'virtual int Mixer_OSS4::writeVolumeToHW(int, Volume&)':
mixer_oss4.cpp:457: error: 'oss_mixext' was not declared in this scope
mixer_oss4.cpp:457: error: expected `;' before 'extinfo'
mixer_oss4.cpp:458: error: 'oss_mixer_value' was not declared in this scope
mixer_oss4.cpp:458: error: expected `;' before 'mv'
mixer_oss4.cpp:460: error: 'extinfo' was not declared in this scope
mixer_oss4.cpp:463: error: 'SNDCTL_MIX_EXTINFO' was not declared in this scope
mixer_oss4.cpp:470: error: 'MIXT_ONOFF' was not declared in this scope
mixer_oss4.cpp:478: error: 'MIXT_ONOFF' cannot appear in a constant-expression
mixer_oss4.cpp:481: error: 'MIXT_MONOSLIDER' was not declared in this scope
mixer_oss4.cpp:485: error: 'MIXT_STEREOSLIDER' was not declared in this scope
mixer_oss4.cpp:489: error: 'MIXT_SLIDER' was not declared in this scope
mixer_oss4.cpp:493: error: 'MIXT_MONOSLIDER16' was not declared in this scope
mixer_oss4.cpp:497: error: 'MIXT_STEREOSLIDER16' was not declared in this scope
mixer_oss4.cpp:505: error: 'mv' was not declared in this scope
mixer_oss4.cpp:510: error: 'SNDCTL_MIX_WRITE' was not declared in this scope
mixer_oss4.cpp: In member function 'virtual void Mixer_OSS4::setEnumIdHW(int, unsigned int)':
mixer_oss4.cpp:520: error: 'oss_mixext' was not declared in this scope
mixer_oss4.cpp:520: error: expected `;' before 'extinfo'
mixer_oss4.cpp:521: error: 'oss_mixer_value' was not declared in this scope
mixer_oss4.cpp:521: error: expected `;' before 'mv'
mixer_oss4.cpp:523: error: 'extinfo' was not declared in this scope
mixer_oss4.cpp:526: error: 'SNDCTL_MIX_EXTINFO' was not declared in this scope
mixer_oss4.cpp:533: error: 'MIXT_ENUM' was not declared in this scope
mixer_oss4.cpp:554: error: 'mv' was not declared in this scope
mixer_oss4.cpp:559: error: 'SNDCTL_MIX_WRITE' was not declared in this scope
mixer_oss4.cpp: In member function 'virtual unsigned int Mixer_OSS4::enumIdHW(int)':
mixer_oss4.cpp:568: error: 'oss_mixext' was not declared in this scope
mixer_oss4.cpp:568: error: expected `;' before 'extinfo'
mixer_oss4.cpp:569: error: 'oss_mixer_value' was not declared in this scope
mixer_oss4.cpp:569: error: expected `;' before 'mv'
mixer_oss4.cpp:571: error: 'extinfo' was not declared in this scope
mixer_oss4.cpp:574: error: 'SNDCTL_MIX_EXTINFO' was not declared in this scope
mixer_oss4.cpp:581: error: 'MIXT_ENUM' was not declared in this scope
mixer_oss4.cpp:586: error: 'mv' was not declared in this scope
mixer_oss4.cpp:590: error: 'SNDCTL_MIX_READ' was not declared in this scope
In file included from libkdeinit_kmixctrl_la.all_cpp.cpp:5:
mixdevice.cpp: In member function 'void MixDevice::setEnumId(int)':
mixdevice.cpp:98: warning: comparison between signed and unsigned integer expressions
mixdevice.cpp: In member function 'void MixDevice::read(KConfig*, const QString&)':
mixdevice.cpp:145: warning: deprecated conversion from string constant to 'char*'
mixdevice.cpp:146: warning: deprecated conversion from string constant to 'char*'
mixdevice.cpp:148: warning: deprecated conversion from string constant to 'char*'
mixdevice.cpp:149: warning: deprecated conversion from string constant to 'char*'
mixdevice.cpp: In member function 'void MixDevice::write(KConfig*, const QString&)':
mixdevice.cpp:204: warning: deprecated conversion from string constant to 'char*'
mixdevice.cpp:205: warning: deprecated conversion from string constant to 'char*'
mixdevice.cpp:207: warning: deprecated conversion from string constant to 'char*'
mixdevice.cpp:208: warning: deprecated conversion from string constant to 'char*'
make[3]: *** [libkdeinit_kmixctrl_la.all_cpp.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from libkdeinit_kmix_la.all_cpp.cpp:15:
mdwslider.cpp: In member function 'void MDWSlider::volumeChange(int)':
mdwslider.cpp:691: warning: suggest explicit braces to avoid ambiguous 'else'
mdwslider.cpp: In member function 'virtual void MDWSlider::update()':
mdwslider.cpp:860: warning: suggest explicit braces to avoid ambiguous 'else'
In file included from kmix-platforms.cpp:76,
                 from mixer.cpp:33,
                 from libkdeinit_kmix_la.all_cpp.cpp:19:
mixer_alsa9.cpp: In member function 'virtual int Mixer_ALSA::open()':
mixer_alsa9.cpp:356: warning: comparison between signed and unsigned integer expressions
In file included from mixer_oss4.cpp:42,
                 from kmix-platforms.cpp:84,
                 from mixer.cpp:33,
                 from libkdeinit_kmix_la.all_cpp.cpp:19:
mixer_oss4.h: At global scope:
mixer_oss4.h:40: error: 'oss_sysinfo' does not name a type
In file included from kmix-platforms.cpp:84,
                 from mixer.cpp:33,
                 from libkdeinit_kmix_la.all_cpp.cpp:19:
mixer_oss4.cpp:63: warning: unused parameter 'ctrlnum'
mixer_oss4.cpp:63: warning: unused parameter 'on'
mixer_oss4.cpp:69: warning: unused parameter 'ctrlnum'
mixer_oss4.cpp: In member function 'MixDevice::ChannelType Mixer_OSS4::classifyAndRename(QString&, int)':
mixer_oss4.cpp:81: error: 'MIXF_PCMVOL' was not declared in this scope
mixer_oss4.cpp:82: error: 'MIXF_MONVOL' was not declared in this scope
mixer_oss4.cpp:83: error: 'MIXF_MAINVOL' was not declared in this scope
mixer_oss4.cpp: In member function 'virtual int Mixer_OSS4::open()':
mixer_oss4.cpp:164: error: 'SNDCTL_SYSINFO' was not declared in this scope
mixer_oss4.cpp:164: error: 'm_backendSysinfo' was not declared in this scope
mixer_oss4.cpp:172: error: 'oss_mixext' was not declared in this scope
mixer_oss4.cpp:172: error: expected `;' before 'ext'
mixer_oss4.cpp:173: error: 'ext' was not declared in this scope
mixer_oss4.cpp:175: error: 'SNDCTL_MIX_NREXT' was not declared in this scope
mixer_oss4.cpp:189: error: 'SNDCTL_MIX_EXTINFO' was not declared in this scope
mixer_oss4.cpp:194: error: 'oss_mixext_root' was not declared in this scope
mixer_oss4.cpp:194: error: 'root' was not declared in this scope
mixer_oss4.cpp:194: error: expected primary-expression before ')' token
mixer_oss4.cpp:194: error: expected `;' before 'ext'
mixer_oss4.cpp:205: error: 'SNDCTL_MIX_EXTINFO' was not declared in this scope
mixer_oss4.cpp:225: error: 'MIXF_RECVOL' was not declared in this scope
mixer_oss4.cpp:234: error: 'MIXT_STEREOSLIDER16' was not declared in this scope
mixer_oss4.cpp:235: error: 'MIXT_STEREOSLIDER' was not declared in this scope
mixer_oss4.cpp:236: error: 'MIXT_MONOSLIDER16' was not declared in this scope
mixer_oss4.cpp:237: error: 'MIXT_MONOSLIDER' was not declared in this scope
mixer_oss4.cpp:238: error: 'MIXT_SLIDER' was not declared in this scope
mixer_oss4.cpp:273: error: 'MIXF_MAINVOL' was not declared in this scope
mixer_oss4.cpp:278: error: 'MIXT_ONOFF' was not declared in this scope
mixer_oss4.cpp:285: error: 'MIXT_ENUM' was not declared in this scope
mixer_oss4.cpp:287: error: 'oss_mixer_enuminfo' was not declared in this scope
mixer_oss4.cpp:287: error: expected `;' before 'ei'
mixer_oss4.cpp:288: error: 'ei' was not declared in this scope
mixer_oss4.cpp:291: error: 'SNDCTL_MIX_ENUMINFO' was not declared in this scope
mixer_oss4.cpp: In member function 'virtual int Mixer_OSS4::readVolumeFromHW(int, Volume&)':
mixer_oss4.cpp:360: error: 'oss_mixext' was not declared in this scope
mixer_oss4.cpp:360: error: expected `;' before 'extinfo'
mixer_oss4.cpp:361: error: 'oss_mixer_value' was not declared in this scope
mixer_oss4.cpp:361: error: expected `;' before 'mv'
mixer_oss4.cpp:363: error: 'extinfo' was not declared in this scope
mixer_oss4.cpp:366: error: 'SNDCTL_MIX_EXTINFO' was not declared in this scope
mixer_oss4.cpp:372: error: 'mv' was not declared in this scope
mixer_oss4.cpp:376: error: 'SNDCTL_MIX_READ' was not declared in this scope
mixer_oss4.cpp:383: error: 'MIXT_ONOFF' was not declared in this scope
mixer_oss4.cpp:392: error: 'MIXT_ONOFF' was not declared in this scope
mixer_oss4.cpp:396: error: 'MIXT_MONOSLIDER' was not declared in this scope
mixer_oss4.cpp:400: error: 'MIXT_STEREOSLIDER' was not declared in this scope
mixer_oss4.cpp:405: error: 'MIXT_SLIDER' was not declared in this scope
mixer_oss4.cpp:409: error: 'MIXT_MONOSLIDER16' was not declared in this scope
mixer_oss4.cpp:413: error: 'MIXT_STEREOSLIDER16' was not declared in this scope
mixer_oss4.cpp:423: error: 'MIXT_ONOFF' was not declared in this scope
mixer_oss4.cpp:426: error: 'MIXT_MONOSLIDER' was not declared in this scope
mixer_oss4.cpp:430: error: 'MIXT_STEREOSLIDER' was not declared in this scope
mixer_oss4.cpp:435: error: 'MIXT_SLIDER' was not declared in this scope
mixer_oss4.cpp:439: error: 'MIXT_MONOSLIDER16' was not declared in this scope
mixer_oss4.cpp:443: error: 'MIXT_STEREOSLIDER16' was not declared in this scope
mixer_oss4.cpp: In member function 'virtual int Mixer_OSS4::writeVolumeToHW(int, Volume&)':
mixer_oss4.cpp:457: error: 'oss_mixext' was not declared in this scope
mixer_oss4.cpp:457: error: expected `;' before 'extinfo'
mixer_oss4.cpp:458: error: 'oss_mixer_value' was not declared in this scope
mixer_oss4.cpp:458: error: expected `;' before 'mv'
mixer_oss4.cpp:460: error: 'extinfo' was not declared in this scope
mixer_oss4.cpp:463: error: 'SNDCTL_MIX_EXTINFO' was not declared in this scope
mixer_oss4.cpp:470: error: 'MIXT_ONOFF' was not declared in this scope
mixer_oss4.cpp:478: error: 'MIXT_ONOFF' cannot appear in a constant-expression
mixer_oss4.cpp:481: error: 'MIXT_MONOSLIDER' was not declared in this scope
mixer_oss4.cpp:485: error: 'MIXT_STEREOSLIDER' was not declared in this scope
mixer_oss4.cpp:489: error: 'MIXT_SLIDER' was not declared in this scope
mixer_oss4.cpp:493: error: 'MIXT_MONOSLIDER16' was not declared in this scope
mixer_oss4.cpp:497: error: 'MIXT_STEREOSLIDER16' was not declared in this scope
mixer_oss4.cpp:505: error: 'mv' was not declared in this scope
mixer_oss4.cpp:510: error: 'SNDCTL_MIX_WRITE' was not declared in this scope
mixer_oss4.cpp: In member function 'virtual void Mixer_OSS4::setEnumIdHW(int, unsigned int)':
mixer_oss4.cpp:520: error: 'oss_mixext' was not declared in this scope
mixer_oss4.cpp:520: error: expected `;' before 'extinfo'
mixer_oss4.cpp:521: error: 'oss_mixer_value' was not declared in this scope
mixer_oss4.cpp:521: error: expected `;' before 'mv'
mixer_oss4.cpp:523: error: 'extinfo' was not declared in this scope
mixer_oss4.cpp:526: error: 'SNDCTL_MIX_EXTINFO' was not declared in this scope
mixer_oss4.cpp:533: error: 'MIXT_ENUM' was not declared in this scope
mixer_oss4.cpp:554: error: 'mv' was not declared in this scope
mixer_oss4.cpp:559: error: 'SNDCTL_MIX_WRITE' was not declared in this scope
mixer_oss4.cpp: In member function 'virtual unsigned int Mixer_OSS4::enumIdHW(int)':
mixer_oss4.cpp:568: error: 'oss_mixext' was not declared in this scope
mixer_oss4.cpp:568: error: expected `;' before 'extinfo'
mixer_oss4.cpp:569: error: 'oss_mixer_value' was not declared in this scope
mixer_oss4.cpp:569: error: expected `;' before 'mv'
mixer_oss4.cpp:571: error: 'extinfo' was not declared in this scope
mixer_oss4.cpp:574: error: 'SNDCTL_MIX_EXTINFO' was not declared in this scope
mixer_oss4.cpp:581: error: 'MIXT_ENUM' was not declared in this scope
mixer_oss4.cpp:586: error: 'mv' was not declared in this scope
mixer_oss4.cpp:590: error: 'SNDCTL_MIX_READ' was not declared in this scope
In file included from libkdeinit_kmix_la.all_cpp.cpp:21:
mixdevice.cpp: In member function 'void MixDevice::setEnumId(int)':
mixdevice.cpp:98: warning: comparison between signed and unsigned integer expressions
mixdevice.cpp: In member function 'void MixDevice::read(KConfig*, const QString&)':
mixdevice.cpp:145: warning: deprecated conversion from string constant to 'char*'
mixdevice.cpp:146: warning: deprecated conversion from string constant to 'char*'
mixdevice.cpp:148: warning: deprecated conversion from string constant to 'char*'
mixdevice.cpp:149: warning: deprecated conversion from string constant to 'char*'
mixdevice.cpp: In member function 'void MixDevice::write(KConfig*, const QString&)':
mixdevice.cpp:204: warning: deprecated conversion from string constant to 'char*'
mixdevice.cpp:205: warning: deprecated conversion from string constant to 'char*'
mixdevice.cpp:207: warning: deprecated conversion from string constant to 'char*'
mixdevice.cpp:208: warning: deprecated conversion from string constant to 'char*'
make[3]: *** [libkdeinit_kmix_la.all_cpp.lo] Error 1
make[3]: Leaving directory `/home/falcata/kdemod/work/kdemultimedia/src/kdemultimedia-3.5.9/kmix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/falcata/kdemod/work/kdemultimedia/src/kdemultimedia-3.5.9/kmix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/falcata/kdemod/work/kdemultimedia/src/kdemultimedia-3.5.9'
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...

So, what do I do now?

Last edited by Falcata (2008-06-06 13:53:14)

Offline

Board footer

Powered by FluxBB