This repository has been archived by the owner on May 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Audio extract -- extract audo clip to MP3 file while playing media file #198
Open
kashwy
wants to merge
8
commits into
mpc-hc:develop
Choose a base branch
from
kashwy:Audio_Extract
base: develop
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
37859e2
add support for grabbing audio when playing video file
kashwy cb8b88f
modified head info
kashwy ae6b2d8
change the lame out dir same as other projects
kashwy dc3c217
fix head info. commented out the wave part of record
kashwy 60b2d0b
fixed the indent (clsid == CLSID_InfTee;), change TAB to sapce
kashwy 8d32ed8
Add option page for configuration of MP3 parameters
kashwy e0e56bd
removed low bit rates
kashwy 5c3c7b1
compiled Binary
kashwy File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
/.git-rewrite | ||
/.vs | ||
/bin | ||
/bin15 | ||
/bin17 | ||
/build.user.bat | ||
/contrib/[Aa][Ss]tyle.exe | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/* | ||
|
||
* (C) 2017 see Authors.txt | ||
* | ||
* This file is part of MPC-HC. | ||
* | ||
* MPC-HC is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* MPC-HC is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
*/ | ||
|
||
// A custom interface to allow the user to modify audio | ||
// encoder properties | ||
#ifndef __IWAVTRANSFERPERTIES__ | ||
#define __IWAVTRANSFERPERTIES__ | ||
#include "INITGUID.H" | ||
|
||
|
||
DEFINE_GUID(IID_IWavTransferProperties, 0x51618802, 0x5d86, 0x4738, 0x83, 0x7f, 0x82, 0xad, 0x24, 0x30, 0x42, 0xe4); | ||
|
||
interface __declspec(uuid("51618802-5D86-4738-837F-82AD243042E4")) | ||
IWavTransferProperties : | ||
public IUnknown | ||
{ | ||
|
||
STDMETHOD(AddBuffer) (THIS_ | ||
LPWAVEHDR pwh, UINT cbwh | ||
) PURE; | ||
// Enable/disable PES output | ||
STDMETHOD(EnablePreview) (THIS_ | ||
bool bpPreview | ||
) PURE; | ||
STDMETHOD(set_2Bytes) (THIS_ | ||
bool b2Bytes | ||
) PURE; | ||
|
||
STDMETHOD(GetCurrentLastTime) (THIS_ | ||
REFERENCE_TIME *pTime | ||
) PURE; | ||
STDMETHOD(SetCurrentLastTime) (THIS_ | ||
REFERENCE_TIME pTime | ||
) PURE; | ||
STDMETHOD(SetBufferEvent) ( | ||
|
||
) PURE; | ||
// Get target compression bitrate in Kbits/s | ||
|
||
}; | ||
|
||
|
||
|
||
#endif | ||
|
||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inconsistent indent