login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
openbsd-misc
»
2010
»
January
»
14
Re: aucat on -current ignoring -C ?
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Jan Stary
Subject:
Re: aucat on -current ignoring -C ?
Date: Thursday, January 14, 2010 - 6:12 am
On Jan 14 13:55:05, Alexandre Ratchov wrote:
quoted text
> On Thu, Jan 14, 2010 at 11:49:52AM +0100, Jan Stary wrote: > > This is yesterday's current. Trying to record a _mono_ > > sound with 'aucat -C 0:0 -o file.wav' seems to always > > result in a _stereo_ file, whether I specify -u or not, > > whether the aucat server is running or not > > (see script and dmesg below). > > > > I used file(1) to look at the resulting file, > > but also play'd it with sox and ffplay - it is > > indeed stereo, with one chanel silent (and one channel > > containing what I wanted to record into a mono file). > > > > Am I missing something obvious? > > > > no, this is a bug in aucat (it uses -c instead of -C for > recording, which is wrong). This should fix the problem
This fixes it, thanks. Jan
quoted text
> -- Alexandre > > Index: aucat.c > =================================================================== > RCS file: /cvs/src/usr.bin/aucat/aucat.c,v > retrieving revision 1.79 > diff -u -p -r1.79 aucat.c > --- aucat.c 11 Jan 2010 13:06:32 -0000 1.79 > +++ aucat.c 14 Jan 2010 12:45:58 -0000 > @@ -542,7 +542,7 @@ aucat_main(int argc, char **argv) > fa = SLIST_FIRST(&ofiles); > SLIST_REMOVE_HEAD(&ofiles, entry); > if (!wav_new_out(&wav_ops, fa->name, > - fa->hdr, &fa->ipar, fa->xrun)) > + fa->hdr, &fa->opar, fa->xrun)) > free(fa); > } > while (!SLIST_EMPTY(&sfiles)) {
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
aucat on -current ignoring -C ?
, Jan Stary
, (Thu Jan 14, 3:49 am)
Re: aucat on -current ignoring -C ?
, Jan Stary
, (Thu Jan 14, 4:04 am)
Re: aucat on -current ignoring -C ?
, Alexandre Ratchov
, (Thu Jan 14, 5:55 am)
Re: aucat on -current ignoring -C ?
, Jan Stary
, (Thu Jan 14, 6:12 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client