Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Permission denied on dev/snd/dsp?

Permission denied on dev/snd/dsp?

All your problems with Audio, Video and Images.

Permission denied on dev/snd/dsp?

Postby Oceansoul » Tue Jan 19, 2010 5:48 pm

Hi there,

I am absolutely new to Android. Just installed the SDK and NDK and tried to write (after Hello World) my first lib. So I wrote a java-wrapper class and a native c lib. And that works well so far.
Now I wanted to access the audio device. Intention is to get an audio stream.

I looked into Android´s AudioHardwareGeneric class for info and found that there they access dev/eac (which I have not in my file structure). So I tried with

Code: Select all
::open("dev/snd/dsp", O_RDWR, 0666);


But I always get errno 13 -> permission denied.

Can anybody help me there? How can I access the audio device? Or what am I generally doing wrong (must be something :))?

Thanks.

Oceansoul
Oceansoul
Freshman
Freshman
 
Posts: 3
Joined: Tue Jan 19, 2010 5:40 pm

Top

Postby Oceansoul » Mon Jan 25, 2010 9:41 am

So nobody has an idea about this? Is noone else working with the audio hardware, using NDK?
Or did I not give enough info?

Oceansoul
Oceansoul
Freshman
Freshman
 
Posts: 3
Joined: Tue Jan 19, 2010 5:40 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 4 guests