[mythtv-users] MythMusic, HDMI, and WriteAudio: buffer underrun
Steven Adeff
adeffs.mythtv at gmail.com
Wed Feb 3 18:51:29 UTC 2010
On Wed, Feb 3, 2010 at 1:37 PM, Steven Adeff <adeffs.mythtv at gmail.com> wrote:
> On Sat, Jan 30, 2010 at 6:37 PM, Steven Adeff <adeffs.mythtv at gmail.com> wrote:
>> On Thu, Jan 28, 2010 at 3:17 PM, Steven Adeff <adeffs.mythtv at gmail.com> wrote:
>>> Hello all!
>>>
>>> so I've got this new system connected via HDMI. Everything with it
>>> works except MythMusic, which when set to "default" for the audio
>>> output shows this in the logs:
>>> 2010-01-28 15:13:29.060 AO: Using resampler. From: 44100 to 48000
>>> 2010-01-28 15:13:29.061 Opening audio device 'hdmi'. ch 2(2) sr 48000
>>> (reenc 0)
>>> 2010-01-28 15:13:29.061 Opening ALSA audio device 'hdmi'.
>>> 2010-01-28 15:13:30.662 WriteAudio: buffer underrun
>>>
>>> and randomly plays a quick "1/2 second" burst of the track.
>>> So I'm wondering, do I have to do something with the asound.conf like
>>> many people do, or since it seems to be working, am I missing some
>>> other setting I need to change?
>>
>> bumping, I can't seem to figure out why normal tv and videos play the
>> audio fine but music has this issue?
>> anyone have any idea what's going on?
>
> ok, in case anyone else has this issue, here's where it came form:
> Utilities/Setup > Setup > General > Audio System (4th page)
> Check Advanced Audio Configuration on, Check Override SRC quality on,
> and set the Sample Rate Conversion to Disabled
> apparently Myth's builtin sample rate conversion is broken with some
> combination of what I am trying to do (FLAC/MP3 playback via hdmi)
>
> then, I also have this in my /etc/asound.conf
oops....
pcm.hdmi_hw {
type hw
card 0 # <----- Put your card number here
device 3 # <----- Put your device number here
}
pcm.hdmi_formatted {
type plug
slave {
pcm hdmi_hw
rate 48000
channels 2
}
}
pcm.hdmi_music {
type softvol
slave.pcm hdmi_formatted
control.name hdmi_volume
control.card 0
}
and I use
ALSA:hdmi_music
as my music playback device.
--
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/index.php/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette -
http://www.mythtv.org/wiki/index.php/Mailing_List_etiquette
More information about the mythtv-users
mailing list