Reading an aduio file from arduino due giving errors

I am trying to read a saved audio file from the sd card card connected to arduino due .I have used this code
#include <SD.h>
#include <SPI.h>
#include <Audio.h>

void setup()
{
// debug output at 9600 baud
Serial.begin(9600);

// setup SD-card
Serial.print(“Initializing SD card…”);
if (!SD.begin(10)) {
Serial.println(" failed!");
return;
}
Serial.println(" done.");
// hi-speed SPI transfers
SPI.setClockDivider(10);

// 44100Khz stereo => 88200 sample rate
// 100 mSec of prebuffering.
Audio.begin(88200, 100);
}

void loop()
{
int count=0;

// open wave file from sdcard
File myFile = SD.open(“Aiman.wav”);
if (!myFile) {
// if the file didn’t open, print an error and stop
Serial.println(“error opening test.wav”);
while (true);
}

const int S=1024; // Number of samples to read in block
short buffer~~;~~
~~ Serial.print(“Playing”);~~
~~ // until the file is not finished~~
~~ while (myFile.available()) {~~
~~ // read from the file into buffer~~
~~ myFile.read(buffer, sizeof(buffer));~~
~~ // Prepare samples~~
~~ int volume = 1024;~~
~~ Audio.prepare(buffer, S, volume);~~
~~ // Feed samples to audio~~
~~ Audio.write(buffer, S);~~
~~ // Every 100 block print a ‘.’~~
~~ count++;~~
~~ if (count == 100) {~~
~~ Serial.print(".");~~
~~ count = 0;~~
~~ }~~
~~ }~~
~~ myFile.close();~~
~~ Serial.println(“End of file. Thank you for listening!”);~~
~~ while (true) ;~~
}
But i am getting these errors
WARNING: library Audio claims to run on [sam] architecture(s) and may be incompatible with your current board which runs on [avr] architecture(s).
In file included from C:\Users\StudAdmin\Documents\Arduino\libraries\Audio\src/Audio.h:16:0,
from aiman.ino:4:
C:\Users\StudAdmin\Documents\Arduino\libraries\Audio\src/DAC.h:21:17: error: expected ‘)’ before ‘*’ token
DACClass ( Dacc*_dac, uint32_t _dacId, IRQn_Type _isrId) :
^
C:\Users\StudAdmin\Documents\Arduino\libraries\Audio\src/DAC.h:35:2: error: ‘Dacc’ does not name a type
Dacc *dac;
^
C:\Users\StudAdmin\Documents\Arduino\libraries\Audio\src/DAC.h:37:2: error: ‘IRQn_Type’ does not name a type
IRQn_Type isrId;
^
C:\Users\StudAdmin\Documents\Arduino\libraries\Audio\src/DAC.h: In member function ‘void DACClass::enableInterrupts()’:
C:\Users\StudAdmin\Documents\Arduino\libraries\Audio\src/DAC.h:31:44: error: ‘isrId’ was not declared in this scope
void enableInterrupts() { NVIC_EnableIRQ(isrId); };
^
C:\Users\StudAdmin\Documents\Arduino\libraries\Audio\src/DAC.h:31:49: error: ‘NVIC_EnableIRQ’ was not declared in this scope
void enableInterrupts() { NVIC_EnableIRQ(isrId); };
^
C:\Users\StudAdmin\Documents\Arduino\libraries\Audio\src/DAC.h: In member function ‘void DACClass::disableInterrupts()’:
C:\Users\StudAdmin\Documents\Arduino\libraries\Audio\src/DAC.h:32:45: error: ‘isrId’ was not declared in this scope
void disableInterrupts() { NVIC_DisableIRQ(isrId); };
^
C:\Users\StudAdmin\Documents\Arduino\libraries\Audio\src/DAC.h:32:50: error: ‘NVIC_DisableIRQ’ was not declared in this scope
void disableInterrupts() { NVIC_DisableIRQ(isrId); };
^
In file included from aiman.ino:4:0:
C:\Users\StudAdmin\Documents\Arduino\libraries\Audio\src/Audio.h: In member function ‘virtual size_t AudioClass::write(uint8_t)’:
C:\Users\StudAdmin\Documents\Arduino\libraries\Audio\src/Audio.h:25:82: warning: no return statement in function returning non-void [-Wreturn-type]
virtual size_t write(uint8_t c) { /* not implemented */ };
^
Error compiling.
I have downloaded sd card , audio libraries and using teensy 3.1 as board.
Thanks in advance.

why my post is getting a cut line that is so annoying

Because you didn't use code tags.

This thread has 4869 views - clearly, yours is not one of them.

Thank you for your reply. we are new to arduino platform kindly let us know what do you mean by code tags?

Did you read the post I linked to?