Re: No sound when playing a CD in FreeBSD 4.9

2003-11-24 Thread Jean-Baptiste Quenot
* Rahul Fernandez:

> Hi, Thanks for  the responses. My understanding from  the handbook was
> that I did not need to do this as I simply loaded a module (by editing
> the 'loader.conf' file). Am  I mistaken? I am able to  hear sound when
> watching  films using  mplayer.  Does  that  not mean  that the  audio
> cable  is connected  to  the  sound card  (in  response to  somebody's
> suggestion)? I will check later that this is the case.

The volume could be muted by default  for the CDROM line.  Did you check
with mixer(8)?

Cheers,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/


pgp0.pgp
Description: PGP signature


Re: No sound when playing a CD in FreeBSD 4.9

2003-11-21 Thread ogautherot

> Trying to simplify the difference:
> 
> the sound from a mpg/divx/xvid movie is read as data over the IDE cable.
> then this data is processed by the playersoftware and send to the the 
> right audio codec (e.g mp3), which sends its output to the soundcard 
> driver, which instructs the soundcard (using the PCI or ISA bus) to make 
> some noise.

I thought there was a technical way of reading the CD track as data
and write the samples to the audio driver? It was called "paranoid"
access or the like and was meant for people who did not have this
audio cable on the CD drive. It worked in much the same way as the
CD ripper but played the data instead of saving them to disk.

Olivier
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: No sound when playing a CD in FreeBSD 4.9

2003-11-21 Thread Bert Lagaisse
Rahul Fernandez wrote:

I am able to hear sound when watching films using mplayer.
Does that not mean that the audio cable is connected to the sound card (in
response to somebody's suggestion)? I will check later that this is the case.
Thanks, Rahul
Trying to simplify the difference:

the sound from a mpg/divx/xvid movie is read as data over the IDE cable.
then this data is processed by the playersoftware and send to the the 
right audio codec (e.g mp3), which sends its output to the soundcard 
driver, which instructs the soundcard (using the PCI or ISA bus) to make 
some noise.

in the case of an audio cd:
The cd-drive receives a "play" instruction for track 5
the cd-drive sends the audio it reads directly to the soundcard using 
the cable between the 2 devices.





--
Bert Lagaisse
K.U.Leuven, Dept. computer science

Address:
Celestijnenlaan 200A
3001 Heverlee
Belgium
Email: [EMAIL PROTECTED]
Tel: +32 16 32 78 24
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: No sound when playing a CD in FreeBSD 4.9

2003-11-21 Thread Rahul Fernandez

> Look at chapter 16 in the Handbook. There are some things that you have to do, 
> such as add "device pcm" or others to your kernel before you can have sound.
> 
> I have a black Lite-on in my test server and it worked just fine after I 
> configured xmcd to use /dev/acd0c.
> 
> Kent

Hi, Thanks for the responses. My understanding from the handbook was that I did
not need to do this as I simply loaded a module (by editing the 'loader.conf'
file). Am I mistaken? I am able to hear sound when watching films using mplayer.
Does that not mean that the audio cable is connected to the sound card (in
response to somebody's suggestion)? I will check later that this is the case.
Thanks, Rahul

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: No sound when playing a CD in FreeBSD 4.9

2003-11-21 Thread Kent Stewart
On Friday 21 November 2003 01:14 am, Rahul Fernandez wrote:
> Hi, I have set up my sound card and am able to hear sound through it
> when playing mp3 files with xmms. I have the cd plugin for xmms and
> have, I believe, correctly configured it. The songs on the cd appear
> in the xmms playlist and a song appears to be playing but I hear
> nothing. I have checked the mixer levels with aumix and everything
> seems fine. I have also tried to play a cd using cdcontrol. Again,
> the cd drive appears to be playing but I hear nothing. The cd player
> works works fine under linux and windows. If it is relevant, it is a
> dvd/cd rom combo drive (Lite-on). If anybody has any insght, it would
> be most appreciated! Thanks, Rahul
>

Look at chapter 16 in the Handbook. There are some things that you have to do, 
such as add "device pcm" or others to your kernel before you can have sound.

I have a black Lite-on in my test server and it worked just fine after I 
configured xmcd to use /dev/acd0c.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: No sound when playing a CD in FreeBSD 4.9

2003-11-21 Thread Bernard El-Hagin
You wrote:

[...]

>Maybe a common mistake:
>
>Is there an audio cable between the drive and the soundcard ?
>
>That is necessary to play cdda.
>
>I don't know the exact specs but your cd-drive sends the sound kinda 
>"directly" to your soundcard. So that cable is necessary


But he said it worked correctly under Linux, so that can't be it. Unless
he was wrong and it *didn't* work correctly under Linux, of course. :)


Cheers,
Bernard

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: No sound when playing a CD in FreeBSD 4.9

2003-11-21 Thread Bert Lagaisse
Rahul Fernandez wrote:

Hi, I have set up my sound card and am able to hear sound through it
when playing mp3 files with xmms. I have the cd plugin for xmms and
have, I believe, correctly configured it. The songs on the cd appear
in the xmms playlist and a song appears to be playing but I hear
nothing. I have checked the mixer levels with aumix and everything
seems fine. I have also tried to play a cd using cdcontrol. Again,
the cd drive appears to be playing but I hear nothing. The cd player
works works fine under linux and windows. If it is relevant, it is a
dvd/cd rom combo drive (Lite-on). If anybody has any insght, it would
be most appreciated! Thanks, Rahul
Maybe a common mistake:

Is there an audio cable between the drive and the soundcard ?

That is necessary to play cdda.

I don't know the exact specs but your cd-drive sends the sound kinda 
"directly" to your soundcard. So that cable is necessary

Greetz



--
Bert Lagaisse
K.U.Leuven, Dept. computerwetenschappen.

Email: [EMAIL PROTECTED]
Tel: 016 32 78 24
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"