Playing sounds with ASND and AESND October 18, 2010 03:49PM | Registered: 14 years ago Posts: 25 |
Re: Playing sounds with ASND and AESND October 18, 2010 03:59PM | Admin Registered: 15 years ago Posts: 5,132 |
Re: Playing sounds with ASND and AESND October 18, 2010 06:04PM | Registered: 14 years ago Posts: 25 |
Re: Playing sounds with ASND and AESND October 18, 2010 06:59PM | Registered: 15 years ago Posts: 276 |
pFmt.sample_channel * pFmt.sample_count * pFmt.sample_byte
Re: Playing sounds with ASND and AESND October 18, 2010 10:18PM | Registered: 14 years ago Posts: 25 |
Re: Playing sounds with ASND and AESND October 18, 2010 10:37PM | Registered: 15 years ago Posts: 175 |
Re: Playing sounds with ASND and AESND October 18, 2010 10:40PM | Registered: 14 years ago Posts: 25 |
Re: Playing sounds with ASND and AESND October 18, 2010 10:41PM | Registered: 13 years ago Posts: 29 |
Quote
the_marioga
Hi, i do this but it doesnt hear, the wav file is PCM 16bit stereo
Re: Playing sounds with ASND and AESND October 18, 2010 10:43PM | Registered: 14 years ago Posts: 25 |
int wavPlayer(const char* file) { pFmt.start=-1; pFmt.end=-1; void *buf = LoadPCMWav(file, &pFmt); s32 voice = ASND_GetFirstUnusedVoice(); if (buf) { if (ASND_SetVoice(voice, VOICE_STEREO_16BIT, pFmt.sample_rate,0, buf, pFmt.sample_channel * pFmt.sample_count * pFmt.sample_byte, 255, 255, NULL) == SND_OK) { ASND_PauseVoice(voice, 0); } else { return 0; } } else { return 0; } return 1; }
Re: Playing sounds with ASND and AESND October 23, 2010 04:39PM | Registered: 13 years ago Posts: 1 |
Re: Playing sounds with ASND and AESND October 23, 2010 08:25PM | Registered: 14 years ago Posts: 552 |
Re: Playing sounds with ASND and AESND October 23, 2010 09:03PM | Registered: 14 years ago Posts: 25 |
Re: Playing sounds with ASND and AESND October 23, 2010 10:48PM | Registered: 14 years ago Posts: 552 |
Re: Playing sounds with ASND and AESND October 25, 2010 11:04AM | Registered: 14 years ago Posts: 25 |
Re: Playing sounds with ASND and AESND October 25, 2010 05:24PM | Registered: 14 years ago Posts: 552 |