[mythtv-commits] Ticket #4365: mythmusic cannot play .wav files
MythTV
mythtv at cvs.mythtv.org
Tue Dec 25 23:01:46 UTC 2007
#4365: mythmusic cannot play .wav files
---------------------------------------------------------+------------------
Reporter: Boleslaw Ciesielski <bolek-mythtv at curl.com> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythmusic | Version: head
Severity: medium | Mlocked: 0
---------------------------------------------------------+------------------
mythmusic does not seem to play common PCM .wav files (as ripped from a CD
for instance). I tracked it down to this code in avfDecoder::initialize():
{{{
// Determine the output format
// Given we are outputing to a sound card, this will always
// be a PCM format
fmt = guess_format("audio_device", NULL, NULL);
if (!fmt)
return FALSE;
}}}
It seems that there is no output format registered with the name
"audio_device", so guess_format() returns NULL and we get the early
return.
The attached hack patch "fixes" it for me, although it most certainly is
not the right solution.
This may be related or duplicate of #4285.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4365>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list