You are not logged in.

#1 2005-03-31 02:25:47

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 133

No alsa support in the Mythtv package?

Is ALSA support enabled in the mythtv package?

I've tried several different methods to enable alsa in mythfrontend and it just gives me an error every time.
(eg:  ALSA:default, ALSA:mixed-analog, default, mixed-analog)

"Not possible to create sounddevice" (roughly translated)

My .asoundrc is this one: http://www.mythtv.info/moin.cgi/DigitalSoundHowTo

Offline

#2 2005-04-08 19:04:46

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 481

Re: No alsa support in the Mythtv package?

No, it isn't enabled by default - though I don't see why it shouldn't be, considering it depends on things which require alsa (I think...).

Mythtv also segfaults/crashes like windows 9x... and I'm not entirely sure why.

Offline

#3 2005-04-12 18:43:30

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 133

Re: No alsa support in the Mythtv package?

Mythtv also segfaults/crashes like windows 9x...

I see...
Well, I have MythTV itself on a different computer and just use mythfrontend to view the recordings.
And it's annoying not to hear when people want something on Gaim etc. (Since it locks upp the soundcard)

Offline

#4 2005-04-17 19:59:21

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 481

Re: No alsa support in the Mythtv package?

Well, if you want to use my packages, it has alsa support compiled in. They're also newer. They should be available on the AUR.

I've got PKGBUILD's for the CVS version if you want to build the freshest packages possible. Just PM me or something.

Offline

#5 2005-04-18 04:32:37

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 133

Re: No alsa support in the Mythtv package?

I used your PKGBUILD's in AUR and compiled mythtv with alsa enabled and it worked fine.  thanks smile

Also, the speed difference is huge compared to the one in the normal repositry.

Only problem left is that Gaim is muted when i watch tv or recorded stuff. (Before the sounds from Gaim queued up, and when I closed mythfronted they all played at once)

Oh, and mythfrontend wont let me use /dev/mixer or /dev/sound/mixer when I'm using ALSA:default. Perhaps thats part of the problem.

And the crashing stopped. No more crashing when switching from LiveTV to recorded stuff or watching a few recorded shows in a row. wonderful.

Offline

#6 2005-04-19 01:21:01

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 481

Re: No alsa support in the Mythtv package?

You'll need to enable the dmix plugin in your asound.conf or .asoundrc in order to have multiple software sources of audio simultaneously. Depending on your sound card, there may be some information about this on the wiki at mythtv.info, or alternatively at the alsa project homepage.

Offline

#7 2005-04-19 12:50:40

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 133

Re: No alsa support in the Mythtv package?

I have dmix activated.

My /etc/asound.conf

pcm.!default {
  type plug
  slave.pcm "dmixer"
  }
pcm.dsp0 {
  type plug
  slave.pcm "dmixer"
  }
pcm.dmixer {
  type dmix
  ipc_key 1024
 slave {
  pcm "hw:0,0"
  period_time 0
  period_size 1024
 buffer_size 8192
  rate 48000
  }
 bindings {
  0 0
  1 1
  }
  }

ctl.dmixer {
  type hw
  card 0
  }

And I have multiple sound (eg. Amarok + Gaim + Email),
but Mythfrontend  + Gaim doesn't work (no errors, just no sound from Gaim)

Other ideas?

Offline

#8 2005-04-19 19:48:25

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 481

Re: No alsa support in the Mythtv package?

What about mythfrontend and something else? Maybe xmms with the alsa plugin?

Offline

#9 2005-04-21 11:31:46

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 133

Re: No alsa support in the Mythtv package?

Did som testing.

XMMS set to Alsa and SoundDevice to "Default"
Mythfrontend set to: Alsa:default

Start playing a song in xmms and then watch a recording/livetv in mythfrontend works.
Reverse the order, and xmms complains: "Could not open sounddevice".

:?

Offline

#10 2005-04-22 18:21:00

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 481

Re: No alsa support in the Mythtv package?

Well, that's very interesting. What window manager are you using?

You may want to recompile mythtv with JACK or ARTS support, and try running through that instead.

Offline

#11 2005-04-23 19:52:52

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 133

Re: No alsa support in the Mythtv package?

Window manager? I guess Metacity since I use gnome  wink
But I have KDE installed as well.

Never experimented with Jack though.
Better or worse than Alsa? or do they complement eachother?

Offline

#12 2005-04-26 08:32:51

johnw
Member
From: London
Registered: 2005-03-22
Posts: 13

Re: No alsa support in the Mythtv package?

I had this quite a bit from the pacman package but the source build worked fne. I haven't tried the new one from today.

Offline

Board footer

Powered by FluxBB