DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3rd September 2016
rons's Avatar
rons rons is offline
Snoozing
 
Join Date: Oct 2015
Posts: 37
Default NetBSD questions

Here's an audio question:

1) I use NetBSD for audio players (Ogg123, etc) all the time. Works great. What's the secret to getting audio capture going? I have a CMedia chipset USB Audio dongle, which I use for playing Ogg tunes. I set the audio params with something like:

Code:
audioctl -d /dev/audio1 -w play=44100,2,16,slinear_le #for play
and

Code:
audioctl -d /dev/audio1 -w record=44100,1,16,slinear_le #for capture
The system remembers the play settings, but forgets the capture settings.

Doing:

Code:
audioctl -d /dev/audio1 -a
shows new settings in play mode, but in capture mode everything remains set to the original defaults (8k sample rate, for instance).

Last edited by rons; 10th September 2016 at 06:58 PM.
Reply With Quote
  #2   (View Single Post)  
Old 10th September 2016
rons's Avatar
rons rons is offline
Snoozing
 
Join Date: Oct 2015
Posts: 37
Default

The USB audio device is:

idVendor: 0x0d8c C-Media Electronics, Inc
idProduct:0x000c Audio headset
line-input: (L-R)
line-output (L-R)
microphone input (mono)

This works very well for output on NetBSD (what most people probably really use it for), but for my app I need input as well. I posted a bug to NetBSD's Send-PR page a week or so ago, but no response has been received yet. I imagine they have other fish to fry :-) .

But, at least I've put the particulars here so that someone may eventually run across it.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Asking questions about OpenBSD azdps OpenBSD General 19 1st February 2015 10:32 PM
package questions sharris FreeBSD Ports and Packages 4 4th July 2011 10:23 AM
Two PF questions sparker OpenBSD Security 5 9th November 2009 08:01 AM
Some Questions ?? ultranothing OpenBSD Security 6 4th September 2009 04:59 PM
rc.conf questions starbuck FreeBSD General 2 29th July 2008 06:16 PM


All times are GMT. The time now is 04:42 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick