Skip to content

Commit

Permalink
Version 2.032
Browse files Browse the repository at this point in the history
24.04.24
Rebuild x86/x64 VS2022/MT for release
Version 2.032
  • Loading branch information
leadedge committed May 24, 2024
1 parent c64b5bf commit 78c85d8
Show file tree
Hide file tree
Showing 20 changed files with 22 additions and 5 deletions.
1 change: 1 addition & 0 deletions SpoutDX/source/SpoutCommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// Optional _#define legacyOpenGL_ to enable legacy draw functions
//


/*
Thanks and credit to Malcolm Bechard, the author of this file
https://github.com/mbechard
Expand Down
1 change: 1 addition & 0 deletions SpoutDX/source/SpoutCopy.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
Functions to manage pixel data copy
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down
1 change: 1 addition & 0 deletions SpoutDX/source/SpoutCopy.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
SpoutCopy.h
Functions to manage pixel buffer copying
Expand Down
1 change: 1 addition & 0 deletions SpoutDX/source/SpoutDX.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//
//
// SpoutDX
//
// Sender and receiver for DirectX applications
Expand Down
1 change: 1 addition & 0 deletions SpoutDX/source/SpoutDX.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
SpoutDX.h
Sender and receiver for DirectX applications
Expand Down
1 change: 1 addition & 0 deletions SpoutDX/source/SpoutDirectX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// spoutDirectX.cpp
//
//
// Functions to manage DirectX11 texture sharing
//
// ====================================================================================
Expand Down
1 change: 1 addition & 0 deletions SpoutDX/source/SpoutDirectX.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
spoutDirectX.h
Functions to manage DirectX 11 texture sharing
Expand Down
1 change: 1 addition & 0 deletions SpoutDX/source/SpoutFrameCount.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//
//
// SpoutFrameCount
//
// Semaphore frame counter
Expand Down
1 change: 1 addition & 0 deletions SpoutDX/source/SpoutFrameCount.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
SpoutFrameCount.h
Frame counting management
Expand Down
1 change: 1 addition & 0 deletions SpoutDX/source/SpoutSenderNames.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
SpoutSenderNames.cpp
Spout sender management
Expand Down
1 change: 1 addition & 0 deletions SpoutDX/source/SpoutSenderNames.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
spoutSenderNames.h
Spout sender management
Expand Down
1 change: 1 addition & 0 deletions SpoutDX/source/SpoutSharedMemory.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/**
http://www.codeproject.com/Articles/835818/Ultimate-Shared-Memory-A-flexible-class-for-interp
SpoutSharedMemory.cpp
Expand Down
1 change: 1 addition & 0 deletions SpoutDX/source/SpoutSharedMemory.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
SpoutSharedMemory.h
Thanks and credit to Malcolm Bechard the author of this class
Expand Down
3 changes: 2 additions & 1 deletion SpoutDX/source/SpoutUtils.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
SpoutUtils
Utility functions
Expand Down Expand Up @@ -2122,7 +2123,7 @@ namespace spoututils {

// Add combo box items
if (comboitems.size() > 0) {
for (int i = 0; i<comboitems.size(); i++) {
for (int i = 0; i<(int)comboitems.size(); i++) {
SendMessageA(hCombo, (UINT)CB_ADDSTRING, (WPARAM)0, (LPARAM)comboitems[i].c_str());
}
// Display an initial item in the selection field
Expand Down
1 change: 1 addition & 0 deletions SpoutDX/source/SpoutUtils.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
SpoutUtils.h
General utility functions
Expand Down
Binary file modified binaries/SPOUTCAM/SpoutCam32/SpoutCam32.ax
Binary file not shown.
Binary file modified binaries/SPOUTCAM/SpoutCam64/SpoutCam64.ax
Binary file not shown.
Binary file removed lib/x64/Debug/SpoutDX.idb
Binary file not shown.
8 changes: 5 additions & 3 deletions source/cam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,9 @@
30.12.23 Rebuild x86/x64 VS2022/MT for release
Version 2.031
09.01.24 SpoutDX::ReadPixelData wait for command completion using FlushWait
Version 2.032
23.05.24 SpoutDX::ReadPixelData - RGBA and BGRA texture data to BGR pixels default, RGB for swap
Version 2.033
24.04.24 Rebuild x86/x64 VS2022/MT for release
Version 2.032
*/

Expand Down Expand Up @@ -342,7 +342,7 @@ CUnknown * WINAPI CVCam::CreateInstance(LPUNKNOWN lpunk, HRESULT *phr)
// Console window
// OpenSpoutConsole(); // Empty console
// EnableSpoutLog(); // Show error logs
// EnableSpoutLogFile("SpoutCamDX_2023");
// EnableSpoutLogFile("SpoutCamDX_2022");
// SpoutLog("SpoutCamDX ~ Vers 2.032\n");

// For clear options dialog for scaled display
Expand Down Expand Up @@ -702,6 +702,7 @@ void CVCamStream::SetFps(DWORD dwFps)

void CVCamStream::SetResolution(DWORD dwResolution)
{

switch(dwResolution) {

//<==================== VS-START ====================>
Expand All @@ -716,6 +717,7 @@ void CVCamStream::SetResolution(DWORD dwResolution)
unsigned int width, height;
HANDLE sharehandle;
DWORD format;

if (receiver.GetSenderInfo(g_SenderName, width, height, sharehandle, format))
{
// If not fixed to the a selected resolution, use the sender width and height
Expand Down
2 changes: 1 addition & 1 deletion source/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#define _VER_MAJORVERSION_STRING L"2"

#define _VER_MINORVERSION 1
#define _VER_MINORVERSION_STRING L"033"
#define _VER_MINORVERSION_STRING L"032"

#define _VER_BUGFIXVERSION 0
#define _VER_BUGFIXVERSION_STRING L"0"
Expand Down

0 comments on commit 78c85d8

Please sign in to comment.