Guest User

Untitled

a guest
Dec 16th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. static int ps3_audio_write(SWORD *pbuf, size_t nr)
  2. {
  3. if (nr == 0)
  4. return 0;
  5.  
  6. // Audioport requires 256 frames of audio at a time.
  7.  
  8. if (nr >= (AUDIO_BLOCK_SAMPLES * AUDIO_CHANNELS))
  9. {
  10. CellAudio->write(pbuf, nr);
  11. }
  12. return 0;
  13. }
Add Comment
Please, Sign In to add comment