160 * |
160 * |
161 * @since S60 9.2 |
161 * @since S60 9.2 |
162 * @param aUri URI of the item |
162 * @param aUri URI of the item |
163 * @param aType the mime type of the item |
163 * @param aType the mime type of the item |
164 * @param aAccessPoint the access point |
164 * @param aAccessPoint the access point |
165 */ |
165 * @param aPosition the starting position |
166 void InitStreamingL(const TDesC& aUri, const TDesC8& aType, TInt aAccessPoint); |
166 */ |
|
167 void InitStreamingL(const TDesC& aUri, const TDesC8& aType, TInt aAccessPoint, TInt aPosition); |
167 |
168 |
168 /** |
169 /** |
169 * Initializes a file handle for playback. |
170 * Initializes a file handle for playback. |
170 * |
171 * |
171 * @since S60 9.2 |
172 * @since S60 9.2 |
172 * @param aFile file handle of a file |
173 * @param aFile file handle of a file |
173 * @param aAccessPoint the access point |
174 * @param aAccessPoint the access point |
174 */ |
175 * @param aPosition the starting position |
175 void InitStreamingL(RFile& aFile, TInt aAccessPoint); |
176 */ |
|
177 void InitStreamingL(RFile& aFile, TInt aAccessPoint, TInt aPosition); |
176 |
178 |
177 /** |
179 /** |
178 * Initializes filename and handle |
180 * Initializes filename and handle |
179 * |
181 * |
180 * @since S60 9.2 |
182 * @since S60 9.2 |
181 * @param aUri URI of the item |
183 * @param aUri URI of the item |
182 */ |
184 */ |
183 RFile& OpenFileHandleL( const TDesC& aUri ); |
185 RFile& OpenFileHandleL( const TDesC& aUri ); |
184 |
186 |
185 /** |
187 /** |
186 * Open file handle |
188 * Open file handle |
187 * |
189 * |
188 * @since S60 9.2 |
190 * @since S60 9.2 |
189 * @param aUri URI of the item |
191 * @param aUri URI of the item |
190 * @param aFile a 32-bit file handle |
192 * @param aFile a 32-bit file handle |
191 */ |
193 */ |
192 void OpenFileHandleL( const TDesC& aUri, RFile& aFile ); |
194 void OpenFileHandleL( const TDesC& aUri, RFile& aFile ); |
193 |
195 |
194 /** |
196 /** |
195 * Handle open file handle |
197 * Checks if the Uri is a streaming link |
196 * |
198 * |
197 * @since S60 9.2 |
199 * @since S60 9.2 |
198 * @param aError open file error |
200 * @param aUri URL or file name |
199 */ |
201 */ |
200 void HandleOpenFileHandleL( TInt aError ); |
202 void CheckForStreamingUrlL( const TDesC& aUri ); |
201 |
203 |
202 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
204 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
203 |
205 |
204 /* |
206 /* |
205 * Initializes a song for playback |
207 * Initializes a song for playback |
206 * @param aFile RFile64 of a song |
208 * @param aFile RFile64 of a song |
207 */ |
209 * @param aPosition the starting position |
208 void Initialise64L( RFile64& aFile ); |
210 */ |
|
211 void Initialise64L( RFile64& aFile, TInt aPosition ); |
209 |
212 |
210 /** |
213 /** |
211 * Initializes a file handle for playback. |
214 * Initializes a file handle for playback. |
212 * |
215 * |
213 * @since S60 9.2 |
216 * @since S60 9.2 |
214 * @param aFile RFile64 of a file |
217 * @param aFile RFile64 of a file |
215 * @param aAccessPoint the access point |
218 * @param aAccessPoint the access point |
216 */ |
219 * @param aPosition the starting position |
217 void InitStreaming64L(RFile64& aFile, TInt aAccessPoint); |
220 */ |
|
221 void InitStreaming64L( RFile64& aFile, TInt aAccessPoint, TInt aPosition ); |
218 |
222 |
219 /** |
223 /** |
220 * Initializes filename and handle |
224 * Initializes filename and handle |
221 * |
225 * |
222 * @since S60 9.2 |
226 * @since S60 9.2 |
230 * @since S60 9.2 |
234 * @since S60 9.2 |
231 * @param aUri URI of the item |
235 * @param aUri URI of the item |
232 * @param aFile a 64-bit file handle |
236 * @param aFile a 64-bit file handle |
233 */ |
237 */ |
234 void OpenFileHandle64L( const TDesC& aUri, RFile64& aFile ); |
238 void OpenFileHandle64L( const TDesC& aUri, RFile64& aFile ); |
235 |
239 |
236 #endif // SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
240 #endif // SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
|
241 |
|
242 |
|
243 /* |
|
244 * Initializes a clip for playback |
|
245 * @since S60 9.2 |
|
246 * |
|
247 * @param aSong the song path, |
|
248 * @param aPosition the starting position |
|
249 */ |
|
250 void InitialiseWithPositionL( const TDesC& aSong, TInt aPosition = 0 ); |
|
251 |
|
252 /** |
|
253 * Initializes a song for playback. |
|
254 * |
|
255 * @since S60 9.2 |
|
256 * @param aFile file handle of a song |
|
257 * @param aPosition the starting position |
|
258 */ |
|
259 void InitialiseWithPositionL(RFile& aSong, TInt aPosition = 0 ); |
237 |
260 |
238 |
261 |
239 private: |
262 private: |
240 /* |
263 /* |
241 * C++ default constructor |
264 * C++ default constructor |