[marble] [Bug 372843] New: Voice navigation improperly configured for audio output (Instructions passed to phonon instead of file URL)
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Wed Nov 23 17:42:28 UTC 2016
https://bugs.kde.org/show_bug.cgi?id=372843
Bug ID: 372843
Summary: Voice navigation improperly configured for audio
output (Instructions passed to phonon instead of file
URL)
Product: marble
Version: unspecified
Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: marble-bugs at kde.org
Reporter: rinaldorexg at gmail.com
Target Milestone: ---
Overview:
Instead of audio file url, the instruction is being passed to the phonon output
and this makes it not play the voice instructions.
I think this is actually a feature bug which directly hinders the voice
navigation ability of marble.
Build date: Today, on Linux. (Compiled from source in GitHub, KDE/marble -
master branch)
Bug location:
For your notice,
https://github.com/KDE/marble/blob/master/src/plugins/render/routing/AudioOutput.cpp
This is the source file where the potential bug resides. In line 87 as of now.
For convenience,
void AudioOutputPrivate::playInstructions()
{
setupAudio();
if ( m_output ) {
m_output->enqueue( QUrl::fromLocalFile( m_voiceNavigation.instruction()
) );
m_output->play();
}
}
VoiceNavigation.cpp gives not the url, but the instruction as per the
definition in
https://github.com/KDE/marble/blob/master/src/lib/marble/routing/VoiceNavigationModel.cpp
- line 407 as of now.
QString VoiceNavigationModel::instruction() const
{
return d->m_announcementText;
}
Expected output: Audio instructions need to played as per directions.
Current output: None. Audio doesn't play because audio file url is not
received. Only instruction is received as such.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Marble-bugs
mailing list