[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] CD Audio



Does anyone know of a workaround for piping the sound to the sound card? On Windows and even Linux with VLC/Totem the music works fine, but not if I'm trying to play CD audio through Pygame. I could probably fix it out on the hardware level
as suggested, but I can't really expect my users to play around with the internals just to get their program working.

As a last resort I could just default to only reading mp3's/oggs/etc and just include a ripping utility with the program but I'd prefer them to just be able to pop in a CD and play. Thanks for the help thusfar.

-Josh 

On 1/8/08, James Paige <Bob@xxxxxxxxxxxxxxxxxxx> wrote:
On Tue, Jan 08, 2008 at 02:01:02PM +0100, Bo Jangeborg wrote:
> Doesn't the CD-Audio usually have its own direct connection to the sound
> card. Usually a separate cord
> that comes with the card or cd-player? You may want to check if yours is
> connected.
>
> Bo)

The CD audio can play through the sound card via that cable you mention,
but its volume level is controlled by a separate mixer which is
defaulted to "Mute" surprisingly often :(

Also, the identity of that mixer can sometimes be unclear. I have
encountered sound-cards that allow the CD's cable to be connected to any
one of several inputs, each with a different mixer, which may or may not
be labelled as "CD Audio" or "AUX" or "Line In 2", etc.

---
James