LinHES Forums http://forums.linhes.org/ |
|
MythMusic vs ALSA problems http://forums.linhes.org/viewtopic.php?f=2&t=2436 |
Page 1 of 1 |
Author: | myronaub [ Fri Sep 17, 2004 10:09 am ] |
Post subject: | MythMusic vs ALSA problems |
I just bought a new USB sound card (Creative Audigy 2 NX) and I'm trying to use it with MythMusic on KnoppMyth R4V4. It turns out that the Audigy has a sample rate problem -- it wants everything in 48000 Hz, not the 44100 Hz that most of my music is stored in. After quite a bit of effort, I finally got that problem licked using ALSA. Now, when I play a WAV file using aplay, the ALSA driver automatically converts the sample rate and the music sounds fine. However, when I try to use MythMusic, it still sounds horrible -- it's obviously suffering from the 44100/48000 problem but I can't figure out how to fix it. The only thing I know to change is the "Audio output device" setting in the "General" setup area. However, MythMusic is ignoring that setting. I can put totally bogus values in that box and MythMusic still sounds the same -- no error messages at all. Is there a way to make MythMusic use ALSA or at least go through ALSA's OSS emulation? What does the "Audio output device" setting do? Anyone have any suggestions or should I just return my Audigy? -- Myron |
Author: | myronaub [ Fri Sep 24, 2004 8:56 am ] |
Post subject: | Got it. |
Thanks for the help, everyone. I got it working, in case you're interested. There were a number of things involved. The first thing was a patch, posted to the mythtv-dev mailing list on 6/4/2003 that enables ALSA support in MythMusic 0.15.1. You can find it here: http://www.gossamer-threads.com/lists/m ... 0112#10112 Next, libmythmusic.so had to be recompiled. Since KnoppMyth does not have the necessary packages installed by default to recompile MythTV, a lot of downloading, upgrading and cursing was required (mostly using apt-get). After that, I discovered that downloading the latest QT development packages broke the QT MySQL libraries somehow so mythbackend wouldn't even start. Why? Dunno. So, after saving my work and reinstalling, I had a working vanilla KnoppMyth system again. After copying my new libmythmusic.so file and my new ALSA/modules configuration files into place, I was ready to try again. (NOTE: "reinstalling" actually took a few dozen tries -- "manual install" does NOT install a working KnoppMyth system and "auto install" cannot NOT reformat your hard drive. That makes it challenging to save your music/files during a reinstall.) Lastly, since the "Audio output device" setting doesn't change MythMusic, I found out that you have to run a SQL command to change the setting in the MySQL database. To do that, run: $ mysql -u root mythconverg mysql> UPDATE settings SET data='ALSA:default' WHERE value = 'AudioDevice'; So now I have a working KnoppMyth box with a Creative Audigy 2 NX USB audio card playing Ogg Vorbis files through an optical connection to my receiver. It sounds fantastic -- no hiss, no distortion. Hopefully the MythTV guys will include this patch in the next version of MythMusic so I won't have to jump through these hoops again. |
Author: | Xsecrets [ Fri Sep 24, 2004 12:40 pm ] |
Post subject: | |
well just wanted to let you know now that you have already finished the install method you were looking for was autoupgrade. it will do a fresh install, but leave hda1 ( the myth partition where video and music files live) alone. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |