ankidroid/Anki-Android — pull request #188 by chajadan (2014-02-24 12:13:26+00:00)
Title: Correct question audio repeat, by deck options.

Audio no longer stripped from {{FrontSide}} expansion, to allow user to replay at will. The previous attempt at this exposed an issue where audio from the front side would be repeated regardless of how the deck options were set. This change repeats the front side audio only if the deck options say to.

The code was refactored in the Sound class, to separate expansion of embedded sounds files (which accept data from both sides of a card at once sometimes) and the list of sounds to be played.