diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-06-01 22:25:44 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-06-01 22:25:44 +0200 |
commit | 014b9c5ee33ca1c35c2097ea1c00c20f5fe25dba (patch) | |
tree | 5eab73a2b1fb18f1afec1ee529aa1913ecc022b4 /plugins/tta | |
parent | b30dc1e305dffa390ec4fd99ccd3ec7c3b9c2782 (diff) |
tta: fixed seek table pos calculation
Diffstat (limited to 'plugins/tta')
-rw-r--r-- | plugins/tta/ttadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/tta/ttadec.c b/plugins/tta/ttadec.c index 6610acf7..38b58fbf 100644 --- a/plugins/tta/ttadec.c +++ b/plugins/tta/ttadec.c @@ -383,7 +383,7 @@ static void seek_table_init (unsigned int *seek_table, int set_position (tta_info *info, unsigned int _pos) { // pos: seek position = seek_time_ms / SEEK_STEP // int pos = _pos / SEEK_STEP * 1000 / info->SAMPLERATE; - int pos = _pos / info->framelen; + int pos = _pos / info->FRAMELEN; unsigned int seek_pos; if (pos >= info->fframes) return 0; |