1
0
mirror of https://github.com/thes3m/XNI synced 2024-12-26 13:26:06 +01:00
Matej Jan 2adbc50363 Song support added.
git-svn-id: http://xni.googlecode.com/svn/XNI@53 ac433895-eea3-a490-d80a-17149a75e588
2011-01-18 15:00:30 +00:00

31 lines
656 B
Objective-C

//
// SongReader.m
// XNI
//
// Created by Matej Jan on 18.1.11.
// Copyright 2011 Retronator. All rights reserved.
//
#import "SongReader.h"
#import "Retronator.Xni.Framework.Content.h"
#import "Retronator.Xni.Framework.Media.h"
#import "Retronator.Xni.Framework.Content.Pipeline.Processors.h"
#import "Retronator.Xni.Framework.Content.Pipeline.Audio.h"
#import "SongContent+Internal.h"
#import "Song+Internal.h"
@implementation SongReader
- (id) readFromInput:(ContentReader *)input into:(id)existingInstance {
SongContent *content = input.content;
Song *song = [[[Song alloc] initWithUrl:content.url] autorelease];
return song;
}
@end