Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 2002 17:12:28 -0400
From:      George Georgalis <george@galis.org>
To:        Guillaume Tremblay <guizzy@techie.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: make sound?
Message-ID:  <20020414171228.F1146@trot.haven.dom>
In-Reply-To: <20020414205836.75655.qmail@mail.com>; from guizzy@techie.com on Sun, Apr 14, 2002 at 03:58:35PM -0500
References:  <20020414205836.75655.qmail@mail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 14, 2002 at 03:58:35PM -0500, Guillaume Tremblay wrote:
>
>----- Original Message -----
>From: George Georgalis <george@galis.org>
>Date: Sun, 14 Apr 2002 16:02:50 -0400
>To: freebsd-questions@FreeBSD.ORG
>Subject: make sound?
>
>
>> I've been very happy with freebsd, today I can watch mpegs I recorded with the HQ option... see below.
>> 
>> Now I need sound. What is the fundamental port I need to fix:
>> couldn't open/init audio device -> NOSOUND
>> 
>> /dev/dsp is 'there'
>> lrwxrwxrwx  1 root  wheel         4 Mar  6 08:27 /dev/dsp -> dsp0
>> lrwxrwxrwx  1 root  wheel         6 Mar  6 08:27 /dev/dsp0 -> dsp0.0
>> crw-rw-rw-  1 root  wheel   30,   3 Mar  6 08:27 /dev/dsp0.0
>> crw-rw-rw-  1 root  wheel   30, 0x00010003 Mar  6 08:27 /dev/dsp0.1
>> crw-rw-rw-  1 root  wheel   30, 0x00020003 Mar  6 08:27 /dev/dsp0.2
>> crw-rw-rw-  1 root  wheel   30, 0x00030003 Mar  6 08:27 /dev/dsp0.3
>> lrwxrwxrwx  1 root  wheel         5 Mar  6 08:27 /dev/dspW -> dspW0
>> lrwxrwxrwx  1 root  wheel         7 Mar  6 08:27 /dev/dspW0 -> dspW0.0
>> crw-rw-rw-  1 root  wheel   30,   5 Mar  6 08:27 /dev/dspW0.0
>> crw-rw-rw-  1 root  wheel   30, 0x00010005 Mar  6 08:27 /dev/dspW0.1
>> crw-rw-rw-  1 root  wheel   30, 0x00020005 Mar  6 08:27 /dev/dspW0.2
>> crw-rw-rw-  1 root  wheel   30, 0x00030005 Mar  6 08:27 /dev/dspW0.3
>> 
>> I guess I need a probe/configure program too?
>> 
>> Thanks,
>> // George
>> 
>> 
>> 
>> bash-2.05a$ mplayer -vo sdl mov03045.mpg 
>> 
>> 
>> MPlayer 0.60-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
>> 
>> CPU vendor name: GenuineIntel  max cpuid level: 2
>> CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 3)
>> CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
>> Compiled for x86 CPU with features: MMX MMX2
>> Reading /home/george/.mplayer/codecs.conf: can't open '/home/george/.mplayer/codecs.conf': No such file or directory
>> Reading /usr/local/share/mplayer/codecs.conf: 26 audio & 70 video codecs
>> font: can't open file: /home/george/.mplayer/font/font.desc
>> font: can't open file: /usr/local/share/mplayer/font/font.desc
>> Using usleep() timing
>> Playing mov03045.mpg
>> Not an URL!
>> header block 1 size: 0
>> Detected MPEG-PS file format!
>> VIDEO:  MPEG1  320x240  (aspect 1)  25.00 fps  131071.5 kbps (16383.9 kbyte/s)
>> [V] filefmt:2  fourcc:0x10000001  size:320x240  fps:25.00  ftime:=0.0400
>> Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
>> mp3lib: Processor ID: 683
>> mp3lib: Using Pentium-MMX optimized decore.
>> AUDIO: srate=32000  chans=2  bps=2  sfmt=0x10  ratio: 8000->128000
>> Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
>> mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
>> libmpeg2: Using MMXEXT for IDCT transform
>> libmpeg2: Using MMXEXT for motion compensation
>> Movie-Aspect is undefined - no prescaling applied.
>> VO: [sdl] 320x240 => 320x240 Planar YV12 
>> SDL: Using driver: x11
>> AO: [oss] 32000Hz Stereo Signed 16-bit (Little-Endian)
>> ao2: 32000 Hz  2 chans  Signed 16-bit (Little-Endian)
>> Can't open audio device /dev/dsp  -> nosound
>> couldn't open/init audio device -> NOSOUND
>> Audio: no sound!!!
>> Start playing...
>> *** free_stream() called *** 0 0 0%
>> 
>> Exiting... (End of file)
>> 
>> 
>> 
>> -- 
>> GEORGE GEORGALIS, System Admin/Architect    cell: 347-451-8229 
>> Security Services, Web, Mail,            mailto:george@galis.org 
>> File, Print, DB and DNS Servers.       http://www.galis.org/george 
>> 
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-questions" in the body of the message
>> 
>
>It would be very useful for us to know if this program is the only one you're having problems with. If you haven't tried yet, play whatever MP3 or WAV you've got. (mpg123 is a nice, small console-based MP3 player that you could use for that matter) Sometimes, comparing error output between programs can help define the problem.
>
>Looking at the ls results and the program's output, it seems to be a linking problem. The dsp0 is linking to dsp0.0 (I just checked my config; it isn't my case) . I'm no expert in this (read: I've never tried anything of the sort), but maybe you could try reinstalling the links, if such a thing is possible.
>
>As I stated, I'm no expert, so wait for someone else to confirm or infirm what I just said before trying anything foolish.
>
>Guillaume T. Beaumont
>-- 
>

I never configured sound, closest I came to that was make install of xmms.
Hence the question, how do I configure sound?

Not sure how the /dev/dsp* files got there...

// George

-- 
GEORGE GEORGALIS, System Admin/Architect    cell: 347-451-8229 
Security Services, Web, Mail,            mailto:george@galis.org 
File, Print, DB and DNS Servers.       http://www.galis.org/george 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020414171228.F1146>