• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Play sound .aac

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am developing an application and I need to execute a file type sound. aac,

I run mp3 files

Player p1;
p1 = Manager.createPlayer(getClass().getResourceAsStream("/name_file.mp3"), "audio/mp3");
p1.realize();
p1.start();

I run wav files

Player p1;
p1 = Manager.createPlayer(getClass().getResourceAsStream("/name_file.wav"), "audio/x-wav");
p1.realize();
p1.start();

But I can not run aac files as follows

Player p1;
p1 = Manager.createPlayer(getClass().getResourceAsStream("/name_file.aac"), "audio/x-aac");
p1.realize();
p1.start();

My phone is a Nokia N85, and from the menu of my phone lets me
play sound files. aac is therefore evident that the phone allows playback of such files.

I appreciate any help or clue.

Greetings.

 
reply
    Bookmark Topic Watch Topic
  • New Topic