diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-06-02 19:23:31 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-06-02 19:23:31 +0200 |
commit | 15af1ef566b2aa2ddb820b34c5ea65e6ef3ee65b (patch) | |
tree | b61718c4ecd32e97dc2c81ab7bb7f16e7f3e68a0 /plugins/tta | |
parent | 014b9c5ee33ca1c35c2097ea1c00c20f5fe25dba (diff) |
fixed tta seeking and gapless playback
Diffstat (limited to 'plugins/tta')
-rw-r--r-- | plugins/tta/ttaplug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/tta/ttaplug.c b/plugins/tta/ttaplug.c index 3775efa0..87d78f8b 100644 --- a/plugins/tta/ttaplug.c +++ b/plugins/tta/ttaplug.c @@ -167,7 +167,8 @@ tta_seek_sample (DB_fileinfo_t *_info, int sample) { return -1; } - info->currentsample = sample; + info->currentsample = sample + info->startsample; + info->remaining = 0; _info->readpos = sample / _info->samplerate; return 0; } |