volume

How to resize volume on EC2 - CentOS?

故事扮演 提交于 2019-12-11 08:54:26
问题 I created EMR on AWS and ssh to a name node. Noticed there was a space issue and increased volume in AWS console from 200GB -> 500GB. Then rebooted instance and it is showing that there is no change: df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda1 197G 187G 3.1M 100% / tmpfs 32G 0 32G 0% /dev/shm cm_processes 32G 0 32G 0% /var/run/cloudera-scm-agent/process Tried to check partitions and this is what is showing: lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 500G 0 disk

How to mute other flash objects on the page with ActionScript or Javascript?

匆匆过客 提交于 2019-12-11 08:49:25
问题 Is there any way to mute other flash objects on the same page with ActionScript or Javascript? I can understand if this would be a security issue but my flash does have a user-initiated mode which takes over the screen and I was hoping this might be an exception where it's clear it has full priority for the user. 回答1: Exposing internal controls in a Flash movie is up to the programmer who writes it. If they haven't exposed an external mute/volume control and have documented it, you're out of

IPhone audio: Volume faint ( but okay with headphones )

◇◆丶佛笑我妖孽 提交于 2019-12-11 07:45:38
问题 I'm getting unexpected audio behaviour: problem -- iPhone device volume is very faint, but if I plug in headphones the volume is perfect firstly, start app on iPhone the with nothing plugged in. Audio works, but it is so faint, really as if it was on minimum volume. but it is on maximum volume. now I plug in headphones. full volume. great! unplug headphones. Go to (2) It doesn't matter whether I start with the headphones plugged in or not. It seems to be an unrelated problem EDIT: this

Is Android capable of managing microphone/input volume?

寵の児 提交于 2019-12-11 03:50:48
问题 I've searched everywhere, including the RootTools source. I can't find anything that manages the microphone, apart from muting it altogether. And there are no hints inside the AudioRecorder.setMicrophoneMute(bool) method either... There are a few posts about this issue, but none of them ever go anywhere (through no fault of OPs'). Is it (legally) possible to override the OS and get to the mic hardware directly or something? Thanks, -tre 回答1: You can't directly set the recording volume, but

using System.Speech.Synthesis with Windows10 universal app (XAML-C#)

╄→гoц情女王★ 提交于 2019-12-11 03:43:29
问题 I tried to use the SpeechSynthesizer from System.Speech.Synthesis because it seems more comprehensive than the one I used before (Windows.Media.SpeechSynthesis) : I want to be able to set the volume, the gender of the voice, ... Besides, the french prononciation has some bugs, so I wanted to check if System.Speech was better. I added the reference, but the Build gives this error and I can't fix it : Cannot find type System.MarshalByRefObject in module CommonLanguageRuntimeLibrary. 回答1: There

How do I reverse my sound volume math for my volume slider?

倖福魔咒の 提交于 2019-12-10 20:54:16
问题 I'm building a video player and am kinda stuck at the volume slider part. It's a YouTube style vertical slider, meaning if the slider is in the top position volume should be 100% and if the slider is dragged to the bottom position sound should be 0. Currently it's doing the opposite of what I want :( Dragging the slider down will make the sound louder, while dragging up lowers it. Here is my code below dealing with the volume slider. // Sound Controller Settings ······························

AVAudioPlayer: volume buttons work on some devices and not others

久未见 提交于 2019-12-10 19:11:07
问题 I have an app that uses AVAudioPlayer to play some embedded MP3 files. The volume buttons work reliably on the 3GS I mostly use for testing -- they worked under 4.1 and work now after upgrading to 4.3.1. On my boss's iPhone 4 running 4.2.1, they don't seem to work in our app at at all; and on the iPod Touch (also running 4.2.1) that's my secondary test machine, I've been able to get them to work once but can't reproduce how I did it. I tried a hack I found, creating a dummy AVAudioPlayer at

Control the computer's volume in C#

故事扮演 提交于 2019-12-10 18:56:50
问题 Is there a way to control the computer's actual volume in C# and display that in a vertical track bar?? I have tried practically everything, but there must be something I am missing. Thanks. 回答1: Have you tried using the winmm.dll library through p/Invoke? That's what this article recommends: http://www.dreamincode.net/forums/topic/45693-controlling-sound-volume-in-c%23/ He's (strangely) licensed his code with GPL, so I can't post it here. But it is pretty basic and simply calls various mixer

Adding s3 bucket as docker volume

会有一股神秘感。 提交于 2019-12-10 14:12:42
问题 I have one spring boot application which is in our internal data center, which process files from a specific folder on the host. we wanted to deploy this to aws and wanted to use s3 bucket to upload files for processing. is there any way we can add s3 bucket space as docker volume? 回答1: No docker volume is for mounting drives on the machine (https://docs.docker.com/storage/volumes/) You can use the S3 api to manage your bucket from the docker container (https://docs.aws.amazon.com/AmazonS3

How do I get the value of a slider to update in real-time?

元气小坏坏 提交于 2019-12-10 13:08:03
问题 I have an HTML video tag with a customized control bar and in it I want both the seek bar and volume bar to update their values in real-time as the user scrubs through the range. Currently the volume updates after the user adjusts the slider and not while the user is clicking-and-dragging. In HTML I have them set up as such: <div id="video-controls"> // ... <input type="range" id="seek-bar" value="0"> <input type="range" id="volume-bar" min="0" max="1" step="0.01" value="1"> // ... </div> And