"loopback" does nothing

OSS related discussion in general (i.e. not limited to Linux/Solaris/BSD)

Moderators: hannu, dev, cesium, kodachi

"loopback" does nothing

Postby RealNC » Tue Feb 23, 2010 11:22 pm

I'm trying to record the output of a video with Mumble. On Windows, I simply select "What You Hear" as the recording source. There's no such source in OSS4's mixer panel, but there's a "loopback" checkbox. This is supposed to do exactly that. However, checking that box doesn't do anything; Mumble keeps recording my microphone.

I'm using latest OSS4 from mercurial.opensound.com. Gentoo Linux AMD64. I'm on a SoundBlaster Live 24-bit (PCI) using the oss_audigyls driver.
RealNC
New Member
 
Posts: 8
Joined: Sun Jul 20, 2008 3:43 pm

Re: "loopback" does nothing

Postby cesium » Wed Feb 24, 2010 10:41 am

Can you paste here "ossmix" output? There was a fix for audigyls recording, and now possibly you need to fiddle with the new recmon or monitor controls to get loopback to work. Another option is to use vmix loopback, but I think the hardware solution is nicer...
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: "loopback" does nothing

Postby RealNC » Wed Feb 24, 2010 1:30 pm

I've been fiddling with the controls (especially recvol and monitor), to no avail.

Code: Select all
Selected mixer 0/AudigyLS Mixer
Known controls are:
pcm [<leftvol>:<rightvol>] (currently 70:70)
rear [<leftvol>:<rightvol>] (currently 0:0)
center [<leftvol>:<rightvol>] (currently 0:0)
ext.spread ON|OFF (currently OFF)
ext.loopback ON|OFF (currently OFF)
ext.recordvol <monovol> (currently 255)
ext.recordsrc <MIC|LINE|AUX> (currently MIC)
ext.monitorvol <monovol> (currently 106)
ext.recmon ON|OFF (currently OFF)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-src <Fast|High|OFF> (currently High)
vmix0-outvol <monovol> (currently 22.4 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm5 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm6 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm7 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
RealNC
New Member
 
Posts: 8
Joined: Sun Jul 20, 2008 3:43 pm

Re: "loopback" does nothing

Postby cesium » Wed Feb 24, 2010 2:32 pm

"ext.loopback" is OFF right now, but I guess you have it set to ON when you test? Hmm..

I'm sure it used to work, as I recall a user that had it (back before the forum self-destructed). But that was before the driver's normal recording was fixed.. Can you try an oss_audigyls before rev. 844?
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: "loopback" does nothing

Postby RealNC » Wed Feb 24, 2010 6:51 pm

cesium wrote:"ext.loopback" is OFF right now, but I guess you have it set to ON when you test? Hmm..

I'm sure it used to work, as I recall a user that had it (back before the forum self-destructed). But that was before the driver's normal recording was fixed.. Can you try an oss_audigyls before rev. 844?


I just tried revision 843. It is unable to build the kernel modules:

Code: Select all
Relinking OSS kernel modules for "2.6.32-gentoo-r7 SMP mod_unload modversions "
This may take few moments - please stand by...                                 

OSS build environment set up for REGPARM kernels

Building module osscore
Failed to compile OSS
make -C /lib/modules/2.6.32-gentoo-r7/build M=/usr/lib64/oss/build modules
make[1]: Entering directory `/usr/src/linux-2.6.32-gentoo-r7'
  CC [M]  /usr/lib64/oss/build/osscore.o
/usr/lib64/oss/build/osscore.c: In function 'oss_spin_unlock_irqrestore':
/usr/lib64/oss/build/osscore.c:378: warning: comparison of distinct pointer types lacks a cast
/usr/lib64/oss/build/osscore.c: In function 'oss_get_procname':
/usr/lib64/oss/build/osscore.c:424: error: dereferencing pointer to incomplete type
/usr/lib64/oss/build/osscore.c: In function 'oss_get_pid':
/usr/lib64/oss/build/osscore.c:430: error: dereferencing pointer to incomplete type
/usr/lib64/oss/build/osscore.c: In function 'oss_get_uid':
/usr/lib64/oss/build/osscore.c:437: error: dereferencing pointer to incomplete type
/usr/lib64/oss/build/osscore.c: In function 'oss_sleep':
/usr/lib64/oss/build/osscore.c:725: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
/usr/lib64/oss/build/osscore.c:725: error: (Each undeclared identifier is reported only once
/usr/lib64/oss/build/osscore.c:725: error: for each function it appears in.)
/usr/lib64/oss/build/osscore.c:725: error: implicit declaration of function 'signal_pending'
/usr/lib64/oss/build/osscore.c:725: error: implicit declaration of function 'schedule'
/usr/lib64/oss/build/osscore.c:728: error: implicit declaration of function 'schedule_timeout'
/usr/lib64/oss/build/osscore.c: In function 'oss_wakeup':
/usr/lib64/oss/build/osscore.c:767: error: 'TASK_NORMAL' undeclared (first use in this function)
/usr/lib64/oss/build/osscore.c: In function 'oss_pci_read_devpath':
/usr/lib64/oss/build/osscore.c:1624: warning: return discards qualifiers from pointer target type
/usr/lib64/oss/build/osscore.c: In function 'oss_fp_check':
/usr/lib64/oss/build/osscore.c:1848: warning: comparison of distinct pointer types lacks a cast
/usr/lib64/oss/build/osscore.c:1850: warning: comparison of distinct pointer types lacks a cast
/usr/lib64/oss/build/osscore.c:1852: warning: comparison of distinct pointer types lacks a cast
/usr/lib64/oss/build/osscore.c:1857: warning: comparison of distinct pointer types lacks a cast
/usr/lib64/oss/build/osscore.c:1859: warning: comparison of distinct pointer types lacks a cast
make[2]: *** [/usr/lib64/oss/build/osscore.o] Error 1
make[1]: *** [_module_/usr/lib64/oss/build] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.32-gentoo-r7'
make: *** [default] Error 2
RealNC
New Member
 
Posts: 8
Joined: Sun Jul 20, 2008 3:43 pm

Re: "loopback" does nothing

Postby cesium » Wed Feb 24, 2010 9:08 pm

I think what's missing is a single line: "#include <linux/sched.h>", to setup/Linux/oss/build/osscore.c. You can either add it to that file and rebuild, or add it to /usr/lib/oss/build/osscore.c and run "cd /usr/lib/oss/build; sudo sh install.sh" to install OSS.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron