/**
 * Appcelerator Titanium Mobile
 * Copyright (c) 2009-2010 by Appcelerator, Inc. All Rights Reserved.
 * Licensed under the terms of the Apache Public License
 * Please see the LICENSE included with this distribution for details.
 * 
 * WARNING: This is generated code. Modify at your own risk and without support.
 */
#ifdef USE_TI_MEDIA

#import "TiProxy.h"
#import "TiFile.h"
#import <AVFoundation/AVAudioPlayer.h>

@interface TiMediaSoundProxy : TiProxy<AVAudioPlayerDelegate> 
{
@private
	NSURL *url;
	TiFile *tempFile;
	AVAudioPlayer * player;
	BOOL paused;
	BOOL looping;
	CGFloat volume;
	CGFloat resumeTime;
    UInt32 sessionMode;
}

@property (nonatomic,readwrite,assign) NSNumber *volume;
@property (nonatomic,readonly) NSURL *url;

@property (nonatomic,readwrite,assign) NSNumber *looping;
@property (nonatomic,readwrite,assign)  NSNumber *paused;
@property (nonatomic,readonly) NSNumber *playing;

@property (nonatomic,readonly) NSNumber *duration;
@property (nonatomic,readwrite,assign) NSNumber *time;
@property (nonatomic,readwrite,assign) NSNumber *audioSessionMode;

@end


#endif