fixed y2r doc and added csnd pan/vol ranges
This commit is contained in:
parent
bf7d686e88
commit
894d5342a1
@ -147,6 +147,10 @@ void CSND_SetCapRegs(u32 capUnit, u32 flags, u32 addr, u32 size);
|
|||||||
Result CSND_SetDspFlags(bool waitDone);
|
Result CSND_SetDspFlags(bool waitDone);
|
||||||
Result CSND_UpdateInfo(bool waitDone);
|
Result CSND_UpdateInfo(bool waitDone);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param vol The volume, ranges from 0.0 to 1.0 included
|
||||||
|
* @param pan The pan, ranges from -1.0 to 1.0 included
|
||||||
|
*/
|
||||||
Result csndPlaySound(int chn, u32 flags, u32 sampleRate, float vol, float pan, void* data0, void* data1, u32 size);
|
Result csndPlaySound(int chn, u32 flags, u32 sampleRate, float vol, float pan, void* data0, void* data1, u32 size);
|
||||||
|
|
||||||
void csndGetDspFlags(u32* outSemFlags, u32* outIrqFlags); // Requires previous CSND_UpdateInfo()
|
void csndGetDspFlags(u32* outSemFlags, u32* outIrqFlags); // Requires previous CSND_UpdateInfo()
|
||||||
|
@ -233,7 +233,7 @@ Result Y2RU_GetTransferEndEvent(Handle* end_event);
|
|||||||
* @param src_buf A pointer to the beginning of your Y data buffer.
|
* @param src_buf A pointer to the beginning of your Y data buffer.
|
||||||
* @param image_size The total size of the data buffer.
|
* @param image_size The total size of the data buffer.
|
||||||
* @param transfer_unit Specifies the size of 1 DMA transfer. Usually set to 1 line. This has to be a divisor of image_size.
|
* @param transfer_unit Specifies the size of 1 DMA transfer. Usually set to 1 line. This has to be a divisor of image_size.
|
||||||
* @param transfer_unit Specifies the gap (offset) to be added after each transfer. Can be used to convert images with stride or only a part of it.
|
* @param transfer_gap Specifies the gap (offset) to be added after each transfer. Can be used to convert images with stride or only a part of it.
|
||||||
*
|
*
|
||||||
* This specifies the Y data buffer for the planar input formats (INPUT_YUV42*_INDIV_*).
|
* This specifies the Y data buffer for the planar input formats (INPUT_YUV42*_INDIV_*).
|
||||||
* The actual transfer will only happen after calling @ref Y2RU_StartConversion.
|
* The actual transfer will only happen after calling @ref Y2RU_StartConversion.
|
||||||
@ -245,7 +245,7 @@ Result Y2RU_SetSendingY(const void* src_buf, u32 image_size, u16 transfer_unit,
|
|||||||
* @param src_buf A pointer to the beginning of your Y data buffer.
|
* @param src_buf A pointer to the beginning of your Y data buffer.
|
||||||
* @param image_size The total size of the data buffer.
|
* @param image_size The total size of the data buffer.
|
||||||
* @param transfer_unit Specifies the size of 1 DMA transfer. Usually set to 1 line. This has to be a divisor of image_size.
|
* @param transfer_unit Specifies the size of 1 DMA transfer. Usually set to 1 line. This has to be a divisor of image_size.
|
||||||
* @param transfer_unit Specifies the gap (offset) to be added after each transfer. Can be used to convert images with stride or only a part of it.
|
* @param transfer_gap Specifies the gap (offset) to be added after each transfer. Can be used to convert images with stride or only a part of it.
|
||||||
*
|
*
|
||||||
* This specifies the U data buffer for the planar input formats (INPUT_YUV42*_INDIV_*).
|
* This specifies the U data buffer for the planar input formats (INPUT_YUV42*_INDIV_*).
|
||||||
* The actual transfer will only happen after calling @ref Y2RU_StartConversion.
|
* The actual transfer will only happen after calling @ref Y2RU_StartConversion.
|
||||||
|
Loading…
Reference in New Issue
Block a user