\r
if(embedded_audio_)\r
{ \r
- auto frame_audio = core::audio_32_to_16(frame->audio_data()); \r
+ auto frame_audio = core::audio_32_to_24(frame->audio_data()); \r
encode_hanc(reinterpret_cast<BLUE_UINT32*>(reserved_frames_.front()->hanc_data()), frame_audio.data(), frame->audio_data().size()/format_desc_.audio_channels, format_desc_.audio_channels);\r
\r
blue_->system_buffer_write_async(const_cast<uint8_t*>(reserved_frames_.front()->image_data()), \r
\r
void encode_hanc(BLUE_UINT32* hanc_data, void* audio_data, size_t audio_samples, size_t audio_nchannels)\r
{ \r
- const auto sample_type = AUDIO_CHANNEL_16BIT | AUDIO_CHANNEL_LITTLEENDIAN;\r
+ const auto sample_type = AUDIO_CHANNEL_24BIT | AUDIO_CHANNEL_LITTLEENDIAN;\r
const auto emb_audio_flag = blue_emb_audio_enable | blue_emb_audio_group1_enable;\r
\r
hanc_stream_info_struct hanc_stream_info;\r
</paths>\r
<channels>\r
<channel>\r
- <video-mode>NTSC</video-mode>\r
+ <video-mode>PAL</video-mode>\r
<consumers>\r
- <system-audio></system-audio>\r
<bluefish>\r
<embedded-audio>true</embedded-audio>\r
</bluefish>\r
- <screen></screen>\r
</consumers>\r
</channel>\r
</channels>\r