Those numbers look correct; CD Audio is 100, CD Mixed is 105.
The problem is something to do with how Freevo is interacting with
your drive. Do you have a ROM_DRIVES entry setup? It might not have
detected them properly.
Aubin
On Wed, Jul 30, 2003 at 06:46:24PM -0400, Alec - Freevo wrote:
> Hello Aubin,
>
> The CDs are not mixed mode. With your script i get 100 when i put an audio
> CD , 101 when i put a data cd (data, mp3, divx) and 105 when i put a mixed
> mode.
>
> For the audio only CD i tried with "By the way" from the Red Hot Chili
> Peppers and several others.
>
> Here's what i have when i try to play the Red Hot CD from the console with
> mplayer (works perfectly) :
>
> mstation:/tmp# mplayer -ao alsa9 cdda://1
> Using GNU internationalization
> Original domain: messages
> Original dirname: /usr/share/locale
> Current domain: mplayer
> Current dirname: /usr/share/locale
>
>
> MPlayer 0.90rc5-3.2.3 (C) 2000-2003 Arpad Gereoffy (see DOCS)
>
> CPU: Advanced Micro Devices Athlon K75 Pluto,Orion (Family: 6, Stepping: 1)
> Detected cache-line size is 64 bytes
> MMX2 supported but disabled
> CPUflags: MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
> Compiled for x86 CPU with extensions: MMX 3DNow 3DNowEx SSE
>
> Reading config file /etc/mplayer/mplayer.conf
> Reading config file /root/.mplayer/config
> Reading /root/.mplayer/codecs.conf: can't open
> '/root/.mplayer/codecs.conf': No such file or directory
> Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
> font: can't open file: /root/.mplayer/font/font.desc
> Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
> Using Linux hardware RTC timing (1024Hz).
> Can't open input config file /root/.mplayer/input.conf : No such file or
> directory
> Input config file /etc/mplayer/input.conf parsed : 52 binds
> Opening joystick device /dev/input/js0
> Can't open joystick device /dev/input/js0 : No such device
> Can't init input joystick
> Setting up LIRC support...
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support.
> You will not be able to use your remote control.
>
> Playing cdda://1
> Found Audio CD with 16 tracks
> Cache fill: 0.00% (0 bytes)
> Track 1
> ==========================================================================
> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 176400->176400 (1411.2 kbit)
> Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
> ==========================================================================
> Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
> AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
> AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
> alsa-init: testing and bugreports are welcome.
> alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit
> (Little-Endian)
> alsa-init: 1 soundcard found, using: hw:0,0
> alsa9: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little
> Endian
> AO: [alsa9] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
> Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
> Video: no video
> Starting playback...
> A: 18.3 0.3% 31%
>
> MPlayer interrupted by signal 2 in module: play_audio
> alsa-uninit: pcm closed
> mstation:/tmp#
>
>
>
> Message: 12
> Date: Wed, 30 Jul 2003 11:01:00 -0400
> From: Aubin Paul <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [Freevo-users] Re: Audio CD not recognized
> Reply-To: [EMAIL PROTECTED]
>
> Hmm... I had some problems awhile back because some of my audio cds
> were mixed mode, so I had to add the ioctl for that.
>
> Maybe you can try something?
>
> Put the following into a script:
> -------
> #!/usr/bin/env python
> import os
> from fcntl import ioctl
> fd = os.open('/dev/cdrom', os.O_RDONLY | os.O_NONBLOCK)
> s = ioctl(fd, 0x5327)
> print s
> os.close(fd)
> ------
>
> Run the script (you may need to replace '/dev/cdrom' with your device
> if it's different)
>
> and look for the output. It should be a three digit code.
>
> Aubin
>
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users