Click here to Skip to main content
15,890,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWriting data to the sound card Pin
Tony Pottier20-Apr-09 2:39
Tony Pottier20-Apr-09 2:39 
AnswerRe: Writing data to the sound card Pin
CPallini20-Apr-09 2:53
mveCPallini20-Apr-09 2:53 
GeneralRe: Writing data to the sound card Pin
Tony Pottier20-Apr-09 3:12
Tony Pottier20-Apr-09 3:12 
GeneralRe: Writing data to the sound card Pin
CPallini20-Apr-09 3:16
mveCPallini20-Apr-09 3:16 
GeneralRe: Writing data to the sound card Pin
Tony Pottier20-Apr-09 3:34
Tony Pottier20-Apr-09 3:34 
QuestionRe: Writing data to the sound card Pin
Divyang Mithaiwala20-Apr-09 3:22
Divyang Mithaiwala20-Apr-09 3:22 
AnswerRe: Writing data to the sound card Pin
Tony Pottier20-Apr-09 3:35
Tony Pottier20-Apr-09 3:35 
GeneralRe: Writing data to the sound card Pin
molesworth20-Apr-09 5:44
molesworth20-Apr-09 5:44 
Tony_P wrote:
Well I was trying to write a MP3 player I could easily port to the Nintendo DS by going very low level (ie: fwrite to the sound card). But well, if can't speak directly with the sound device I guess this isn't going to work.


Anything like an "fwrite to the sound card" just plain isn't going to work. Sound cards, like graphics cards, require data to be passed in the right way, and to the right buffer addresses etc, which is why there are drivers and APIs to help you do this.

I'm a game audio programmer, working on PC at the moment, but I've written systems for most consoles in the past - unfortunately not for the DS, so I can't give you specific advice, but it too will have a specific API which is how you should send the audio data and control information to the hardware.

In fact a quick google turns up lots of hits for DS homebrew audio (e.g. here) and the interface looks pretty simple. You should be able to get sounds up and running reasonably quickly using that.

There are three kinds of people in the world - those who can count and those who can't...

QuestionIncrement string value in VC++ 6.0 Pin
diptipanchal20-Apr-09 2:37
diptipanchal20-Apr-09 2:37 
AnswerRe: Increment string value in VC++ 6.0 Pin
N a v a n e e t h20-Apr-09 2:40
N a v a n e e t h20-Apr-09 2:40 
GeneralRe: Increment string value in VC++ 6.0 Pin
diptipanchal20-Apr-09 19:34
diptipanchal20-Apr-09 19:34 
AnswerRe: Increment string value in VC++ 6.0 Pin
Tony Pottier20-Apr-09 2:41
Tony Pottier20-Apr-09 2:41 
AnswerRe: Increment string value in VC++ 6.0 Pin
Cedric Moonen20-Apr-09 2:47
Cedric Moonen20-Apr-09 2:47 
QuestionRe: Increment string value in VC++ 6.0 Pin
CPallini20-Apr-09 2:51
mveCPallini20-Apr-09 2:51 
AnswerRe: Increment string value in VC++ 6.0 Pin
Rajesh R Subramanian20-Apr-09 3:33
professionalRajesh R Subramanian20-Apr-09 3:33 
GeneralRe: Increment string value in VC++ 6.0 Pin
Jim Crafton20-Apr-09 10:46
Jim Crafton20-Apr-09 10:46 
GeneralRe: Increment string value in VC++ 6.0 Pin
CPallini20-Apr-09 10:57
mveCPallini20-Apr-09 10:57 
GeneralRe: Increment string value in VC++ 6.0 Pin
Jim Crafton20-Apr-09 10:58
Jim Crafton20-Apr-09 10:58 
AnswerRe: Increment string value in VC++ 6.0 Pin
bulg20-Apr-09 6:35
bulg20-Apr-09 6:35 
QuestionTo find all information related to a particular software in registry with the help of file using c++ Pin
Satish Jagtap20-Apr-09 1:38
Satish Jagtap20-Apr-09 1:38 
AnswerRe: To find all information related to a particular software in registry with the help of file using c++ Pin
CPallini20-Apr-09 1:49
mveCPallini20-Apr-09 1:49 
GeneralRe: To find all information related to a particular software in registry with the help of file using c++ Pin
Satish Jagtap20-Apr-09 2:05
Satish Jagtap20-Apr-09 2:05 
GeneralRe: To find all information related to a particular software in registry with the help of file using c++ Pin
Rajesh R Subramanian20-Apr-09 2:15
professionalRajesh R Subramanian20-Apr-09 2:15 
AnswerRe: To find all information related to a particular software in registry with the help of file using c++ Pin
_AnsHUMAN_ 20-Apr-09 1:56
_AnsHUMAN_ 20-Apr-09 1:56 
Questionhow to determen if win key exist on keyboard Pin
josip cagalj20-Apr-09 0:21
josip cagalj20-Apr-09 0:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.