[AVR] [vs1003] play wav & wma

Status
Not open for further replies.

seyed mohsen hoseini

Newbie level 4
Joined
Dec 24, 2014
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
31
Hi All,
I got to play "mp3" files, but the format "wav" or "wma" I can not play.

Code:
while(count<512)
    {
        if((VS1003B_PIN & (1<<VS1003B_DREQ))!=0 )	//send data  honoring DREQ
		    {
			    for(j=0;j<32;j++)			//32 Bytes each time
					{
						VS1003B_WriteDAT(buffer[count]);
						count++;
					}
					
			}
        
    }
pf_read(buffer,512, &s1);
count=0;
 }

The pin VS1003B_DREQ is always active.

micro : atmega8
mmc lib: pff.h
 

Just do not understand the problem.
But my problem was solved.
I think I was not prioritized functions.
:roll:
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…