DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 6th November 2010
guitarscn guitarscn is offline
Package Pilot
 
Join Date: Oct 2008
Posts: 166
Thanked 1 Time in 1 Post
Default Need help with sound

Here is the test I run from the FAQ:
Code:
$ cat > /dev/audio < /dev/zero &
[1] 6310

$ audioctl play.{seek,samples,errors}
play.seek=48000
play.samples=1833600
play.errors=0

$ audioctl play.{seek,samples,errors}
play.seek=57600
play.samples=4089600
play.errors=0

$ audioctl play.{seek,samples,errors}
play.seek=57600
play.samples=5299200
play.errors=0

$ kill %1

$ fg %1
cat > /dev/audio < /dev/zero 
Terminated
Seems like it's behaving like it's supposed to, I guess (samples increasing)

Here is my mixer settings:

Code:
$ mixerctl
inputs.dac-0:1_mute=off
inputs.dac-0:1=200,200
inputs.dac-2:3_mute=off
inputs.dac-2:3=126,126
record.adc-0:1_source=mic
record.adc-0:1_mute=off
record.adc-0:1=124,124
outputs.hp_source=dac-0:1
outputs.hp_boost=off
outputs.spkr_source=
outputs.spkr2_source=dac-2:3
inputs.mic=85,85
outputs.mic_dir=input-vr80
outputs.SPDIF_source=dig-dac-0:1
outputs.hp_sense=plugged
outputs.spkr2_muters=hp
outputs.master=200,200
outputs.master.mute=off
outputs.master.slaves=dac-0:1,dac-2:3
record.volume=124,124
record.volume.mute=off
record.volume.slaves=adc-0:1
outputs.mode=analog
Everything seems unmuted and at a reasonable volume

I wasn't sure how to find what kind of audio I have so I just did this:

Code:
$ dmesg | grep audio
audio0 at azalia0
I can't hear anything at all with my speakers turned up all the way.

Edit: Found more in the dmesg:

Code:
azalia0 at pci0 dev 8 function 0 "NVIDIA MCP79 HD Audio" rev 0xb1: apic 1 int 15 (irq 15)
azalia0: codecs: Cirrus Logic/0x4206
audio0 at azalia0

Last edited by guitarscn; 6th November 2010 at 06:08 PM.
Reply With Quote
  #2   (View Single Post)  
Old 6th November 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,884
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by guitarscn View Post
I can't hear anything at all with my speakers turned up all the way.
Per Section 13.1 of the FAQ:
Usually the controls have a meaningful label, but sometimes one must simply try different settings to see what effect each control has.
Quote:
Code:
$ mixerctl
inputs.dac-0:1_mute=off
inputs.dac-0:1=200,200
inputs.dac-2:3_mute=off
inputs.dac-2:3=126,126
record.adc-0:1_source=mic
record.adc-0:1_mute=off
record.adc-0:1=124,124
outputs.hp_source=dac-0:1
outputs.hp_boost=off
outputs.spkr_source=
outputs.spkr2_source=dac-2:3
inputs.mic=85,85
outputs.mic_dir=input-vr80
outputs.SPDIF_source=dig-dac-0:1
outputs.hp_sense=plugged
outputs.spkr2_muters=hp
outputs.master=200,200
outputs.master.mute=off
outputs.master.slaves=dac-0:1,dac-2:3
record.volume=124,124
record.volume.mute=off
record.volume.slaves=adc-0:1
outputs.mode=analog
Suggestion above.
Reply With Quote
  #3   (View Single Post)  
Old 6th November 2010
guitarscn guitarscn is offline
Package Pilot
 
Join Date: Oct 2008
Posts: 166
Thanked 1 Time in 1 Post
Default

Yea, I've been trying all sorts of combos. Tried that one already, no luck.
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
sound problem dennky OpenBSD General 3 17th January 2010 05:27 PM
no sound phill OpenBSD General 4 28th October 2009 04:23 PM
Recording sound with external sound card backrow OpenBSD General 5 21st August 2009 08:17 PM
Sound JimC FreeBSD General 9 15th August 2008 06:05 PM
USB Sound? FreeMan OpenBSD General 16 7th May 2008 06:09 AM


All times are GMT. The time now is 06:39 PM.


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