4 |
* * |
* * |
5 |
* Copyright (C) 2003,2004 by Benno Senoner and Christian Schoenebeck * |
* Copyright (C) 2003,2004 by Benno Senoner and Christian Schoenebeck * |
6 |
* Copyright (C) 2005-2009 Christian Schoenebeck * |
* Copyright (C) 2005-2009 Christian Schoenebeck * |
7 |
* Copyright (C) 2009-2015 Christian Schoenebeck and Grigor Iliev * |
* Copyright (C) 2009 Christian Schoenebeck and Grigor Iliev * |
8 |
|
* Copyright (C) 2016 Christian Schoenebeck * |
9 |
* * |
* * |
10 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
11 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
90 |
info.ChannelsPerFrame = pRgn->pSample->Channels; |
info.ChannelsPerFrame = pRgn->pSample->Channels; |
91 |
info.FrameSize = pRgn->pSample->FrameSize; |
info.FrameSize = pRgn->pSample->FrameSize; |
92 |
info.BytesPerSample = pRgn->pSample->BitDepth / 8; |
info.BytesPerSample = pRgn->pSample->BitDepth / 8; |
93 |
info.TotalSampleCount = pRgn->pSample->SamplesTotal; |
info.TotalSampleCount = (int)pRgn->pSample->SamplesTotal; |
94 |
|
|
95 |
Sample::PlaybackState playbackState; |
Sample::PlaybackState playbackState; |
96 |
playbackState.position = SampleOffset; |
playbackState.position = SampleOffset; |