A655 and IMedia - won't stop looping | developer.brewmp.com A655 and IMedia - won't stop looping | developer.brewmp.com

Developer

A655 and IMedia - won't stop looping

Forums:

Has anyone had any experience with the A655?

My application plays a PMD sound buffer upon launch using IMEDIA.
On the A650 I have no problems, however on the A655, the sound continues to loop for some strange reason.

The IMedia notify function receives MM_STATUS_START and MM_STATUS_TICK_UPDATE, I never seem to recieve MM_STATUS_DONE or MM_STATUS_REPEAT.

Has anyone seen anything like this on other phones?

I see that there is a known issue that A650 does not support IMEDIA_GetTotalTime() for PMD or QCELP files...our PMDs are actually just wrappers around QCELP files so they will play through the speaker....

Hey there,
We are having the same type of problem but this is with .mid tone. It works fine on the 650 and the 670 but when we put the same build on the A655 it does not stop at all. We are also having some problems with getting the downloaded tones (mid) to show up in the OEM interface. I was wondering if you found any solution to your problem. Or if anyone else is haveing these issues.
Thanks,
Tom

Hey there,
We are having the same type of problem but this is with .mid tone. It works fine on the 650 and the 670 but when we put the same build on the A655 it does not stop at all. We are also having some problems with getting the downloaded tones (mid) to show up in the OEM interface. I was wondering if you found any solution to your problem. Or if anyone else is haveing these issues.
Thanks,
Tom

No, I haven't figured this one out yet. Will let you know if I find anything.
Are you playing your .mid tone from a buffer or file? My next step was to try from a file and see if that is any different....

No, I haven't figured this one out yet. Will let you know if I find anything.
Are you playing your .mid tone from a buffer or file? My next step was to try from a file and see if that is any different....

ps. Here is how I am initiating the playing of the sound
AEEMediaData m_md;
m_pBufferP.assumeDataFrom(pBuf);
m_md.pData = m_pBufferP.data;
m_md.dwSize = m_pBufferP.used;
m_md.clsData = MMD_BUFFER;
if(m_pIMedia)
{
IMEDIA_Release(m_pIMedia);
m_pIMedia = NULL;

nReturn = ISHELL_CreateInstance( m_pIShell, AEECLSID_MEDIAPMD,
(void **)&m_pIMedia );
if(m_pIMedia)
{
IMEDIA_SetVolume(m_pIMedia, m_volume);
IMEDIA_SetMediaData( m_pIMedia, &m_md);
IMEDIA_RegisterNotify(m_pIMedia, AudioManager::IMEDIA_Notify, this);
IMEDIA_Play(m_pIMedia);

ps. Here is how I am initiating the playing of the sound
AEEMediaData m_md;
m_pBufferP.assumeDataFrom(pBuf);
m_md.pData = m_pBufferP.data;
m_md.dwSize = m_pBufferP.used;
m_md.clsData = MMD_BUFFER;
if(m_pIMedia)
{
IMEDIA_Release(m_pIMedia);
m_pIMedia = NULL;

nReturn = ISHELL_CreateInstance( m_pIShell, AEECLSID_MEDIAPMD,
(void **)&m_pIMedia );
if(m_pIMedia)
{
IMEDIA_SetVolume(m_pIMedia, m_volume);
IMEDIA_SetMediaData( m_pIMedia, &m_md);
IMEDIA_RegisterNotify(m_pIMedia, AudioManager::IMEDIA_Notify, this);
IMEDIA_Play(m_pIMedia);

gscott@digitalo wrote:ps. Here is how I am initiating the playing of the sound
AEEMediaData m_md;
m_pBufferP.assumeDataFrom(pBuf);
m_md.pData = m_pBufferP.data;
m_md.dwSize = m_pBufferP.used;
m_md.clsData = MMD_BUFFER;
if(m_pIMedia)
{
IMEDIA_Release(m_pIMedia);
m_pIMedia = NULL;

nReturn = ISHELL_CreateInstance( m_pIShell, AEECLSID_MEDIAPMD,
(void **)&m_pIMedia );
if(m_pIMedia)
{
IMEDIA_SetVolume(m_pIMedia, m_volume);
IMEDIA_SetMediaData( m_pIMedia, &m_md);
IMEDIA_RegisterNotify(m_pIMedia, AudioManager::IMEDIA_Notify, this);
IMEDIA_Play(m_pIMedia);

Did you find the solution? I have the same problem.

gscott@digitalo wrote:ps. Here is how I am initiating the playing of the sound
AEEMediaData m_md;
m_pBufferP.assumeDataFrom(pBuf);
m_md.pData = m_pBufferP.data;
m_md.dwSize = m_pBufferP.used;
m_md.clsData = MMD_BUFFER;
if(m_pIMedia)
{
IMEDIA_Release(m_pIMedia);
m_pIMedia = NULL;

nReturn = ISHELL_CreateInstance( m_pIShell, AEECLSID_MEDIAPMD,
(void **)&m_pIMedia );
if(m_pIMedia)
{
IMEDIA_SetVolume(m_pIMedia, m_volume);
IMEDIA_SetMediaData( m_pIMedia, &m_md);
IMEDIA_RegisterNotify(m_pIMedia, AudioManager::IMEDIA_Notify, this);
IMEDIA_Play(m_pIMedia);

Did you find the solution? I have the same problem.